Slow transfer speeds from samba share (SOLVED)

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Sinister

Slow transfer speeds from samba share (SOLVED)

Post by Sinister »

Hi i am having a problem with slow transfer speeds from a samba share through a VPN.

So my setup is that i have an Unraid server 6.5.1 running OpenVpn-as i am able to connect without any issues i can brows shares even connect to the webGUI.

The problem comes when i want to transfer say a 1.4GB file from my remote share to my local linux mint 18.3 cinnamon machine.

the transfer speeds sit between 973 kBs and cap at exactly 1Mb. any file i try to transfer has a painfully long estimated time where as on a windows machine
it transfers in half the time and is way faster i cant accept that 1Mb is the maximum speed it can do on linux mint 18.3.

can anyone shed some light on what i can do to improve this ?. thank you in advance
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12333
Joined: Sun Aug 09, 2015 10:00 am

Re: Slow transfer speeds from samba share

Post by deepakdeshp »

Please paste

Code: Select all

 inxi -Fxz
command output in code tags.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Sinister

Re: Slow transfer speeds from samba share

Post by Sinister »

deepakdeshp wrote: Sun May 20, 2018 3:17 pm Please paste

Code: Select all

 inxi -Fxz
command output in code tags.

Code: Select all

System:    Host: hahussleLinux2 Kernel: 4.13.0-41-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: ASUSTeK model: Z170 PRO GAMING v: Rev X.0x
           Bios: American Megatrends v: 1206 date: 03/07/2016
CPU:       Quad core Intel Core i7-6700K (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 32064
           clock speeds: max: 4200 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz
           4: 800 MHz 5: 800 MHz 6: 800 MHz 7: 800 MHz 8: 800 MHz
Graphics:  Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
           Card-2: NVIDIA GM206 [GeForce GTX 960] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 driver: nvidia
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 960/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Audio:     Card-1 NVIDIA Device 0fba driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Intel Sunrise Point-H HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.0-41-generic
Network:   Card: Intel Ethernet Connection (2) I219-V
           driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2210.5GB (2.4% used)
           ID-1: /dev/sda model: Hitachi_HDT72106 size: 640.1GB
           ID-2: /dev/sdb model: WDC_WD6401AALS size: 640.1GB
           ID-3: /dev/sdc model: ST3250310AS size: 250.1GB
           ID-4: /dev/sdd model: ST500DM002 size: 500.1GB
           ID-5: /dev/sde model: INTEL_SSDSC2BW18 size: 180.0GB
Partition: ID-1: / size: 149G used: 18G (13%) fs: ext4 dev: /dev/sde2
           ID-2: swap-1 size: 17.05GB used: 0.00GB (0%) fs: swap dev: /dev/sde3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:49C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 246 Uptime: 7:50 Memory: 3846.9/15917.6MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
Sinister

Re: Slow transfer speeds from samba share

Post by Sinister »

bump
User avatar
Pippin
Level 4
Level 4
Posts: 441
Joined: Wed Dec 13, 2017 11:14 am
Location: The Shire

Re: Slow transfer speeds from samba share

Post by Pippin »

That is commercial server version ?
Did you try both UDP and TCP, any difference ?
Firewall in Mint is disabled ?

Can you provide log of server @ --verb 4 from start server until client disconnect ?
Same for client.

Substitute private data in logs (use find and replace in text editor).
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
User avatar
Pippin
Level 4
Level 4
Posts: 441
Joined: Wed Dec 13, 2017 11:14 am
Location: The Shire

Re: Slow transfer speeds from samba share

Post by Pippin »

between 973 kBs and cap at exactly 1Mb
Ah, that`s not right.
973 kB/s = ~7.8 Mb/s

Please make sure you state the speeds correctly.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Sinister

Re: Slow transfer speeds from samba share

Post by Sinister »

Pippin wrote: Thu May 24, 2018 6:34 pm
between 973 kBs and cap at exactly 1Mb
Ah, that`s not right.
973 kB/s = ~7.8 Mb/s

Please make sure you state the speeds correctly.
Thank you for your reply i apologize for the inaccuracy i am getting 973kB/s and capping at 1.0MB it will not go any higher.

I am currently in the process of trying TCP just setting it up now and as for verb 4 i dont quite understand as i am still a newbie to some of this
Sinister

Re: Slow transfer speeds from samba share

Post by Sinister »

Just tried with TCP and speeds are actually worse, the firewall in mint is disabled and has always been from the start and no its openvpn access server
Last edited by Sinister on Thu May 24, 2018 7:32 pm, edited 1 time in total.
User avatar
Pippin
Level 4
Level 4
Posts: 441
Joined: Wed Dec 13, 2017 11:14 am
Location: The Shire

Re: Slow transfer speeds from samba share

Post by Pippin »

Ok,

So 1 MB/s would be ~8 Mb/s
Does that come close to your server side upload and/or client side download?
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Sinister

Re: Slow transfer speeds from samba share

Post by Sinister »

Pippin wrote: Thu May 24, 2018 7:30 pm Ok,

So 1 MB/s would be ~8 Mb/s
Does that come close to your server side upload and/or client side download?
Networks are from the same provider and same speeds 200 Mbps down and 10Mbps up
User avatar
Pippin
Level 4
Level 4
Posts: 441
Joined: Wed Dec 13, 2017 11:14 am
Location: The Shire

Re: Slow transfer speeds from samba share

Post by Pippin »

Then there seems nothing badly wrong with speed.
You download with 8 Mb/s and your server upload is 10 Mb/s, that`s 80%, not really bad.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Sinister

Re: Slow transfer speeds from samba share

Post by Sinister »

Pippin wrote: Thu May 24, 2018 7:56 pm Then there seems nothing badly wrong with speed.
You download with 8 Mb/s and your server upload is 10 Mb/s, that`s 80%, not really bad.
Then I thank you sir for taking the time to deal with my ignorance I sincerely thought I should be getting more.
But with that conversion it makes sense will mark this as solved
Locked

Return to “Networking”