LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   network bandwidth niceness? (https://www.linuxquestions.org/questions/slackware-14/network-bandwidth-niceness-778453/)

witek 12-28-2009 07:11 AM

network bandwidth niceness?
 
Is there any tool for network such as nice for CPU and ionice for harddisk? I mean when I`m downloading big file with wget it consumes much bandwidth and my browser has limited access to bandwidth. Can I regulate access to network bandwidth somehow? I know I can use --limit-rate with wget but this limits rate even when no other application is using network.

niels.horn 12-29-2009 04:10 PM

Yes, you can do that with cbq.

Here you can find some instructions to start.

Woodsman 12-29-2009 04:50 PM

Yes, there are some tools to help you. The keywords you need to help you learn more is "traffic shaping." The stock Slackware does come with some of the tools needed for traffic shaping.

As you noticed, I don't think wget directly supports on-the-fly modifications of bandwidth usage. Possibly you could use wget in a wrapper shell script that concurrently checks open TCP connections. If there are no connections then you could restart wget using the -c (continue) option using full bandwidth. Just an idea. :)


All times are GMT -5. The time now is 09:28 PM.