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

    • BleachBit 6.0.1 Beta by Razvan Serea When your computer is getting full, BleachBit quickly frees disk space. When your information is only your business, BleachBit guards your privacy. With BleachBit you can free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there. Designed for Linux and Windows systems, it wipes clean thousands of applications including Firefox, Microsoft Edge, Google Chrome, Opera, Safari, and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source. BleachBit has many useful features: Delete your private files so completely that "even God can't read them" according to South Carolina Representative Trey Gowdy. Simple operation: read the descriptions, check the boxes you want, click preview, and click delete. Multi-platform: Linux and Windows Free of charge and no money trail Free to share, learn, and modify (open source) No adware, spyware, malware, browser toolbars, or "value-added software" Translated to 64 languages besides American English Shred files to hide their contents and prevent data recovery Shred any file (such as a spreadsheet on your desktop) Overwrite free disk space to hide previously deleted files Portable app for Windows: run without installation Command line interface for scripting and automation CleanerML allows anyone to write a new cleaner using XML Automatically import and update winapp2.ini cleaner files (a separate download) giving Windows users access to 2500+ additional cleaners Frequent software updates with new features Going beyond standard deletion of files, BleachBit has several advanced cleaners: Clear the memory and swap on Linux Delete broken shortcuts on Linux Delete the Firefox URL history without deleting the whole file—with optional shredding Delete Linux localizations: delete languages you don't use. More powerful than localepurge and available on more Linux distributions. Clean APT for Debian, Ubuntu, Kubuntu, Xubuntu, and Linux Mint Find widely-scattered junk such as Thumbs.db and .DS_Store files. Execute yum clean for CentOS, Fedora, and Red Hat to remove cached package data Delete Windows registry keys—often where MRU (most recently used) lists are stored Delete the OpenOffice.org recent documents list without deleting the whole Common.xcu file Overwrite free disk space to hide previously files Vacuum Firefox, Google Chrome, Liferea, Thunderbird, and Yum databases: shrink files without removing data to save space and improve speed Surgically remove private information from .ini and JSON configuration files and SQLite3 databases without deleting the whole file Overwrite data in SQLite3 before deleting it to prevent recovery (optional) BleachBit 6.0.1 Beta release notes: BleachBit 6.0.1 beta is now available for testing. This maintenance-focused release includes bug fixes, updated translations, and a range of safe enhancements. This release fixes a Windows security issue that could allow arbitrary file deletion during privileged cleaning (reported by Zeze with TeamT5). It also adds new cleaners (including a DNS cache cleaner, Claude Code, and Visual Studio Code forks), support for multiple Chrome and Edge profiles, new deep scan options for developer directories like node_modules and venv, and safer, faster file shredding. All Platforms Added cleaners for Claude Code, DNS cache, and many Visual Studio Code forks. Added support for multiple Chrome and Edge profiles. Chrome can now clean downloaded AI models. Deep Scan can optionally remove venv, __pycache__, node_modules, and .angular directories. Deep Scan is faster by skipping directories on the keep list. File shredding is safer, faster, and leaves fewer recoverable traces. Improved handling of cookies, symlinks, Unicode filenames, external processes, and configuration files. Improved Expert Mode warnings and long warning dialogs. Fixed crashes related to cleaner detection, invalid Unicode, and malformed cleaner data. Clipboard is now cleared automatically after shredding files via paste operations. Linux Added AppImage support. Added cleaners for Visual Studio Code, Codeium, Librewolf (.deb), Transmission (Flatpak), and Profanity. Improved Linux trash detection, including Snap-installed applications and mounted drives. Fixed Wayland root CLI issues and several Snap-related problems. Improved package dependencies, AppStream metadata, and desktop file handling. Fixed startup crashes when Python Requests is unavailable. Windows Fixed a security vulnerability that could allow arbitrary file deletion when cleaning with elevated privileges. Added %WindowsSystem% variable support. Improved clipboard clearing using native Windows APIs. Improved installer experience on unsupported Windows versions. Reduced installer size and improved application robustness. Fixed Unicode handling, filename anonymization, Git revision reporting, and splash screen stability. [full release notes] Download: BleachBit 6.0 | Portable | ~20.0 MB (Open Source) View: BleachBit Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • DriversCloud 12.1.6 by Razvan Serea With DriversCloud (formerly My-Config.com), you can explore your computer easily, safely and free. The application quickly scans your PC and identifies the hardware and software components. DriversCloud then establishes a list of the different drivers compatible with your OS and hardware. Download the drivers needed for the proper functioning of your computer. To detect your drivers, DriversCloud also displays a detailed summary of your hardware and software configuration, analyzes your BSOD, monitors in real-time your PC voltages and temperatures and lets you share your configuration online. Once the hardware components have been detected, you will be able to obtain with just a few clicks the latest drivers corresponding to the identified hardware. You can record your configuration on the site for free, and can get the corresponding URL to post the configuration to technical forums, e-mail and social networks. You can also download the detection result (the configuration) as a PDF file. To protect the user's privacy and data confidentiality, a 4-level confidentiality system was created that filters the XML marks and gives control to the user. The default level can be modified in the preferences. Using the maximum level will prevent the user from publishing his configuration and generating a corresponding PDF file. In non-connected mode, each XML configuration is stored on the server for one day (for practical reasons). However, you are given the opportunity to manually delete it. Created in 2004, and continually improved, My-Config.com has established itself on the web as a free service to PC users running Windows and Linux operating systems. The service is designed to work with the most common Internet browsers (Edge, Firefox, Chrome, Safari). Download: DriversCloud 64-bit | 20.0 MB (Freeware) Download: DriversCloud 32-bit | 18.9 MB Link: DriversCloud Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      agatameier earned a badge
      Week One Done
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      189
    3. 3
      PsYcHoKiLLa
      148
    4. 4
      ATLien_0
      96
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!