Page 1 of 2
Firmware made my disk slow?

Posted:
Sat Dec 10, 2016 3:37 pm
by Walburga
Dear,
I installed the fvdw-sl firmware version 16-1 on my lacie-cloudbox.
But I have the feeling that I am loosing connection now and than?
If upload a file on the drive it has a maximum upload speed of 11MB, and from time to time it goes to 0 (it looks like it looses the connection).
Yesterday I tried to watch a movie from my HDD (streaming via a Raspberry 2 OSMC) and from time to time the movie froze and OSMC shut it down. I never had this with the lacie firmware.
Maybe I did something wrong or did I oversee something in the installation?
P.S. This aside, thanks for creating this firmware! I mean lacie doesn't give any option after a system failure and you do. So thanks for this! And also, thanks for making it rather easy to install it on a disk, the guidelines are very easy to follow!
Re: Firmware made my disk slow?

Posted:
Sat Dec 10, 2016 4:50 pm
by fvdw
Hi, an upload speed of 11 MB/s is rather low unless it are many small files you are uploading. If it is a big file you should be able to get at least 20 MB/s.
Download speed will be higher and should be more then enough to stream a movie.
There is one thing that can slow down transfer that is if you have multiple task runnung on your cloudbox or more then 1 user is active on same time. Also twonky mediaserver can slow down performance when it is building its database and you have a large number of media files on your nas. But after building the database this should be no longer hamper performance.
It seems something is keeping your nas busy.
You could connect via ssh (putty) and give command "top" at the linux command line to see what keeps your nas busy. It will show cpu and memory use per active application
Re: Firmware made my disk slow?

Posted:
Mon Dec 12, 2016 7:59 am
by Walburga
The 'Top' command didn't reveal anything.
The cloudbox is doing nothing, so it has to be the network. I'm going to analyse it more...
Thanks for the tip though!
Re: Firmware made my disk slow?

Posted:
Mon Dec 12, 2016 9:31 am
by Jocko
Hi Walburga,
Please to post this command
- Code: Select all
ps euxf
Re: Firmware made my disk slow?

