aMule Forum

English => en_Linux => Topic started by: torte on March 10, 2004, 10:47:49 AM

Title: Scheduling
Post by: torte on March 10, 2004, 10:47:49 AM
I'm living at a boarding school and share internet to my colleagues.
As people need filesharing but running several amules on one ip and limited bandwidt makes no sense. so i'm sharing the amule via vnc.
On daytime we set the limits low so we can surf, but at night we want it to download.
Unfortunatly some people don't sleep to well at night and set the limits at low, sleep off in front of their screens and don't put the rates back at high again.
This results in everlasting downloads...

My question is:
Is there a way for a program with root priorities to periodically set the rates to the desired levels. maybe much like a trainer for games which gives infinite health

or is there anything similar to dcop out there to script macros for guis

thx in advance
Title: Re: Scheduling
Post by: deltaHF on March 10, 2004, 11:36:44 PM

scheduling is planed

Title: Re: Scheduling
Post by: torte on March 11, 2004, 10:23:18 AM
I read that it was planned, but since i'm sharing the whole gui of amule others can always alter the settings.
So my problem won't be solved by the implementation of scheduling.
Maybe building these options to change the bandwith etc  into the textclient was a solution.
I also read about some people having the same problems and killing the client every hour and loading it with a prepared configuration file...
but this is bad on usability and downloads as you lose your queue positions

Anyone Ideas? Plz
Title: Re: Scheduling
Post by: bootstrap on March 11, 2004, 10:47:06 AM
This is not really aMule related, but maybe you can use it...
Take a look at HTB Home ( where you can find some info and links related to traffic shaping in linux.
Using tc and htb you can create slices inside your bandwith and give them limited bandwith as well as priorities and the possibility to "borrow" bandwith from other slices.

I'm using it to keep my ftp running with high bandwith while still being able to play online games or surf the web.
Title: Re: Scheduling
Post by: ICH on March 11, 2004, 02:10:06 PM
well, i think amuleweb and amulecmd connect to some port (socket) which amule listens on.. maybe you could combine a script using these remote-functions and cron to create your own scheduler? it has to be run every minute or so to stop people setting their own bandwith-limits. :)
Title: Re: Scheduling
Post by: torte on March 12, 2004, 07:41:41 PM
Sorry guys
I'm already using HTB and other techniques so all people can surf at one time but amule just kills bandwith because their is a limit on packets that can go through the modem...
Already thought about using amulecmd but support for changing ul/dl isn't implemented yet...

Thanks for your help
I'll go somewhere else and learn hacking the computers memory...
Will be fun and knowledge can be used for other applications...

I'll keep watching this thread though
Title: Re: Scheduling
Post by: torte on March 13, 2004, 03:30:26 PM
If anyone is interested in my results so far
I found a macro recorder/player for linux
It's name is


Unfortunately I'm having Problems as the "record" extension isnt build into the vnc xserver

I'm also trying to access the programs memory with gdb, but this isn't an easy scriptable solution so I'm going on with my research for methods