Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Round Robin scheduling

Reply
Thread Tools

Round Robin scheduling

 
 
Hraggie
Guest
Posts: n/a
 
      02-26-2006
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.

 
Reply With Quote
 
 
 
 
Mladen Adamovic
Guest
Posts: n/a
 
      02-28-2006
Hraggie wrote:
> 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.


--
Mladen Adamovic
http://home.blic.net/adamm
http://www.shortopedia.com
http://www.froola.com
 
Reply With Quote
 
 
 
 
Martin Gregorie
Guest
Posts: n/a
 
      03-01-2006
Hraggie wrote:
> 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.

--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco CSS load balance weighted round-robin perl script Michael Osten Cisco 0 02-14-2007 02:30 AM
round robin scheduler rhitx C Programming 6 12-07-2006 02:56 PM
4 level to 2 level round robin arbiter ssahota@gmail.com VHDL 2 05-09-2006 03:35 PM
DNS Round Robin and ViewState =?Utf-8?B?U2NvdHQ=?= ASP .Net 1 03-04-2005 12:06 AM
help on round robin Jerry Khoo C++ 1 06-28-2004 07:43 AM



Advertisments