Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

Round Robin scheduling

Thread view: 
Hraggie - 26 Feb 2006 03:03 GMT
I need some more information about the RR scheduling algorithm.

If I have a bunch of processes that will take some cpu time and IO
time.
RR defines a certain timeslice (say 10 ms). (which is used for cpu
timing?)

if  the cpu finishes with one process, which takes for example 9 ms,
and no overhead, then that process is send from the ready queue to the
ioqueue.
At 9ms, the cpu will take the next process from the readyqueue, go for
10 ms, etc

what happens in the meantime with the ioqueue, when are those io jobs
going to be done?
Will the program run cpu processes, and also io processes
simultaniously?

thank you for any help/ideas.
Mladen Adamovic - 28 Feb 2006 17:10 GMT
> Will the program run cpu processes, and also io processes
> simultaniously?

Yes, CPU send the request to the controler to get some IO data into
memory and give slice to another process.

But, your question don't have anything with Java at all, as far as I see.

Signature

Mladen Adamovic
http://home.blic.net/adamm
http://www.shortopedia.com
http://www.froola.com

Martin Gregorie - 01 Mar 2006 14:33 GMT
> I need some more information about the RR scheduling algorithm.

You'd better specify what OS you're using if you want a sensible answer.

Not all OSen use round robin scheduling. In any case the way processes
and threads in the JVM map onto OS scheduling methods is also very
system dependent.

Signature

martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.