Fred Stluka on 4 Dec 2009 11:32:45 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Throttling network bandwidth usage ala nice or ionice...


Edmond (and other PLUG folks),

You were asking the other day for a way to throttle network IO
during downloads, similar to the way the "nice" command does for
CPU usage -- run full bore unless something else is competing
for the bandwidth.  There's another command called "ionice" that
may be close to what you want.  It throttles disk IO, not network
IO, but:

1. Since the download is coming across the network and going
   to the disk, that may have the effect you want.
2. Since there's already a nice and an ionice, maybe there's
   one for network traffic also.

Just a thought...

--Fred
---------------------------------------------------------------------
Fred Stluka -- mailto:fred@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
---------------------------------------------------------------------
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug