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 3428016
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:54:29+00:00 2026-05-18T06:54:29+00:00

There are three thread models that are used in thread scheduling implementations usually done

  • 0

There are three thread models that are used in thread scheduling implementations usually done by OS Kernels. One of them is the hybrid (M:N) model in which some N application threads are mapped to M kernel threads so that they can use up to M processors. There are pros and cons to this model. One of the advantages is that the languages that are based on this model will introduce a language level scheduler implementation that is responsible for management and scheduling the application-level threads.

  • I was wondering if anyone knows any effort or a work that already has done this so that a language or library could take advantage of it?
  • Considering for instance the fact that Kernel 2.6.23+ uses an algorithm called CFS for scheduling, do you think that this hybrid model would at all be a wise approach to invest on?
  • 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-05-18T06:54:29+00:00Added an answer on May 18, 2026 at 6:54 am

    First of all read this: http://www.kegel.com/c10k.html#1:1

    Linux uses 1:1 threading model starting from kernel 2.6 (NPTL Native Posix threading library) and today almost all OSes move to this model:

    • FreeBSD starting from 7.0 if I’m not mistaken.
    • Solaris starting for some version also moved to 1:1 – I don’t remember which one.

    Once Linux had M:N model (this was in 2.4 NGPT) but 1:1 is generally superior.

    The biggest problem with M:N model is:

    1. Hard to implement
    2. When using blocking system calls you actually need to notify somehow kernel to block only one user space thread and not kernel one
    3. In age of multi cores you want to have as much kernel threads as you can.

    One of them is the hybrid (M:N) model in which some N threads of an application are mapped to some M available processors.

    Small correction – N application threads mapped to M kernel threads so they can use up to M processors.

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

Sidebar

Related Questions

I have been testing inline function calls in C++. Thread model: win32 gcc version
I have a PropertyGrid in my application that is used for editing arbitrary objects.
If, in Database A, there exists a table named MyTable that actually comes from
I am currently looking into different ways to support distributed model objects (that is,
I'm relatively new in Android's world and the UI/Thread model is still confusing. Here
I want to implement authorization in my Rails application on a model level (not
I'm writing a daemon in Java that takes in requests from multiple providers in
Is there a good way in asp.net MVC to trace ModelState errors? IsValid returns
I posted a decimal formvalue in InvariantCulture (16.4) and was surprised that it didn't
I need to know the total number of threads that my application has spawned

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.