Re: limit speed of file transfer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-01-21 at 20:08, Micah Wedemeyer wrote:
> Hi,
> 
> My system consistently locks up on file transfers across the LAN.  When
> transferring a file to it using scp, it dies after less than 5 seconds.
> However, if I use it to download a file from the Internet (using wget),
> it does just fine.
> 
> I have heard that my motherboard (a Via Epia MII) has DMA problems and
> that high Ethernet traffic is known to lock them up.  My theory is that
> the Internet connection is slow enough to not hit whatever magic
> threshold causes the crash.  So, I was hoping to find a way to limit the
> speed of transfers with scp and ftp so that they also don't lock up the
> machine.
> 
> I asked on a few message boards, and they all mentioned iptables.  I've
> never used it before, and am a total noob when it comes to networking
> stuff.  So, I was hoping that the people on this list could point me in
> the right direction of where to start.
> 
> To sum up:  I need a way to limit the speed of incoming file transfers
> using ftp or scp.
> 
> Any help would be greatly appreciated,
> Micah

brute force solution:  force your NIC and the switch port you plug into
to 10-Mbit Half-Duplex:

  mii-tool --force=10baseT-HD eth0
-OR-
  ethtool -s eth0 speed 10 duplex half autoneg off

-j

--
"What's the point of going out, we're just going to end up back
 here anyway?"
	--The Simpsons



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux