| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#2 (permalink) |
|
Moderator
Join Date: Jan 2006
Posts: 823
Thanks: 25 Thanked 23 Times in 17 Posts Thanks: 25
Thanked 23 Times in 17 Posts
Blog Entries: 1
Rep Power: 12
|
Re: Round Robin Algo.
A scheduling algorithm in which processes are activated in a fixed cyclic order. Those which cannot proceed because they are waiting for some event (e.g. termination of a child process or an input/output operation) simply return control to the scheduler. The virtue of round-robin scheduling is its simplicity - only the processes themselves need to know what they are waiting for or how to tell if it has happened. However, if a process goes back to sleep just before the event for which it is waiting occurs then the event will not get handled until all the other processes have been activated.
|
|
|
|
|
|
#4 (permalink) |
|
Moderator
Join Date: Jan 2006
Posts: 823
Thanks: 25 Thanked 23 Times in 17 Posts Thanks: 25
Thanked 23 Times in 17 Posts
Blog Entries: 1
Rep Power: 12
|
Re: Round Robin Algo.
Round-Robin Scheduling Algorithm, that is used to prevent starvation. Lets say you have 4 jobs.
Job A Job B Job C and Job D Round Robin will give each job the same amount of CPU time until they are finished. so it will go like A B C D A B C D A B C D. for like 3 cycles each. If one of the jobs finishes it will be removed from the queue. If a job is added it will be added to the circular queue |
|
|
|
|
|
#6 (permalink) |
|
Moderator
Join Date: Jan 2006
Posts: 823
Thanks: 25 Thanked 23 Times in 17 Posts Thanks: 25
Thanked 23 Times in 17 Posts
Blog Entries: 1
Rep Power: 12
|
Re: Round Robin Algo.
|
|
|
|
|
|
#7 (permalink) |
|
Moderator
Join Date: Apr 2006
Location: India
Posts: 1,733
Thanks: 2 Thanked 143 Times in 132 Posts Thanks: 2
Thanked 143 Times in 132 Posts
Rep Power: 31
|
Re: Round Robin Algo.
nice explanation on XP vision .... thanx 4 tat ...
wisdom round robin is mostly used at places where the response time 4 all the processes need 2 b fast .... whatever may b the completion time but the processes starts exec ... it avoids starvation ...
__________________
Sree |
|
|
|
|
|
#8 (permalink) |
|
Unregistered
Posts: n/a
|
I want to mention one more example where round robin mechanism is used.I am right now working on a project whre we need to balance the load among the webservers.So we are using load balancer and it distributes the requests using the round robinhood mechanism so that all the servers handle requests and no single server is over burdened or starved.
|
|
|
|
#9 (permalink) |
|
(e)x-member
Join Date: Jul 2006
Location: India
Posts: 776
Thanks: 29 Thanked 28 Times in 24 Posts Thanks: 29
Thanked 28 Times in 24 Posts
Rep Power: 11
|
Re: Round Robin Algo.
Hey unregd., can u explain a lilltle more about u'r project. i am not asking anything specific to u'r project or the ideas that u r going to use but the theme of the project and using which tools are u going to achieve that........eager to hear frm u'r side.
|
|
|
|
|
|
#10 (permalink) |
|
Member
Join Date: Aug 2006
Age: 23
Posts: 32
Thanks: 0 Thanked 1 Times in 1 Posts Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 3
|
Re: Round Robin Algo.
Basically my project is related to web server performance.Currently our website is able to handle 200 users simultaneously.If we upgrade server we can handle 100 more users.Insead we are trying to employ a cost effective method by maintaining a cluster.Where a load balancer computer distributes request to backend servers(medium configuration) which can handle 100 req/sec.So if we have 5 servers at backend we can handle 400-500 req/sec easily.And the tools are open source tools freely available.This method can be employed not only for webserver and employes for wide range of daemons.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solve This - ROUND() Functionality With Answer!!! | jsangeetha | ORACLE , SQL SERVER , SYBASE & Others | 7 | 30-05-06 05:54 AM |
| regarding the HR round. in CTS.... | tvbharathi | HR Questions | 0 | 06-03-06 08:24 AM |