slow write speed to nas, read fine.


Recommended Posts

So I have recently fired up a synology ds918+ running DSM 6.2-23648 (beta)

 

So when I was running windows I got full speed both up and down from shares 113MBps.. With smb3 multichannel I was seeing 220 up and down.. I have a thread showing this.

 

Well my move to the nas vs windows running on a esxi host has pushed me to move my main desktop to linux.. I will prob only run windows as VM to help users with stuff, etc.  Just because I am stuck with it at work doesn't mean I have to run it at home any more.

 

So running linux mint 18.3.. All was going good until tried to mount my shares..  Seems something odd with latest kern or something and since not using smbv1 had to mount via cmd line, will add to fstab once all working as it should.  So no problem I got my shares mounted and working..

 

sudo mount -t cifs //192.168.9.10/share /home/budman/nas/share -o username=budman,vers=3,uid=budman

 

Copy a large file down and speeds look fine...

 

5ac10f63dc5e7_Screenshotfrom2018-04-0111-56-20.thumb.png.8ef91fd4adc57148efa73cd4af115fe3.png

 

But when pushing a file to the share.. it max out at like 14MBps

 

While I can find all kinds of info about slow speeds, nothing that makes much sense for tweaks to smb.conf and such..  Or specific on changes in how mounting it?

Selection_001.thumb.png.dfa30624de7c2cf77678289661ec8290.png

 

I don't use samba much.. Any suggestions here?  Anyone seen this sort of thing - seems very odd.. Its sure not a disk issue this is running off 860 EVO brand new SSD.. If I boot back to my windows SSD I get full speeds..

 

I move a lot of files back and forth between my nas and pc.. So if can not work this out have to go back to running windows until I do.  I can give NFS a try vs smb... But seems odd linux mint doesn't come with nfs out of the box?

 

edit:  Using file station to upload the file gives me 72MBps... So clearly its something in the in the samba on linux..

 

edit2:  Guess just use NFS... because with that seeing full speed.. WTF??/

 

Link to comment
https://www.neowin.net/forum/topic/1360146-slow-write-speed-to-nas-read-fine/
Share on other sites

  • 2 weeks later...

I was going to suggest NFS - it works better.  I use it for my Kodi box to share with.   Sounds like you solved your problem with speeds at least with that protocol.   I use Linux Mint 18.3 here as my main Distro.  

 

I ran a quick DuckDuckGo search and found some interesting chatter about it from being anything from wifi card being on at same time as the Eth0 to other possible configuration tweaks.   

 

 

Yeah wireless card off..

 

NFS fixed the problem of seeing full speed for gig.. Just makes no sense..

 

Bumped the kern to 4.16 and seeing 60MBps vs the 14..

 

Been looking to how I could get NFS multipath working.. Since with SMB3 multichannel I can see 200+MBps.. with the 2 nics I have both in my pc and the nas..  I hate to say it I might have to roll back to using windows on my PC... Arrggh..

 

I booted windows 10 and bam 114MBps..  Both read and write to the share on the nas.  I had to run out the door for work..  There has been talk of nfs multipath or pNFS for years.  But I can not find any real clear cut guides on getting it to work in a client server sort of setup.  Lots of talk about using it with vmware.  And found some info on getting it to work with client server if running centos, etc.

 

Think just going to bite the bullet and go back to windows..  Also having ###### time with access shares with just browsing in linux mint to the shares.  I have to mount the shares from cmd line.

 

I am happy with the NFS speeds for 1 gig.. But since I have the switch ports and the nics in both the nas and the pc be nice to see the 200 ;)

 

When I get home I will reboot into windows and connect the 2nd nic and enable multichannel on the nas again and see how it goes.. If I get constant 200ish prob just going to stick with windows.. I normally just use linux from cmd line anyway off a vm..  But would of been nice to be fully windows free ;)

Well if I want smb3 multichannel guess I have to stick with windows on the desktop..

 

220MBps just to big of deal for me to overlook

multichannel.thumb.png.d1149a48649aa1be311cd16e0f2c1a42.png

 

write speed to the share is a bit slower - but 177MBps is 60 some percent faster than without the multichannel..  I will have to see if can get that up to 220 if use SSD on the nas and or setup a write cache on that share.  Write to the shr array expect to take a hit vs reading from..

writespeed.thumb.png.eae03401d4af2516ec47103cf6d5a774.png

 

If anyone knows how I can get these speeds using linux as my desktop be it either NFS multipath or SMB multichannel be happy to go back to linux as desktop.

 

  • 5 months later...

Hi BudMan,

 

how do you get that kind of speeds? Even 14 MB/sec would be good for me.

I currently have Mint 18.3 with the latest 4.15 kernel, a DS 414 with SMB configured in fstab, and I never get more than 4 MB/sec write speed. It's like that since a few years with various other distros. In Windows 7 I got 20-30 MB/sec.

Also I never got NFS working, I think there were some issues with user rights.

 

Thanks

What is your connection speed? 20-30MBps is horrible!  Can you run an iperf test between your client and your server.

 

So I am seeing 220 both read and write without any issues on my DS918+ after a bit of redo of my array.  Using just raid 0 with 3x4TB drives..  What version of Samba are you running?  I could for sure boot mint on my desktop and see what I can get to my nas... I know for sure windows 10 does smb3 multichannel without any issues.  And once I fixed up the nics I was having a bit of problems with to a dual port.. Windows 10 doesn't like my built in broadcom on this older dell.  It runs for awhile and then just locks up.

 

DS414 what version of DSM are you runing 6.2.1-23824 is the latest and I show it available for the DS414, what disks do you have and how do you have them configured?

 

