LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-28-2009, 07:11 AM   #1
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 102

Rep: Reputation: 19
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.
 
Old 12-29-2009, 04:10 PM   #2
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Yes, you can do that with cbq.

Here you can find some instructions to start.
 
Old 12-29-2009, 04:50 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network bandwidth limiting - how to limit the whole network sKAApGIF Linux - Networking 2 01-07-2010 04:12 PM
How to distribute Network bandwidth between Network clients dynamically ? p_s_shah Linux - Server 1 02-27-2008 09:31 AM
network bandwidth entz Linux - Networking 1 11-17-2007 07:16 PM
Network bandwidth 1/2 what it should be geniarse Linux - Networking 4 09-21-2004 09:02 AM
niceness granny Linux - Newbie 1 03-10-2003 05:07 PM


All times are GMT -5. The time now is 05:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration