51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4706|回复: 2
打印 上一主题 下一主题

[原创] Processor Queue Length 计算问题

[复制链接]
  • TA的每日心情
    无聊
    2014-11-17 11:08
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2009-2-19 16:31:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    在帮助文档上对于此参数的描述是:
    Processor Queue Length 是指处理列队中的线程数。即使在有多个处理器的计算机上处理器时间也会有一个单列队。不象磁盘计数器,这个计数器仅计数就绪的线程,而不计数运行中的线程。如果处理器列队中总是有两个以上的线程 通常表示处理器堵塞。

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

    假设服务器CPU是2个4核的CPU,那么在分析结果中是不是只要该计数器大部分时间>=2*4*2=16就认为处理器存在瓶颈呢?
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    该用户从未签到

    2#
    发表于 2009-2-19 21:48:25 | 只看该作者
    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
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    无聊
    2014-11-17 11:08
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    3#
     楼主| 发表于 2009-2-20 11:03:01 | 只看该作者
    多谢~
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-9-20 22:40 , Processed in 0.062487 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表