Linux走向真正的CPU热插拔支持

最新ubuntu/linux/开源新闻或者其它IT相关资讯
回复
头像
vikyzhang
帖子: 677
注册时间: 2010-10-18 14:39
联系:

Linux走向真正的CPU热插拔支持

#1

帖子 vikyzhang » 2012-12-12 21:00

来源:http://www.linux-ren.org/forum.php?mod= ... muid=65210

Linux 3.8内核其实还没有“真正的”CPU热插拔支持,但是开发人员已经在不断接近。今天早上,Ingo Molnar提交了关于在Linux 3.8版本中提供对x86处理器通用性支持的pull request。尽管Linux内核已经有了对CPU热挺拔的支持,然而到目前为止,首个(启动)处理器仍然无法热挺拔。
如果此功能能在Linux 3.8上实现,启动处理器的联机/脱机将有望变得和其他x86 CPU一样。此特性首先将为Intel CPU所支持。在Linux 3.8中,该特性将由一个默认禁用的配置选项所设置。

转载请注明:Linux人社区>英文资讯翻译专版.编译
英文原文:Linux Works Towards True CPU Hotplug Support
Posted by Michael Larabel on December 11, 2012
One of the first pull requests sent in following the the Linux 3.7 kernel release is for getting closer to "true CPU hotplug support" with the Linux 3.8 kernel.
There isn't yet "true" CPU hotplug support for Linux 3.8, but developers are getting closer. Ingo Molnar sent in this morning the x86 genericpull request for 3.8. While the Linux kernel has had CPU hotplugging support, up to this point you haven't been able to hotplug the first (boot) processor.
With this pull for the Linux 3.8 kernel, it will become possible to online/offline the boot processor just like any other x86 CPUs. This feature right now will be supported first by Intel CPUs. For 3.8, this feature is behind a configuration option that is disabled by default.
This tree enables CPU#0 (the boot processor) to be onlined/offlined on x86, just like any other CPU. Enabled on Intel CPUs for now.

Allowing this required the identification and fixing of latent CPU#0 assumptions (such as CPU#0 initializations, etc.) in the x86 architecture code, plus the identification of barriers to BSP-offlining, such as active PIC interrupts which can only be serviced on the BSP.

It's behind a default-off option, and there's a debug option that allows the automatic testing of this feature.

The motivation of this feature is to allow and prepare for true CPU-hotplug hardware support: recent changes to MCE support enable us to detect a deteriorating but not yet hard-failing L1/L2 cache on a CPU that could be soft-unplugged - or a failing L3 cache on a multi-socket system.

Note that true hardware hot-plug is not yet fully enabled by this, because that requires a special platform wakeup sequence to be sent to the freshly powered up CPU#0. Future patches for this are planned, once such a platform exists. Chicken and egg
Linux人社区开源新闻资讯翻译专版小编。翻译来自互联网上最新的英文开源资讯,提供给大家最迅即、最忠实于原文的开源业界动态、软件更新、有用技能等等。不至之处欢迎指正![email protected]
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: Linux走向真正的CPU热插拔支持

#2

帖子 YeLee » 2012-12-12 21:00

这建议真不错。 :em04 :em04 :em04
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
wbprime
帖子: 445
注册时间: 2010-03-17 17:03
来自: 北京市海淀区

Re: Linux走向真正的CPU热插拔支持

#3

帖子 wbprime » 2012-12-12 21:34

真心很牛 就是不知道能干嘛
头像
monk
帖子: 19507
注册时间: 2010-01-28 10:45

Re: Linux走向真正的CPU热插拔支持

#4

帖子 monk » 2012-12-12 21:42

适合服务器用

*********宁静致远*********
如果我说的有什么不对,请看签名第一行
yslgood
帖子: 8
注册时间: 2012-11-30 9:36
系统: ubuntu 12.10

Re: Linux走向真正的CPU热插拔支持

#5

帖子 yslgood » 2012-12-13 11:41

这个看不懂哦,cpu坏了换新的用的吗?那换的时候是怎么处理数据的?是不是为了省去重启电脑的时间? :em05

是不是双CPU坏掉一个更换新的用的? :em06
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: Linux走向真正的CPU热插拔支持

#6

帖子 iamfbi » 2012-12-13 11:51

:em06 难道是外挂CPU么?像USB设备一样。。要几个就插几个。。
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
jtshs256
帖子: 22323
注册时间: 2010-07-19 21:41
系统: OS X

Re: Linux走向真正的CPU热插拔支持

#7

帖子 jtshs256 » 2012-12-13 12:23

卖糕的…… :em20
躺平
onlylove
论坛版主
帖子: 5371
注册时间: 2007-01-14 16:23

Re: Linux走向真正的CPU热插拔支持

#8

帖子 onlylove » 2012-12-13 15:28

像IBM的机器那样……机器CPU不够了,直接拿来个盒子,往服务器上一塞,然后就多了N个CPU?
#include <stdio.h>
void main()
{
double world;
unsigned letter;
short stay;
long memories;
printf("I miss you.\n");
}
大碗茶
帖子: 63
注册时间: 2009-05-05 16:29

Re: Linux走向真正的CPU热插拔支持

#9

帖子 大碗茶 » 2012-12-13 17:06

“您已经安全的弹出CPU”....

“您不能弹出最后一个CPU”.......

“您确定要弹出这个CPU吗?”............
回复