Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Slow transfer speed from NAS (SMB, CIFS, SFTP...)

Help for Current Versions of MX
Post Reply
Message
Author
User avatar
WarhawkCZ
Forum Novice
Forum  Novice
Posts: 16
Joined: Fri Sep 21, 2018 2:35 pm

Slow transfer speed from NAS (SMB, CIFS, SFTP...)

#1 Post by WarhawkCZ » Mon Oct 15, 2018 8:52 am

Hello everyone,
I would rather ask before I completely mess something up. I have an old NAS from Synology, model ds209. It is an oldie but satisfies my needs (bit of media & backups).

The problem, I am now dealing with, is extremely slow transfer speed between the NAS and my Linux Machine (MX18.1). I tried different options (SFTP - doublecmd, CIFS-terminal, AFP-thunar, SMB-thunar) but I can't get speeds over 2MB/s. A backup takes ages. I tried wired as well as wireless connection. My router is mikrotik hp AC Lite. Note that I am trying to copy 26 GB file from the internal SSD.

I am on the 100Mbit network only but I am able to achieve about 10 MB/s write speed from my windows 7 machine (normally as a mapped drive, what protocol is this?) which indicates the 100MBit connection bandwidth limit.

I also checked that Tte connection information dialog shows 135 MBit/s speed for the WiFi and 100 Mbit for wired connection. Nothing wrong there..

Does anyone have an idea where to look and what to check?

Code: Select all

System:    Host: ThinkPadt430 Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-17.1_x64 Horizon March 14  2018 
Machine:   Type: Laptop System: LENOVO product: 2349D53 v: ThinkPad T430 serial: <root required> 
           Mobo: LENOVO model: 2349D53 serial: <root required> UEFI [Legacy]: LENOVO 
           v: G1ET91WW (2.51 ) date: 01/09/2013 
Battery:   ID-1: BAT0 charge: 53.4 Wh condition: 56.1/56.2 Wh (100%) 
CPU:       Topology: Dual Core model: Intel Core i7-3520M bits: 64 type: MT MCP 
           L2 cache: 4096 KiB 
           Speed: 1369 MHz min/max: 1200/3600 MHz Core speeds (MHz): 1: 1369 2: 1424 3: 1565 
           4: 1685 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 3.3 Mesa 13.0.6 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Device-1: Intel 82579LM Gigabit Network driver: e1000e 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 28:d2:44:03:ff:29 
           Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi 
           IF: wlan0 state: up mac: 3c:a9:f4:19:19:44 
           IF-ID-1: wwan0 state: down mac: 02:15:e0:ec:01:00 
Drives:    Local Storage: total: 240.31 GiB used: 37.27 GiB (15.5%) 
           ID-1: /dev/mmcblk0 model: SD08G size: 7.42 GiB 
           ID-2: /dev/sda vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB 
Partition: ID-1: / size: 226.23 GiB used: 36.99 GiB (16.4%) fs: ext4 dev: /dev/sda1 
           ID-2: swap-1 size: 2.00 GiB used: 12.8 MiB (0.6%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 55.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 3616 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://nl.mxrepo.com/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/atom.list 
           1: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.cz.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.cz.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://nl.mxrepo.com/mx/repo/ stretch main non-free
           Active apt repos in: /etc/apt/sources.list.d/thinkpads.list 
           1: deb [arch=amd64] https://thinkpads.org/repo/apt/ /
           No active apt repos in: /etc/apt/sources.list.d/various.list 
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb http://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 250 Uptime: 3h 04m Memory: 3.56 GiB used: 1.52 GiB (42.7%) Shell: init 
           inxi: 3.0.25 
Last edited by WarhawkCZ on Mon Oct 15, 2018 9:13 am, edited 1 time in total.
I use Google before asking dumb questions but I am new to Linux. Thank you for your patience :-)

User avatar
male
Forum Regular
Forum Regular
Posts: 294
Joined: Thu Jan 23, 2014 8:38 am

Re: Slow transfer speed from NAS (SMB, CIFS, SFTP...)

#2 Post by male » Mon Oct 15, 2018 10:34 am

trials as an example

Code: Select all

scp -r -p -v  /media/windows male@192.168.178.36:/media/DATEN
and back (if necessary)

Code: Select all

scp -r -p -v male@192.168.178.36:/media/DATEN/windows /media
that means
-r recursive
-v verbose
-p Time stamp of the files is preserved

I did that with 17GB. Duration 26:24 minutes
Male is the capital of the Maldives and its wonderful people.

User avatar
WarhawkCZ
Forum Novice
Forum  Novice
Posts: 16
Joined: Fri Sep 21, 2018 2:35 pm

Re: Slow transfer speed from NAS (SMB, CIFS, SFTP...)

#3 Post by WarhawkCZ » Mon Oct 15, 2018 4:07 pm

Hheh, this is awkward. I tried another machine with Linux Mint (xfce) and the result was same. This was a hint to check on the router.
I switched ports on the router and speed increased to 9MB/s which is again around the 100Mbit maximum.. I did firmware update, reset of everything and now it works with the same configuration like before.

Sometimes, the most effective solution is the simplest one. :footinmouth:
I use Google before asking dumb questions but I am new to Linux. Thank you for your patience :-)

Post Reply

Return to “MX Help”