CPU Scheduling --> Run Queue & Priority Queue
Hi,
Can anyone tell me the algorithm that Solaris uses for CPU Scheduling. I want to know the relation between Priority Queue and Run Queue. Can I write a small "C" test program to print both these values using some kstat counters?
Any help would be greately appreciated.
Thanks & Regards
Patralekh
[333 byte] By [
Patralekha] at [2007-11-26 17:44:40]

# 1
I don't know the subject that well myself, but I believe the Solaris Internals book has a section on scheduling. I'd probably start there. If you needed real details, you might have to look through the source.
I'm sure there are some dtrace probes for when individual processes are enqueued and dequeued.
--
Darren