禁用CPUpipe理

如果我将下面的processor.max_cstate=0添加到启动的内核命令行,是否会禁用所有的CPU电源pipe理和调节?

我还发现: http : //www.experts-exchange.com/OS/Linux/Administration/A_3492-Avoiding-CPU-speed-scaling-in-modern-Linux-distributions-Running-CPU-at-full-speed- tips.html请

所有CPU /核心的链接都会将Change CPU调速器从“ondemand”改为“performance”,并从内核中禁用kondemand。

服务器用于虚拟主机

更新:

 2.6.32-379.1.1.lve1.1.7.6.el6.x86_64 #1 SMP Sat Aug 4 09:56:37 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux 

  # dmidecode 2.11 SMBIOS 2.6 present. 74 structures occupying 2878 bytes. Table at 0x0009F000. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: American Megatrends Inc. Version: 1.0c Release Date: 05/27/2010 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 4096 kB Characteristics: ISA is supported PCI is supported PNP is supported BIOS is upgradeable BIOS shadowing is allowed ESCD support is available Boot from CD is supported Selectable boot is supported BIOS ROM is socketed EDD is supported 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported LS-120 boot is supported ATAPI Zip drive boot is supported BIOS boot specification is supported Targeted content distribution is supported BIOS Revision: 8.16 Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: Supermicro Product Name: X8SIE Version: 0123456789 Serial Number: 0123456789 UUID: 49434D53-0200-9033-2500-33902500D52C Wake-up Type: Power Switch SKU Number: To Be Filled By OEM Family: To Be Filled By OEM Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: Supermicro Product Name: X8SIE Version: 0123456789 Serial Number: VM11S61561 Asset Tag: To Be Filled By OEM Features: Board is a hosting board Board is replaceable Location In Chassis: To Be Filled By OEM Chassis Handle: 0x0003 Type: Motherboard Contained Object Handles: 0 Handle 0x0003, DMI type 3, 21 bytes Chassis Information Manufacturer: Supermicro Type: Sealed-case PC Lock: Not Present Version: 0123456789 Serial Number: 0123456789 Asset Tag: To Be Filled By OEM Boot-up State: Safe Power Supply State: Safe Thermal State: Safe Security Status: None OEM Information: 0x00000000 Height: Unspecified Number Of Power Cords: 1 Contained Elements: 0 

这将是您硬件设置的function。
请提供服务器make / model和Linux发行版/内核。

最大限度地提高服务器性能的过程,取决于您可以使用的内容,

例如:

  • Red Hat 6系统具有禁用CPU调速器的tuned-adm框架。 ( 另请参见此图。 )
  • HP ProLiant服务器(及其他)具有特定的调整指南和步骤,可实现低延迟和性能优化的设置。
  • 大多数硬件供应商都有特定的BIOS设置可以帮助(禁用C状态和P状态 – 也是频率缩放)。

所以,请提供更多关于你在找什么的背景。

检查此答案中列出的matrix,以获取有关RHEL方法的一些常规信息。

编辑:从你的内核string,这似乎是一个红帽般的基于RPM的系统。

我会build议下载tuned-adm实用程序并更改系统的性能configuration文件来完成你想要的function。

在你的情况下:

 yum install tuned tuned-utils tuned-adm profile latency-performance 

或者可能:

 tuned-adm profile enterprise storage 

要么会禁用CPU调速器。

系统设置和configuration文件按照以下日程安排: