Quote:
Originally Posted by codeguy
1) are you using ssh, scp, vpn? (or something that'll encrypt while transfer)
|
No, not that I know of, the transfer is done from an autofs CIFS mount to a local folder using gnome... I have just tried rsync (still through the "local" CIFS mount), and the result is the same.
Quote:
Originally Posted by codeguy
2) are the two computer close to each other? (switch with cat5, 14.4 modem dialup, etc)
|
Yes, only a router (TP-LINK TL-WDR4300 N750 Wireless Dual Band Gigabit Router, updated to latest firmware today) is between them. The debian machine is connected with a cat5 cable, while the NAS is on an older cable that was in the house when I moved in, and therefore I can't exactly vouch for its classification
-Works flawlessly to any other machine on the network though.
I only have SSH access to the machine at the time of writing, but will try moving the NAS next to the router with a short cat5 cable when I can physically get to them, although I very much doubt it will change anything as the cable is clearly capable of transferring at higher speeds.
Quote:
Originally Posted by codeguy
3) have you cleared iptables just to see if that has any effect?
|
I have now. No change. It didn't really have anything in it anyway, it's a fairly fresh debian squeeze install with some default fail2ban chains - so not really containing any rules so far.
Meanwhile I have done some additional testing:
The problem only affects transfers through ethernet, not wifi. If I enable wifi on the debian machine, and disable cabled network completely (leaving everything else unchanged), then I get transfer rates around 4MB/s for a single transfer and it drops rather than rises if I run several transfers simultaneously.
This strongly suggests to me that the problem is something related to the cabled connection between debian and the router.
However, I can transfer files from other machines to the debian machine at full speed, which I guess clears the debian-router connection as a suspect.
But then again, I can also fetch the same files (well, it probably affects all files, but is only noticable on large files) from the NAS on any other machine without issues, 10-11MB/s on a single transfer and roughly half if I have two transfers.
I really don't understand the logic in this issue at all. Basically everything works, only the transfer rate is behaving in a very unexpected way.
Perhaps I should look into the CIFS mount or autofs...? Would that make sense, and how would I go about it (easiest way to eliminate)? Is it possible that one of those could behave so differently depending on whether they "go through" a ethernet or wifi?