On 23 Sep 2004, at 14:42, Dan Hatton wrote:
I have a large ftp transaction in progress, with an ADSL-connected machine as the client, and my life would be more comfortable if other things (specifically X11 connections, with the same ADSL-connected machine as the X server) got priority over the ftp transaction for using the ADSL modem.
I tried renice 20 [PID of the ftp client], which reported that it had changed the priority of the ftp client from 0 to 19, but this doesn't seem to have speeded up my X applications any, so I'm guessing that nice priority settings only apply to CPU, not to network bandwidth: is this right? If so, how can I make the ftp client be "nice" about network usage?
If you want to control the bandwidth.. I can recommend 'trickle'
http://monkey.org/~marius/pages/?page=trickle
Trickle is a portable lightweight userspace bandwidth shaper.
I'm not sure if this answers your question, I'm just shooting in the dark here ;)
Craig