I was seeing decent speeds with NFS... but couldn't find how to get any sort of multipath working with it.. So had to bite the bullet and just running windows on my desktop.. It screams 220 both up and down with current config and read/write cache setup on the raid 0 array.

 

Here is a write of 8GB file from my PC to nas

writespeed.thumb.png.70760528f2d376fa32430d8199fa7b49.png

 

When I get home tonight I will grab copy of latest mint and see what I can get..

 

 

 

This topic is now closed to further replies.
  • Posts

    • Sysinternals Suite 2026.17.06 by Razvan Serea The Sysinternals Suite is a comprehensive package of advanced Windows utilities created by Mark Russinovich, who launched the Sysinternals website in 1996 to share his system tools and technical resources. This suite combines a wide range of troubleshooting and diagnostic tools, including Process Explorer, Process Monitor, Sysmon, Autoruns, ProcDump, the PsTools collection, and many others. It provides everything IT professionals and developers need to manage, monitor, and troubleshoot Windows systems and applications. The Suite bundles all of the core troubleshooting utilities along with their help files. Non-troubleshooting extras—such as the BSOD Screen Saver or NotMyFault—are excluded. In addition to the well-known tools, it also includes AccessChk, Autologon, Ctrl2Cap, DiskView, Disk Usage (DU), LogonSessions, PageDefrag, PsLogList, PsPasswd, RegMon, RootkitRevealer, TCPView, VMMap, ZoomIt, and more. Sysinternals Suite 2026.17.06 changelog: Autoruns v14.3 - This update to Autoruns, a utility for monitoring startup items, adds bug fixes and improves the command-line application autorunsc. ZoomIt v12.1 - This update to ZoomIt, a screen magnification and annotation tool, adds image backgrounds, webcam background blur and microphone noise cancellation support. Coreinfo v4.01 - This update to Coreinfo, a tool that reports processor, socket, NUMA memory, and cache topology of a system, as well as processor features supported, adds support for new processor features. DebugView v5.02 - This update to DebugView, a tool for displaying both kernel-mode and Win32 debug output, adds Ctrl-Shift-A support for selecting all output, and agent skills support for the CLI utility. LiveKd v5.64 - This update to LiveKd, a utility that allows running the kernel debugger on a live system, fixes a debugging privileges issue. ProcDump 3.5.2 for Linux - This update to ProcDump for Linux, a tool for capturing process dumps, adds .NET counters and a custom core dumper. Process Monitor v4.04 - This update to Process Monitor, a utility for observing real-time file system, Registry, and process or thread activity, adds some bug fixes Sysmon v15.21 - This update to Sysmon, an advanced host security monitoring tool, adds some bug fixes. Download: Sysinternals Suite 2026.17.06 | 168.0 MB (Freeware) Download: Sysinternals Suite for ARM64 | 15.4 MB Link: Sysinternals Suite Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Given only Volume license customers and specific resellers can obtain the LTSC versions legitimately it seems likely that this has been tinkered with quite a lot!
    • Apple CEO Tim Cook confirms looming price hikes due to memory shortages by Hamid Ganji Image via Apple Memory and chip shortages have led to significant price increases for electronics over the past year, and it seems that more hikes are on the way for upcoming smartphones and computers. Apple CEO Tim Cook has confirmed that the company is planning to increase the prices of some of its products due to the ongoing memory and storage shortages. In an interview with The Wall Street Journal, Cook confirmed the looming price hikes for Apple’s future products, adding that “Unfortunately, price increases are unavoidable.” He also said the company is doing its best to “mitigate the huge increases that are being passed to us, and we’ve been trying to shield our customers from the increases, but the situation has become unsustainable.” The Apple CEO also noted that the allocation of a large portion of memory chips to AI companies has contributed to shortages in the market, resulting in lower supply at a time when demand for devices remains high. “We definitely need memory pricing and supply to return to reasonable levels for consumer products. That’s the bottom line,” Cook said. Cook also added that Apple is ready to use its vast cash reserves to help boost supply in the market because additional production capacity is needed. While he declined to specify how Apple plans to do that, he said the company will not build its own memory and storage factories despite its financial resources and silicon expertise. Cook did not provide further details on the scale of the price increases or which Apple products would be affected, though iPads and Macs could see higher prices sooner than other products. Apple’s next product launch event is scheduled for September, when the company is expected to unveil the iPhone 18 Pro, iPhone 18 Pro Max, and its first foldable iPhone. It remains unclear whether the upcoming iPhones will be affected by the price increases, but given the current memory shortage, higher prices seem increasingly likely. There is currently no clear timeline for the end of the memory shortage. Samsung, one of the world’s three largest memory chip manufacturers, recently said the shortage could persist for several more years.
    • Downloads does not equal actual usage, even less when the app is pre-installed in some Galaxy phones.
    • +1000 to this, don't understand why they added that margin around the top bar, even the close button is a PITA to click without aiming. Ofc, this is just preview and hopefully they will revert such odd UX decision before hitting final version.
  • Recent Achievements

    • One Month Later
      eurospharma62 earned a badge
      One Month Later
    • Week One Done
      With What earned a badge
      Week One Done
    • Week One Done
      Harris Gilbert earned a badge
      Week One Done
    • One Month Later
      Vincian earned a badge
      One Month Later
    • First Post
      Jocimo earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      542
    2. 2
      +Edouard
      167
    3. 3
      PsYcHoKiLLa
      85
    4. 4
      Steven P.
      64
    5. 5
      ATLien_0
      64
  • Tell a friend

    Love Neowin? Tell a friend!