Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 22:14:53 -0600
From:      Brian John <brianjohn@fusemail.com>
To:        Miguel Mendez <flynn@energyhq.es.eu.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can I set priorities for file transfers
Message-ID:  <41EF303D.9020907@fusemail.com>
In-Reply-To: <20050118153740.30aab22d.flynn@energyhq.es.eu.org>
References:  <3659.209.87.176.132.1106058238.fusewebmail-19592@www.fusemail.com> <20050118153740.30aab22d.flynn@energyhq.es.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Miguel Mendez wrote:

>On Tue, 18 Jan 2005 08:23:58 -0600 (CST)
>"Brian John" <brianjohn@fusemail.com> wrote:
>
>Hi,
>
>  
>
>>Hello,
>>I have (I think) kind of a unique question.  I leave my home computer
>>on all day and transfer and share files via a P2P application. 
>>However, sometimes I like to ssh in from work and transfer files
>>between my work PC and my home PC via scp.  Right now it is really
>>slow because it is transferring so much with the P2P apps, that it
>>uses up all of my bandwidth.  Is there any way that I can put a
>>priority on this so that it gives me the majority of my bandwidth when
>>I want to use scp?
>>    
>>
>
>The first thing I'd do is throttle the upload on your p2p program, so
>you don't eat all your b/w. You don't mention which p2p it is, but amule
>let's you do it and some BitTorrent clients have the option too.
>
>Then you could use QoS, either using IPFW or PF. With PF I'd prioritize
>empty ACKs and then create a queue for ssh with guaranteed b/w. There
>are plenty of PF tutorials and FAQs out there with examples. Daniel's
>page has a lot of info on PF (http://www.benzedrine.cx/pf.html). Note
>that PF is a FreeBSD 5.x-only feature. It's been ported to NetBSD and
>DragonFlyBSD as well, and it's part of OpenBSD.
>
>Cheers,
>  
>
Ok, I got pf setup.  However, now I need to add ALTQ support to the 
kernel somehow?  Is that right?  If so, how can I do this?

Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EF303D.9020907>