由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Linux used to have multi level scheduler, but failed
相关主题
golang 怎么把"image"库都放标准库里了?请教register
magagop可以看看这些基本golang scheduler的资料register variable
问个弱智问题一个有向图问题
why do we need to map user threads to kernel threads?[合集] question about the kernel scheduler (转载)
请教牛人:自学内核编程怎么开始呢One OS scheduling question (转载)
给大家推荐一个学习golang的好去处qsub callback question
If using C++, please avoid the use of STL for these questio (转载)有没有人玩过XSupplicant
大家都用什么工具来profile C/C++程序[请教]friend class in C++ template
相关话题的讨论汇总
话题: scheduler话题: level话题: kernel话题: linux
进入Programming版参与讨论
1 (共1页)
c*******v
发帖数: 2599
1
golang搞的三层scheduler,没有大面积抱怨,被迫改掉。是非常不容易的。
https://lwn.net./Articles/10465/
the new library is based on an 1-on-1 model. Earlier design
documents stated that an M-on-N implementation was necessary to
support a scalable thread library. This was especially true for
the IA-32 and x86-64 platforms since the ABI with respect to threads
forces the use of segment registers and the only way to use those
registers was with the Local Descriptor Table (LDT) data structure
of the processor.
The kernel limitations the earlier designs were based on have been
eliminated as part of this project, opening the road to a 1-on-1
implementation which has many advantages such as
+ less complex implementation;
+ avoidance of two-level scheduling, enabling the kernel to make all
scheduling decisions;
+ direct interaction between kernel and user-level code (e.g., when
delivering signals);
+ and more and more.
It is not generally accepted that a 1-on-1 model is superior but our
tests showed the viability of this approach and by comparing it with
the overhead added by existing M-on-N implementations we became
convinced that 1-on-1 is the right approach.
1 (共1页)
进入Programming版参与讨论
相关主题
NYSE有没有web services可以下载他们的holiday schedule?请教牛人:自学内核编程怎么开始呢
请教一个linux下面的多线程semaphore的问题。给大家推荐一个学习golang的好去处
multithread app的design要注意哪些问题?If using C++, please avoid the use of STL for these questio (转载)
我来说说为什么现在做底层前途不大大家都用什么工具来profile C/C++程序
golang 怎么把"image"库都放标准库里了?请教register
magagop可以看看这些基本golang scheduler的资料register variable
问个弱智问题一个有向图问题
why do we need to map user threads to kernel threads?[合集] question about the kernel scheduler (转载)
相关话题的讨论汇总
话题: scheduler话题: level话题: kernel话题: linux