G+_Jason Brown Posted May 21, 2017 Share Posted May 21, 2017 I wanted to bounce this off someone. I have a samba share on a Ubuntu server, with gigabit nics on both ends sending and receiving, and a gigabit switch in between. All drives are non-raid platter on the server, and when I transfer a file from windows explorer from the server to my ssd on my windows box I get 113MB/s, which seems reasonable to me. When I transfer a file to the samba share from windows explorer I only get 80-95MB/s. Is this a read/write issue with the server hard drive maxing out its writing performance? If so the only option I can see is a Raid 0 setup on the server to give me a write performance greater than 100MB/s to over come the single drive write speed. Any thoughts? Thank you. Link to comment Share on other sites More sharing options...
G+_Ben Reese Posted May 21, 2017 Share Posted May 21, 2017 So if I understand correctly, Samba share is on an Ubuntu server with an HDD. Windows has an SSD. Samba share has read/write speeds of 113/95 MBps. First thing that comes to mind is that 113 MBps ~ 900 Mbps and probably the fastest your network can handle. Second thing that comes to mind is that 80-130 MBps is quite possibly the read/write speed limit of your HDD. Yes, RAID-0 (suicide RAID) should increase your write speed, but nobody recommends RAID-0 unless you have really good backups or don't mind losing all the data on both drives. If you can do SSD caching on your Ubuntu server, that would probably help with the write speeds. Link to comment Share on other sites More sharing options...
G+_Ben Tyger Posted May 21, 2017 Share Posted May 21, 2017 Also check to see if your CPU bound. Samba is single threaded. Link to comment Share on other sites More sharing options...
G+_Jason Brown Posted May 21, 2017 Author Share Posted May 21, 2017 Is there a way to add a SSD write cache to ubuntu so that I can write to that over the network in my server and then the cache pushes that data to the platter drives within the server? Seems like that would be a work around with out going to a raid setup. Link to comment Share on other sites More sharing options...
G+_Ben Tyger Posted May 21, 2017 Share Posted May 21, 2017 Jason Brown It could be because there is SMB kernel level acceleration on windows. Linux that's not done because of security implications. Link to comment Share on other sites More sharing options...
G+_Jason Brown Posted May 21, 2017 Author Share Posted May 21, 2017 Any ideas on the write cache server side. Link to comment Share on other sites More sharing options...
G+_Ben Tyger Posted May 21, 2017 Share Posted May 21, 2017 Tried this: coderwall.com - Fix Samba read and write performance issues. (Example) Link to comment Share on other sites More sharing options...
Recommended Posts