Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > NETWORK ADMINISTRATION , HARDWARE & TROUBLESHOOTING
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 17-08-06, 03:10 AM   #1 (permalink)
(e)x-member
 
WISDOM's Avatar
 
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 WISDOM is on a distinguished road WISDOM is on a distinguished road
Round Robin Algo.

What is Round Robin Algorithm?
WISDOM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 03:17 AM   #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 Vision has disabled reputation
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.
Vision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 03:31 AM   #3 (permalink)
(e)x-member
 
WISDOM's Avatar
 
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 WISDOM is on a distinguished road WISDOM is on a distinguished road
Re: Round Robin Algo.

Where is this algorithm used or implemented?
WISDOM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 03:34 AM   #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 Vision has disabled reputation
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
Vision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 03:46 AM   #5 (permalink)
(e)x-member
 
WISDOM's Avatar
 
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 WISDOM is on a distinguished road WISDOM is on a distinguished road
Re: Round Robin Algo.

which scheduling algorithm is used by windows XP ?
WISDOM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 03:51 AM   #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 Vision has disabled reputation
Re: Round Robin Algo.

  • Windows XP uses a quantum-based, preemptive priority scheduling algorithm
  • Threads are scheduled rather than processes.
  • Since the preemptive priority algorithm is implemented with multiple queues, it can also be considered a multiple feedback-queue algorithm. However, each class of thread is normally restricted to a small band of 5 priority levels, from 2 below the base priority for its process to 2 above. Each band of priorities overlaps with the band above it and the band below it.
  • Preemption can occur for any of 4 reasons:
    • higher-priority thread becomes ready
    • thread terminates
    • time quantum exhausted
    • thread performs a blocking system call, such as for I/O, in which case it leaves the READY state and enters a WAITING state.
  • 32 priority levels are used, where priority 31 is the highest priority and priority 0 is the lowest priority
    • memory management thread: priority 0
      • text shows idle thread with priority 1, which is higher than the memory management thread, but it does not explain how this could work
    • variable class of priorities (1-15)
    • real-time class of priorities (16-31)
  • Threads in the real-time class have fixed priorities
  • The running thread is always one with the highest priority level.
  • If no ready thread exists, the idle thread is run.
  • When a thread's time quantum runs out, its priority is lowered (by one it appears), but its priority is never lowered too far
  • When a thread becomes READY after WAITING, it is given a priority boost, with the largest boost for waiting for keyboard I/O and a smaller boost for waiting for disk.
  • any thread of the process associated with the window that the user is currently interacting with (the foreground process) is given a priority boost and as well has its quantum size tripled.
Vision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 12:58 PM   #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 vjsreevs is a splendid one to behold vjsreevs is a splendid one to behold vjsreevs is a splendid one to behold vjsreevs is a splendid one to behold vjsreevs is a splendid one to behold vjsreevs is a splendid one to behold vjsreevs is a splendid one to behold vjsreevs is a splendid one to behold vjsreevs is a splendid one to behold
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
vjsreevs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 05:41 PM   #8 (permalink)
Unregistered
Unregistered
 
Posts: n/a
Cool Re: Round Robin Algo.

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.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 06:26 PM   #9 (permalink)
(e)x-member
 
WISDOM's Avatar
 
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 WISDOM is on a distinguished road WISDOM is on a distinguished road
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.
WISDOM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-08-06, 08:06 PM   #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 balanagireddy is on a distinguished road
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.
balanagireddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT +6.5. The time now is 05:49 PM.





Search Engine Optimization by vBSEO 3.1.0