aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Scheduling  (Read 3938 times)

torte

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Scheduling
« 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
« Last Edit: March 10, 2004, 12:20:35 PM by torte »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3923
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Scheduling
« Reply #1 on: March 10, 2004, 11:36:44 PM »

hi

scheduling is planed

greets

torte

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Scheduling
« Reply #2 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
Logged

bootstrap

  • bofh
  • Developer
  • Full Member
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 175
    • http://www.hirnriss.net
Re: Scheduling
« Reply #3 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.
Logged
:: signature? wtf is a signature good for? ::

ICH

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: Scheduling
« Reply #4 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. :)
« Last Edit: March 11, 2004, 02:11:14 PM by ICH »
Logged

torte

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Scheduling
« Reply #5 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
Logged

torte

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Scheduling
« Reply #6 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

xnee

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
Logged