[SOLVED] File sharing: Windows vs Mint transfers...

Questions about cabled networking
Forum rules
Before you post please read this

[SOLVED] File sharing: Windows vs Mint transfers...

Postby badtlc on Fri Dec 20, 2013 2:37 pm

I have stumbled across something that is frustrating the heck out of me. Hopefully someone here can help. My network is as follows:

- 100 Mbps switch
- Cat 5e cabling

PC1:
- Linux Mint 16 64-bit Cinnamon
- Intel mobo w/ integrated 1Gbps ethernet
- Intel Core 2 Duo @ 2.3 Ghz
- 2 GB Ram
- 500 GB SATA2 HDD AHCI mode
- EXT4 partitions
- "data" folder shared via usershare

PC2:
- Windows 7 Home Premium 64-bit
- AMD Phenom II quad core @ 3.2 Ghz
- AMD motherboard with integrated Realtek 1Gbps ethernet
- 6 GB of RAM
- 2 TB SATA2 HDD AHCI Mode
- NTFS partitions
- "media" folder shared via windows file sharing with password protection (homegroup disabled)

Scenario 1:
I sit at PC1 which acts as a very basic data server for my home network. When I initiate transfers while sitting at this machine using NEMO it goes as follows:
- Copy a file from PC1 into "media" folder on PC2 (size doesn't matter). Sending speed is about 4.4 MB/s (40 Mbps or so).
- Copy a file from PC2 "media" folder to PC1 (size doesn't matter). Receiving speed is about 5.5 MB/s (50 Mbps or so).
- Using Firefox, downloading large files from PC2's simple HTTP server, transferring 1 file goes around 3.3 MB/s. Transferring 5 large files maxes out the connection at 11.2 MB/s.

Scenario 2:
I set at PC2 which is basically a client on my home network most of the time. When I initiate transfers while sitting at this machine using Windows Explorer it goes as follows:
- Copy a file from PC2 into "data" folder on PC1 (size doesn't matter). Sending speed is 11.2 MB/s (99.7 Mbps or so).
- Copy a file from PC1 "data" folder to PC2 (size doesnt matter). Receiving speed is 11.2 MB/s (99.7 Mbps or so).

Any transfer initiated from PC2 (win7) operates at the proper speed regardless of direction of transfer. Any transfer initiated from PC1 (Mint) goes MUCH slower regardless of direction of transfer. Does this make sense to anyone? Is there a way to get Mint to transfer as fast? I don't understand what would cause these differences.

Thanks for any help.
Last edited by badtlc on Wed Feb 12, 2014 12:06 pm, edited 1 time in total.
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Linux Mint is funded by ads and donations.
 

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Sat Dec 28, 2013 10:35 am

Has anyone else ever seen or heard of anything like this before? It seems so odd nobody has any experience with this phenomenon.
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Sun Dec 29, 2013 12:48 pm

I have done some more testing.

Sitting at PC1 (Mint) and controlling file transfers:
- Single thread file sharing receiving is hard capped at 50 Mbps
- Single thread file sharing sending is hard capped at 40 Mbps
- Mint's CPU usage is around 15-20% either way
- PC2 (win7) CPU usage is 0%

Sitting at PC2 (Win7) transferring at 99.7 Mbps either direction:
- sending or receiving, Mint's CPU usage is less than 10%.
- Win7 CPU usage is around 8%.

Is there any sort of default traffic shaping in Mint?
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby rustguard on Mon Dec 30, 2013 7:57 am

Seems funny, out of curiosity have you ever timmed the transfer of the same file. just thinking linux might say actual speeds and windows maximum speed, as linux might be more honest :lol:
I myself have noticed swapping files from one HDD to anothe is faster in windows than mint. maybe because linux places the file on the drive as opposed to fraging it everywhere? I wouldnt know, but interesting
rustguard
Level 1
Level 1
 
Posts: 32
Joined: Tue Apr 26, 2011 12:40 am

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Mon Dec 30, 2013 5:29 pm

I measure speeds from both computers during the same transfer. Windows and Mint's network speeds read the same during the same transfer. I am getting completely befuddled by this.

It isn't hard to just initiate transfers from the WIn7 machine, but I really like to push items from time to time while working on the Mint machine and now I can't really do that.
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby computerbob on Fri Jan 03, 2014 12:54 am

Your own tests indicate that the computer doing the transfer uses its CPU and not the other one.
PC1 uses a single core CPU with 2 threads. PC2 is a quad core. Big difference and that accounts for the difference.
If Mint were loaded on PC2 and Win7 were loaded on PC1, you'd see the reverse.
computerbob
Level 4
Level 4
 
Posts: 284
Joined: Wed Jan 01, 2014 1:55 pm

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Sat Jan 04, 2014 5:53 pm

computerbob wrote:Your own tests indicate that the computer doing the transfer uses its CPU and not the other one.
PC1 uses a single core CPU with 2 threads. PC2 is a quad core. Big difference and that accounts for the difference.
If Mint were loaded on PC2 and Win7 were loaded on PC1, you'd see the reverse.


I disagree. PC1 is a "dual core" CPU and it is never above 20%. If I use 5+ threads in a simple HTTP server (running on PC2) transfer, it will hit 99+Mbps on the total transfer speed. Why does it take 5+? ugh..

The CPU and memory on PC1 are nowhere near maxed out during the transfers. This seems to be some sort of throttling, traffic shaping or something weird. It makes no sense.
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Sun Jan 05, 2014 12:18 pm

So am I the only one who has ever seen this issue? Everyone else can transfer files from within Mint at 99+ Mbps on a 100 Mbps network?
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Fri Jan 10, 2014 7:55 pm

Just another update. I set up the Mint machine as a WINS server and put it at the top of the hierarchy on the network. No change in speeds from when it was using bcast.

Is there another setup worth trying?
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Sun Jan 12, 2014 2:00 pm

Just some more testing results:

Running iperf server on MINT, client on Win7: ~65 Mbps
Running iperf server on Win7, client on Mint: ~75 Mbps

Does this help anyone? Thanks.
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Mon Jan 13, 2014 8:00 pm

Is there anyone else out there with a win7 and LM16 machine that can verify these results?
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby Don_Pedro on Tue Jan 14, 2014 2:23 am

I had the same problem and I could no resolve it.
And when I transfered Mint15 to Mint15 ood speed at startig and quickly speed decreased to a very slow level.

I tried DUKTO with Mint15 and W 8 . Constant speed worked fine.
But as far as I saw it didnot take all the network speed ability.
Dukto
No configuration
No internet connection required.
No user name and password required.
Recommended for Local Area Network.

http://code.google.com/p/dukto/

Cordially
P.
Mint 16 "Petra", Cinnamon 64-bit 2.0.14 Kernel 3.11.0-12 Dual Boot W7
Toshiba Satellite T135 Intel SU4100 @1.30GHz Ram:4GB DDR3 Intel Mobile 4 Series Chipset Integrated Graphics Controller Firefox/Thunderbird inxi Fxz File
Don_Pedro
Level 3
Level 3
 
Posts: 192
Joined: Sun Jun 23, 2013 11:54 am
Location: Dominican Republic

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Thu Jan 30, 2014 5:35 pm

Yeah, I have been scouring the net for weeks trying to find other people with similar issue. I can't be alone here but I am having no luck.

Anyone know of a place I could get direct contact with a samba expert?
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Mon Feb 03, 2014 2:56 pm

I recently had someone tell me it sounded like this was a Windows issue limiting Linux and not the other way around. This sounds possible.

Would anyone have any idea where to look in windows or any tests that would confirm this?
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: File sharing: Windows vs Mint transfers...

Postby badtlc on Wed Feb 12, 2014 12:04 pm

So it is a bug with the current samba. If you mount windows shares from Linux using CIFS, the transfer speeds are close to the same as from windows. I will provide more detailed info as I figure out what all "mount -t cifs" does differently.
Mint 16 Xfce 64bit
Core 2 Duo @ 2.13 Ghz
2 GB RAM
badtlc
Level 1
Level 1
 
Posts: 38
Joined: Mon Dec 16, 2013 9:44 am

Re: [SOLVED] File sharing: Windows vs Mint transfers...

Postby MintyTomB on Sun Mar 30, 2014 8:23 pm

Sitting at PC2 (Win7) transferring at 99.7 Mbps either direction:
- sending or receiving, Mint's CPU usage is less than 10%.
- Win7 CPU usage is around 8%.


Check in the networking section of the Win7 machine and see if it thinks it is connected 1gb or 100mb. The 10% is perfect if thinks it's connected 1gb. It sometimes reports 1gb even with a 100mb switch.

The Windows machine is a powerhouse in comparison to the Linux box. That's fine, but that is going to lead to some of the differences you are seeing.

You might think about upgrading to a 1gb switch, kinda just because it's time. It really does make a difference. The Cat 5e is fine.
MintyTomB
Level 1
Level 1
 
Posts: 4
Joined: Sun Mar 30, 2014 11:30 am

Linux Mint is funded by ads and donations.
 

Return to Ethernet

Who is online

Users browsing this forum: No registered users and 4 guests