just use the "nice" call with a negative value for the process.  the time 
quantum will be the same but it will get more run time.

man nice

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ashwin Chandra
Sent: Thursday, February 24, 2005 7:50 PM
To: freebsd-hackers@freebsd.org
Subject: sched_4bsd.c Quantum change


Quick question for you hackers!

If i wanted to change the scheduler to have a certain marked bad process have a 
higher time quantum than everyone elses (because it is behaving bad, high mem 
usage and context switching) to let it run longer to finish faster and avoid 
context switches and swapping, is this possible in the current scheduler 
without major changes to it? Right now the scheduler works by having a uniform 
quantum for all processes, am i correct?

Thanks
Ash
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to