I was transferring a file from a (slow) smbd server running on some NAS. The transfer speed is only 1MB/s but the NAS uses 100% CPU. Normally the NAS can handle 60MB/s download (from the NAS). Could it be that the connection uses encryption or something? What could be causing this slow speed? I have internet download speeds over this same connection surpassing 5MB/s. I cannot imagine why something like this would be so slow.
Xen schreef op 07-08-2016 21:43:> The transfer speed is only 1MB/s but the NAS uses 100% CPU. Normally > the NAS can handle 60MB/s download (from the NAS).It took 100% even when the speed was below 100K/bs. It took at least 45 minutes for the transfer to (almost) complete. Of a 2GB file. I restarted the transfer using ftp to the same host over the same (bad) wifi link and the download completed in about 12 minute this time. Not a clue why it is taking so long and asking so much CPU....
Hello, Am 07.08.2016 um 21:43 schrieb Xen:> What could be causing this slow speed?I guess you won't get any help if you don't provide more information. For example: * smb.conf * Samba version * self compiled / distro packages? * hardware * speed rate with other MS OS * etc. Regards, Marc
Marc Muehlfeld schreef op 08-08-2016 7:56:> Hello, > > Am 07.08.2016 um 21:43 schrieb Xen: >> What could be causing this slow speed? > > I guess you won't get any help if you don't provide more information. > For example: > * smb.conf > * Samba version > * self compiled / distro packages? > * hardware > * speed rate with other MS OS > * etc.I was not really asking for troubleshooting (ie., finding new answers) but rather for answers that could already exist. I will need to connect the computer by wire (ie. no wifi) or reboot this one to find more information but this system is running a backup so I'll have to wait for a while. But as I said I have 60MB/s speeds over the wire to some Linux OS. I guess it's not samba though, the second FTP server I tried had the same abysmal speeds as Samba before and it didn't even finish whereas before it finished in 12 minutes; and I went to the wired Linux computer and downloaded the file in mere seconds so to speak, then copied it into SD and loaded it in the wifi computer :p. Well thank you for your interest regardless; I cannot understand why the wifi link to the internet is at least 4-5-6MB/s constantly, and that same wifi link to the local server runs about 3.5MB/s max and that is only in the beginning and then often it goes down to a crawl. But I conntected the stuff together using an old router as a switch so now both are wired. (Not long enough cables lol). The same transfer is now doing about 30-40-50MB/s from that computer. I just don't understand how smbd could have taken up 100% for that almost non-existent transfer. smbd --version = 3.6.9, but it is a Synology build. There is nothing special in smb.conf, but then, apparently it is being caused by the wifi link. [global] winbind enum groups=yes follow symlinks=yes unix extensions=yes encrypt passwords=yes security=user local master=yes realm=* passdb backend=multi:smbpasswd,ldapsam:ldap://localhost printing=cups winbind enum users=yes load printers=yes workgroup=WORKGROUP Nothing special on the share itself. (I took out the LDAP stuff that is irrelevant here). Meaning, I have higher download speeds over Wifi from the internet than I have from the local server. By far. I really have no clue, but thanks.
On 16:18:55 wrote Xen:> Xen schreef op 07-08-2016 21:43: > > The transfer speed is only 1MB/s but the NAS uses 100% CPU. > > Normally the NAS can handle 60MB/s download (from the NAS). > > It took 100% even when the speed was below 100K/bs. It took at least > 45 minutes for the transfer to (almost) complete. Of a 2GB file. I > restarted the transfer using ftp to the same host over the same > (bad) wifi link and the download completed in about 12 minute this > time. > > Not a clue why it is taking so long and asking so much CPU....may be it is protocol related, try: server max protocol = NT1 client max protocol = NT1 The cpu of your nas may have no support for aes encryption. Sign and seal is no the default setting for windows *and* current samba. -- Regards Harry Jede
Hai, My advice would be get a cable tester. Or see if you can loan some cable to test, with what your saying im almost sure you have a bad cable/connector/ethernet port somewhere. And check if you synoligy supports gigabit networks and put in a gigabit swich. Then see if you wifi is still faster then you ethernet. If you model is a 1xx, what happens when you disable https? DSM version is?> But as I said I have 60MB/s speeds over the wire to some Linux OS.Thats for wire also slow in my opinion, if have a "good" setup, you can get the 100-115MB/s over gigabit lines.> Well thank you for your interest regardless;Your welkom...> I cannot understand why the wifi link to the internet is at > least 4-5-6MB/s constantly, and that same wifi link to the local server > runs about 3.5MB/s max and that is only in the beginning and then often it > goes down to a crawl.Pff heres a lot to tell, basicly to much.. Most of the time bad cable. And other pointers, latency, multple devices on the same channel, ( often 1 of 11 ) Wireless phones, microwave, etc all other 2.4Gz devices can interfeer with things. I can get about 12-15Mb/s out of my wif ( 300N ) with tunning, without, about 5-7MB/s ( test this within your lan ) Slow disks.. Not alligned partitions on disk make things slow. Lots of small files make things also slow. Lots of files in 1 folder make things slow. Samba 3.6.9 30-50MB/s is slow also. Which synology, these are limited also.. like .. Some of them have gigabit ethernet, but max speed of 100mbit ethernet. This is often due cpu limitation. In running simalar on a amd-E350 8Gb ram, kodi, 1ssd ( OS + websites and mysql ) 2 3TB 5400 Rpm disk. Data pics mp3 backups etc. Copy speed, in lan 115MB/s so the full gigabit. IF i copy to a large file to an optimized partition. ( min 4MB blocks ) WHEN i copy the same file to my default partition, it drops to about 60-80MB/s ( 4k blocks ) so if you want fast, you need to optimize.. ;-) and get good cables. Greetz, Louis> > But I conntected the stuff together using an old router as a switch so > now both are wired. > > (Not long enough cables lol). > > The same transfer is now doing about 30-40-50MB/s from that computer. > > I just don't understand how smbd could have taken up 100% for that > almost non-existent transfer. > > smbd --version = 3.6.9, but it is a Synology build. > > There is nothing special in smb.conf, but then, apparently it is being > caused by the wifi link. > > [global] > winbind enum groups=yes > follow symlinks=yes > unix extensions=yes > encrypt passwords=yes > security=user > local master=yes > realm=* > passdb backend=multi:smbpasswd,ldapsam:ldap://localhost > printing=cups > winbind enum users=yes > load printers=yes > workgroup=WORKGROUP > > Nothing special on the share itself. (I took out the LDAP stuff that is > irrelevant here). > > Meaning, I have higher download speeds over Wifi from the internet than > I have from the local server. By far. > > I really have no clue, but thanks. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Maybe Matching Threads
- slow speeds with Windows 10
- Speedup windows client [was] What is the maximum speed for download from a samba share
- Help needed for installing MT7601U Linux driver
- What is the maximum speed for download from a samba share
- Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)