Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Scheduler activations

From HandWiki - Reading time: 1 min

Scheduler activations are a threading mechanism that, when implemented in an operating system's process scheduler, provide kernel-level thread functionality with user-level thread flexibility and performance. This mechanism uses a so-called "N:M" strategy that maps some N number of application threads onto some M number of kernel entities, or "virtual processors." This is a compromise between kernel-level ("1:1") and user-level ("N:1") threading. In general, "N:M" threading systems are more complex to implement than either kernel or user threads, because both changes to kernel and user-space code are required. Scheduler activations were proposed by Anderson, Bershad, Lazowska, and Levy in Scheduler Activations: Effective Kernel Support for the User-Level Management of Parallelism in 1991.[1] Support was implemented in the NetBSD kernel by Nathan Williams[2] but has since been abandoned in favor of 1:1 threading.[3] FreeBSD had a similar threading implementation called Kernel Scheduled Entities which is also being retired in favor of 1:1 threading. Scheduler activations were also implemented as a patch for the Linux kernel by Vincent Danjean: Linux Activations, the user-level part being done in the Marcel thread library.

References

  1. Anderson, Thomas E.; Bershad, Brian N.; Lazowska, Edward D.; Levy, Henry M. (September 1991). "Scheduler activations: Effective kernel support for the user-level management of parallelism". Proceedings of the thirteenth ACM symposium on Operating systems principles. pp. 95–109. doi:10.1145/121132.121151. ISBN 0897914473. https://dl.acm.org/doi/10.1145/121132.121151. 
  2. An Implementation of Scheduler Activations on the NetBSD Operating System
  3. Significant changes from NetBSD 4.0 to 5.0





Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Scheduler_activations
4 views | Status: cached on September 11 2024 09:23:29
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF