Re: how to set network io priority for a process?

2007-08-02 Thread Andrei Popescu
On Wed, Aug 01, 2007 at 11:03:50PM -0400, Douglas Allan Tutty wrote: On Wed, Aug 01, 2007 at 09:49:41PM -0300, Henrique de Moraes Holschuh wrote: It certainly can do what you want, if you leave it running and use it as a shell and not as a single-command download tool. lftp can carry as

Re: how to set network io priority for a process?

2007-08-02 Thread Douglas Allan Tutty
On Thu, Aug 02, 2007 at 06:02:34PM +0300, Andrei Popescu wrote: On Wed, Aug 01, 2007 at 11:03:50PM -0400, Douglas Allan Tutty wrote: On Wed, Aug 01, 2007 at 09:49:41PM -0300, Henrique de Moraes Holschuh wrote: It certainly can do what you want, if you leave it running and use it as a

Re: how to set network io priority for a process?

2007-08-01 Thread Henrique de Moraes Holschuh
On Sun, 29 Jul 2007, Douglas Allan Tutty wrote: What we need is a multi-protocol proxy server that does proper throttling of download requests. Squid delay pools? Will work for http and ftp. -- One disk to rule them all, One disk to find them. One disk to bring them all and in the

Re: how to set network io priority for a process?

2007-08-01 Thread Henrique de Moraes Holschuh
On Sun, 29 Jul 2007, Mike Bird wrote: packets aren't lost. This doesn't work for UDP and ICMP and works poorly for varying loads. Correct. But it works wonderfully for long-lived TCP connections, and if you are using ftp/http (and not, say, bittorrent) to get your ISOs, it will help you.

Re: how to set network io priority for a process?

2007-08-01 Thread Douglas Allan Tutty
On Wed, Aug 01, 2007 at 11:08:06AM -0300, Henrique de Moraes Holschuh wrote: On Sun, 29 Jul 2007, Douglas Allan Tutty wrote: What we need is a multi-protocol proxy server that does proper throttling of download requests. Squid delay pools? Will work for http and ftp. But not rsync, which

Re: how to set network io priority for a process?

2007-08-01 Thread Henrique de Moraes Holschuh
On Wed, 01 Aug 2007, Douglas Allan Tutty wrote: But not rsync, which I use whenever I can for large downloads due to errors creeping in for some reason over my noisy phone line and freqent line drops (and susequent redials by pppd). Why do you allow for damaged packets at all? I used analog

Re: how to set network io priority for a process?