Posted:
Mon Dec 12, 2016 7:46 pm
by Walburga
This is the output of your command. I don't see anything 'strange' about it?
- Code: Select all
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S Nov16 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S Nov16 0:22 \_ [ksoftirqd]
root 5 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [kworker/0]
root 7 0.0 0.0 0 0 ? S Nov16 0:07 \_ [rcu_preem]
root 8 0.0 0.0 0 0 ? S Nov16 0:00 \_ [rcu_sched]
root 9 0.0 0.0 0 0 ? S Nov16 0:00 \_ [rcu_bh]
root 10 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [khelper]
root 239 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [writeback]
root 241 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [bioset]
root 243 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [kblockd]
root 248 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [ata_sff]
root 259 0.0 0.0 0 0 ? S Nov16 0:00 \_ [khubd]
root 266 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [md]
root 276 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [cfg80211]
root 292 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [rpciod]
root 301 0.0 0.0 0 0 ? S Nov16 1:21 \_ [kswapd0]
root 302 0.0 0.0 0 0 ? S Nov16 0:00 \_ [fsnotify_]
root 303 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [nfsiod]
root 304 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [cifsiod]
root 308 0.0 0.0 0 0 ? S Nov16 0:00 \_ [jfsIO]
root 309 0.0 0.0 0 0 ? S Nov16 0:00 \_ [jfsCommit]
root 310 0.0 0.0 0 0 ? S Nov16 0:00 \_ [jfsSync]
root 311 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [xfsalloc]
root 312 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [xfs_mru_c]
root 313 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [xfslogd]
root 314 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [crypto]
root 435 0.0 0.0 0 0 ? S Nov16 0:09 \_ [scsi_eh_0]
root 436 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [scsi_tmf_]
root 445 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [smflush]
root 453 0.0 0.0 0 0 ? S Nov16 0:00 \_ [spi0]
root 512 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [aoe_tx0]
root 513 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [aoe_ktio0]
root 525 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [raid5wq]
root 527 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [dm_bufio_]
root 528 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [kmpathd]
root 529 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [kmpath_ha]
root 538 0.0 0.0 0 0 ? S Nov16 0:00 \_ [mv_crypto]
root 548 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [ipv6_addr]
root 555 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [deferwq]
root 577 0.0 0.0 0 0 ? S< Nov16 0:30 \_ [kworker/0]
root 579 0.0 0.0 0 0 ? S Nov16 0:00 \_ [kjournald]
root 622 0.0 0.0 0 0 ? S Nov16 0:00 \_ [kjournald]
root 649 0.0 0.0 0 0 ? S< Nov16 0:00 \_ [iscsi_eh]
root 1015 0.0 0.0 0 0 ? S Nov16 0:27 \_ [kjournald]
root 2067 0.0 0.0 0 0 ? S Nov18 0:00 \_ [kworker/u]
root 2128 0.0 0.0 0 0 ? S Nov18 0:07 \_ [kworker/u]
root 2867 0.0 0.0 0 0 ? S 11:52 0:01 \_ [kworker/0]
root 2912 0.0 0.0 0 0 ? S 12:23 0:00 \_ [kworker/0]
root 2922 0.0 0.0 0 0 ? S 12:38 0:00 \_ [kworker/0]
root 1 0.0 0.3 3656 812 ? Ss Nov16 0:01 init HOME
root 608 0.0 0.0 1552 164 ? Ss Nov16 0:00 /usr/sbin/butto
root 765 0.0 0.1 1780 472 ? S<s Nov16 0:00 /sbin/udevd --d
root 1058 0.0 4.4 45396 11160 ? Ss Nov16 0:07 /usr/bin/httpd
root 1062 0.0 0.1 1740 456 ? Ss Nov16 1:00 /usr/sbin/noflu
root 1070 0.0 0.4 6360 1196 ? Ss Nov16 0:04 /usr/sbin/nmbd
root 1073 0.0 0.8 9044 2176 ? Ss Nov16 0:00 /usr/sbin/smbd
root 1074 0.0 0.3 9044 884 ? S Nov16 0:00 \_ /usr/sbin/s
root 2914 0.1 1.2 10100 3024 ? S 12:33 0:00 \_ /usr/sbin/s
root 1087 0.0 0.1 1692 444 ? Ss Nov16 0:00 /usr/bin/discov
root 1094 0.0 0.2 2188 664 ? Ss Nov16 0:00 /usr/bin/rpcbin
root 1111 0.0 0.1 2208 500 ? Ss Nov16 0:00 dropbear -p 22
root 2917 0.4 0.3 2288 896 ? Ss 12:37 0:00 \_ dropbear -p
root 2927 0.0 0.3 3660 884 pts/0 Ss 12:38 0:00 \_ -sh USE
root 2939 3.0 0.4 4460 1008 pts/0 R+ 12:40 0:00 \_ ps
root 1124 0.0 0.1 1684 436 ? Ss Nov16 0:00 /usr/sbin/hostd
root 1281 0.0 0.3 3660 792 ? Ss Nov16 0:00 /bin/sh HOME=/
Re: Firmware made my disk slow?

Posted:
Mon Dec 12, 2016 8:18 pm
by Jocko
It is strange you have two root child processes 'smbd'
You should have only one root child process and as many user processes as opened samba accesses :scratch
So try this
- Code: Select all
killall smbd
/usr/sbin/smbd -D -l /var/log/samba
Re: Firmware made my disk slow?

Posted:
Mon Dec 12, 2016 8:50 pm
by Walburga
Where do you see the second one?
I have a nmdb & a smdb.
Re: Firmware made my disk slow?

Posted:
Mon Dec 12, 2016 8:52 pm
by Jocko
Here:
- Code: Select all
root 1073 0.0 0.8 9044 2176 ? Ss Nov16 0:00 /usr/sbin/smbd
root 1074 0.0 0.3 9044 884 ? S Nov16 0:00 \_ /usr/sbin/s <- 1er
root 2914 0.1 1.2 10100 3024 ? S 12:33 0:00 \_ /usr/sbin/s <-2d
Re: Firmware made my disk slow?

Posted:
Mon Dec 12, 2016 8:58 pm
by Walburga
I ran your command, now there is only 1 left. But if I stream a movie, it's still rather slow.
But I must say, the general reaction of the NAS seems better (browsing through folders & accessing the Web Interface)
Are there more things I could check? Or test?
Re: Firmware made my disk slow?

Posted:
Mon Dec 12, 2016 9:13 pm
by fvdw
What is the speed setting of your ethernet interface and do we see many collision errors on your lan.
Some info we can get from this command
- Code: Select all
ifconfig eth0
and this command
- Code: Select all
ethtool eth0
Ps Streaming is usually less then 1MB/s unless you stream uncompressed hd files. The network interface is normally no problem as it is far below the maximum.
Do you use a wireless connection between your TV and your LAN when streaming, or a wireless connection when uploading a file from your pc. The symptons you describe are typical for a wireless connection suffering from interference