|
官方说明是:
* Added "-noaff" command-line option to disable setting of thread affinity
高手的解释是:
-noaff 是指 no affinity,就是用来关闭 CPU 例程指定功能的。
monkie 发表于 2008-10-23 09:45
查到老外的说法是:
Any chance to fix win32 hlds using only first core? We almost used to
changing affinity with external tool but still it would be nice to see
it fixed.
Best regards,
Roman
That is in there because of certain AMD cpu's having dodgy timing when
switching between cores, those bad CPU's are still in the field so
unfortunately no. I can wrap a bit of code around it so you can disable
that functionality when you know you are running on a good CPU.
- Alfred
The Counter-Strike 1.6 Beta has been updated. Please run hldsupdatetool
to receive the updates. The specific changes are:
- Added "-noaff" option for dedicated servers so it won't bind to CPU 0
on windows
Jason
我在几台不同的服务器上测试,一个服务端都只在1个核上跑,怎么指定,这个参数加不加,都没用!
测试服务器有INTEL 4核的,有INTEL老志强HT双CPU的,有AMD 双核双CPU的,有AMD 单核双CPU的。
测试平台包括WIN2003和WIN2008。 |
|