2007-08-01 Thread Douglas Allan Tutty
On Wed, Aug 01, 2007 at 01:03:52PM -0300, Henrique de Moraes Holschuh wrote: On Wed, 01 Aug 2007, Douglas Allan Tutty wrote: But not rsync, which I use whenever I can for large downloads due to errors creeping in for some reason over my noisy phone line and freqent line drops (and susequent

Re: how to set network io priority for a process?

2007-08-01 Thread Henrique de Moraes Holschuh
On Wed, 01 Aug 2007, Douglas Allan Tutty wrote: I used analog async ITU-T V42 modems for a *long* time (fortunately, I was able to move away before V9x hit the market). You really want an error-free channel without compression for regular Internet over PPP domestic use, and any modem

Re: how to set network io priority for a process?

2007-08-01 Thread Douglas Allan Tutty
On Wed, Aug 01, 2007 at 01:41:56PM -0300, Henrique de Moraes Holschuh wrote: Try lftp. I know of no better ftp client. But it is command-line, which is just as well: the transfer engine is well cared for, and not a secondary thing to the GUI. I've got lftp installed but haven't tried it.

Re: how to set network io priority for a process?

2007-08-01 Thread Henrique de Moraes Holschuh
On Wed, 01 Aug 2007, Douglas Allan Tutty wrote: On Wed, Aug 01, 2007 at 01:41:56PM -0300, Henrique de Moraes Holschuh wrote: Try lftp. I know of no better ftp client. But it is command-line, which is just as well: the transfer engine is well cared for, and not a secondary thing to the

Re: how to set network io priority for a process?

2007-08-01 Thread Douglas Allan Tutty
On Wed, Aug 01, 2007 at 03:33:14PM -0300, Henrique de Moraes Holschuh wrote: On Wed, 01 Aug 2007, Douglas Allan Tutty wrote: On Wed, Aug 01, 2007 at 01:41:56PM -0300, Henrique de Moraes Holschuh wrote: Try lftp. I know of no better ftp client. But it is command-line, which is just

Re: how to set network io priority for a process?

2007-08-01 Thread Henrique de Moraes Holschuh
On Wed, 01 Aug 2007, Douglas Allan Tutty wrote: Except that for a download that I have to restart 5 or 10 times, its easier to put the url in a file and use wget, or for rsync I put the whole command line in a file, pound-hack it, chmod +x and away it goes. If lftp had a download queue that

Re: how to set network io priority for a process?

2007-08-01 Thread Douglas Allan Tutty
On Wed, Aug 01, 2007 at 09:49:41PM -0300, Henrique de Moraes Holschuh wrote: It certainly can do what you want, if you leave it running and use it as a shell and not as a single-command download tool. lftp can carry as many transfers in parallel as needed, to as many sites as needed, and

how to set network io priority for a process?

2007-07-29 Thread Douglas Allan Tutty
I'm on slow dialup. Downloads of iso's take days. Yet, I still want to be able to browse the internet. I would like to set up something like trickle that will run something but limit its bandwidth so that it lower's its priority. For example, wget and rsync allow one to limit the bandwidth to a

Re: how to set network io priority for a process?

2007-07-29 Thread Douglas Allan Tutty
On Sun, Jul 29, 2007 at 06:14:46PM -, Paul Johnson wrote: On Jul 29, 11:10 am, Douglas Allan Tutty [EMAIL PROTECTED] wrote: I'm on slow dialup. Downloads of iso's take days. Yet, I still want to be able to browse the internet. I would like to set up something like trickle that will

Re: how to set network io priority for a process?

2007-07-29 Thread Andrew J. Barr
On 7/29/07, Douglas Allan Tutty [EMAIL PROTECTED] wrote: I'm on slow dialup. Downloads of iso's take days. Yet, I still want to be able to browse the internet. I would like to set up something like trickle that will run something but limit its bandwidth so that it lower's its priority. I

Re: how to set network io priority for a process?

2007-07-29 Thread Celejar
On Sun, 29 Jul 2007 15:28:17 -0400 Andrew J. Barr [EMAIL PROTECTED] wrote: On 7/29/07, Douglas Allan Tutty [EMAIL PROTECTED] wrote: I'm on slow dialup. Downloads of iso's take days. Yet, I still want to be able to browse the internet. I would like to set up something like trickle that

Re: how to set network io priority for a process?

2007-07-29 Thread Douglas Allan Tutty
On Sun, Jul 29, 2007 at 03:32:44PM -0400, Celejar wrote: I have issues similar to Doug's, and I have also wondered whether kernel based traffic shaping is what I need. Since we both use shorewall, which has an interface to the kernel's shaping capabilities, I suppose we ought to read

Re: how to set network io priority for a process?

2007-07-29 Thread Mike Bird
On Sunday 29 July 2007 13:11, Douglas Allan Tutty wrote: On Sun, Jul 29, 2007 at 03:32:44PM -0400, Celejar wrote: I have issues similar to Doug's, and I have also wondered whether kernel based traffic shaping is what I need. Since we both use shorewall, which has an interface to the

Re: how to set network io priority for a process?\

2007-07-29 Thread Douglas Allan Tutty
On Sun, Jul 29, 2007 at 01:54:36PM -0700, Mike Bird wrote: Traffic shaping usually applies to output. Policing[0] usually applies to input. Since we often can't shape on the router transmitting data to us, in such cases we instead have to police on the receiving end and rely on the

Re: how to set network io priority for a process?

2007-07-29 Thread Douglas Allan Tutty
On Sun, Jul 29, 2007 at 03:32:44PM -0400, Celejar wrote: I have issues similar to Doug's, and I have also wondered whether kernel based traffic shaping is what I need. Since we both use shorewall, which has an interface to the kernel's shaping capabilities, I suppose we ought to read

Re: how to set network io priority for a process?

2007-07-29 Thread Celejar
On Sun, 29 Jul 2007 20:11:43 -0400 Douglas Allan Tutty [EMAIL PROTECTED] wrote: On Sun, Jul 29, 2007 at 03:32:44PM -0400, Celejar wrote: I have issues similar to Doug's, and I have also wondered whether kernel based traffic shaping is what I need. Since we both use shorewall, which has

Re: how to set network io priority for a process?

2007-07-29 Thread Douglas Allan Tutty
On Sun, Jul 29, 2007 at 10:42:29PM -0400, Celejar wrote: On Sun, 29 Jul 2007 20:11:43 -0400 Douglas Allan Tutty [EMAIL PROTECTED] wrote: On Sun, Jul 29, 2007 at 03:32:44PM -0400, Celejar wrote: I have issues similar to Doug's, and I have also wondered whether kernel based traffic