sched_4bsd.c Quantum change

Smith III, Edward Mr. CAA/ISC ed.smithiii at us.army.mil
Fri Feb 25 14:14:14 GMT 2005


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: owner-freebsd-hackers at freebsd.org
[mailto:owner-freebsd-hackers at freebsd.org]On Behalf Of Ashwin Chandra
Sent: Thursday, February 24, 2005 7:50 PM
To: freebsd-hackers at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list