51Testing软件测试论坛

标题: Processor Queue Length 计算问题 [打印本页]

作者: adiao    时间: 2009-2-19 16:31
标题: Processor Queue Length 计算问题
在帮助文档上对于此参数的描述是:
Processor Queue Length 是指处理列队中的线程数。即使在有多个处理器的计算机上处理器时间也会有一个单列队。不象磁盘计数器,这个计数器仅计数就绪的线程,而不计数运行中的线程。如果处理器列队中总是有两个以上的线程 通常表示处理器堵塞。

小于2。显示在由 Web服务器所有处理器共享的队列中等待执行的线程数。处理器瓶颈会导致该值持续大于 2。

假设服务器CPU是2个4核的CPU,那么在分析结果中是不是只要该计数器大部分时间>=2*4*2=16就认为处理器存在瓶颈呢?
作者: chare    时间: 2009-2-19 21:48
For busy systems that experience processor utilization in the 80 to 90 percent range and use thread scheduling, the queue length should range from one to three threads per processor. For example, on a four-processor (4P) system, the expected range of processor queue length on a system with high CPU activity is 4 to 12.
4CPU的处理器系统,期望的处理队列长度是4-12,所以你问的那个我觉得应该是8~24,啊哈哈。。好像也没给你什么帮助,只是大概知道有这回事吧

• On systems with lower CPU utilization, the processor queue length is typically 0 or 1.

• For systems running services that use fiber scheduling, such as Microsoft® SQL Server™ version 7.0, the typical processor queue length will range between 0 and 1, because there is a single thread on each processor that schedules fibers within the thread. (Fiber scheduling is enabled when the lightweight pooling option is selected

http://www.microsoft.com/technet ... _kfhm.mspx?mfr=true
作者: adiao    时间: 2009-2-20 11:03
多谢~




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2