+ -
当前位置:首页 → 问答吧 → Solaris多核处理器的psradm问题

Solaris多核处理器的psradm问题

时间:2010-06-08

来源:互联网

我用虚拟机安装了Solaris9版本。启动一个4核的SPARC处理器
/usr/sbin/psradm -f id 后,发现该id的处理器处于offline状态
请问,在此状态下该处理器是否还会运行一些程序?

另外。如果我想彻底的禁掉该id的处理器,是否有什么方法?

作者: shuchang78   发布时间: 2010-06-08

--man psradm

.........

An off-line processor does not process any LWPs. Usually, an
     off-line  processor  is  not interruptible by I/O devices in
     the system. On some processors or under certain  conditions,
     it  might  not be possible to disable interrupts for an off-
     line processor. Thus, the actual effect  of  being  off-line
     might vary from machine to machine.

.......

作者: alex_xie   发布时间: 2010-06-08

学习了

作者: easybegin   发布时间: 2010-06-08

我在编写并行程序的时候,把该并行程序的线程绑定到多核处理器的某些核上,此时,我想把那些没有绑定线程的核给offline,但是我运行程序的时候发现,这样的offline会导致系统崩溃。请问,是否有什么好的办法来做到“把没有绑定的核给禁掉”?

作者: shuchang78   发布时间: 2010-06-08