Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8901797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:27:03+00:00 2026-06-15T01:27:03+00:00

If you have a very large (say too big) time slice for a round

  • 0

If you have a very large (say too big) time slice for a round robin scheduler what kind of performance effect should I expect in the Operating System?

My only thought is that processes that require a lot of time would benefit but most processes use a small amount of time, so it would cause a delay in finishing all the smaller processes?

Example: timeslice of 50, and processes P1=400, P2=10, P3 = 150, P4 = 20, P5 = 10, P6 = 10

This is my best guess I am wondering if there is anything you guys could share as far as a time slice being too small or too large.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T01:27:04+00:00Added an answer on June 15, 2026 at 1:27 am

    The problem with round robin is that tasks aren’t equal.

    For CPU bound tasks; if you’ve got an extremely important task and thousands of unimportant tasks, then all those unimportant tasks cripple the performance of the important task. For this case it doesn’t matter how big the time slices are.

    For IO bound tasks, round robin causes bad latency. If an important task unblocks (e.g. wakes up after calling “sleep()”, receives file IO it was waiting for, etc) then it may have to wait for thousands of unimportant tasks to work their way through their time slices before the important task gets a chance to do anything. Reducing the time slice length will reduce the time it takes before the important task can start doing something useful, but will also reduce the amount of time the important task gets to do something useful.

    Note: You might be tempted to “fix” this by making tasks that unblock go to the head of the list. In this case an important task can be starved forever just because unimportant tasks keep sleeping and waking up.

    Essentially, round-robin is a steaming pile of “useless” and it won’t matter what you do until you replace it with completely different scheduling algorithm that has at least some respect for the importance/priority of different tasks.

    For an oversimplified example; you could have 3 different task priorities, where the OS only ever runs the highest priority tasks that it can (including making sure higher priority tasks preempt lower priority tasks immediately) and round-robin is used for tasks at the same priority. In this case, you could could have different time slice lengths for different priorities (e.g. high priority tasks only get 1 ms, medium priority tasks get 10 ms, low priority tasks get 125 ms).

    For a “less oversimplified” example; you could have several completely different scheduling policies (e.g. one for real-time tasks, one for normal tasks, one for background/idle tasks) that all use different approaches (e.g. earliest deadline first, variable time slice, etc); where there’s 256 tasks priorities for each scheduling policy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have a very large MySQL table with a timestamp field. So
Let's say I have a very large integer, around the order of 10**200. Now
Say I have a very large file (say > 1GB) and I want to
Here is a hypotetical scenario. I have very large number of user names (say
I have a very large table of wagering transactions. Let's say for the sake
Alright. So I have a very large amount of binary data (let's say, 10GB)
I have a very large Excel sheet converted from a 6000 page PDF file,
I have a very large UIView approx 3000x3000 in size. In this large view
I have a very large table of over 9 million rows and in my
I have a very large ASP.NET application in C#. The issue is simple yet

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.