Author Topic: "Renicing" bandwitdh?  (Read 467 times)

musonio

  • Guest
"Renicing" bandwitdh?
« on: July 09, 2010, 08:41:47 PM »
Is it possible to somehow "renice" bandwidth usage for a given app?
I am using ktorrent and amule and want ktorrent to download faster than amule.
I know that both apps give you the option to set download limits, but that is a fixed setting.
What I want is, for instance, for ktorrent to download at 200 KB when something is being downloaded by amule, but to automatically go over that limit when amule is not downloading or is not running. Without doing anything, bully ktorrent seems to eat all of the bandwidth and push the little mule to the side.
I don't know if I made myself clear. If not, never mind.

« Last Edit: July 09, 2010, 08:43:25 PM by musonio »

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3996
Re: "Renicing" bandwitdh?
« Reply #1 on: July 10, 2010, 07:12:23 AM »
I don't know whether you can allocate bandwidth that way but renicing the applications should give one a higher priority than the other for processor time. The application that gets the processor will also be the one accessing the network, so I would expect network use to reflect processor priority.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

musonio

  • Guest
Re: "Renicing" bandwitdh?
« Reply #2 on: July 10, 2010, 11:52:31 AM »
I thought of that for a moment but I believed that it would be mixing apples and cucumbers.
I'll give it a try.