AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Runque and free CPU capacity?

    Posted Wed February 01, 2006 08:21 AM

    Originally posted by: SystemAdmin


    Hi,
    I am a fan of nmon, and have used the tool since nmon4. Today we are mostly using nmon10r, and often make new experiences.

    In this case we have a P570 with 8 physical CPU's. Can You please tell me why this server have free CPU capacity when the runque is 4. I don't expect free cpu's when there are runque.

    Teamco


    Hi,

    There are two meanings to the computing term "run queue"
    1) processes that are on the queue waiting for CPU time
    2) processes that are in the RUN state and might be on the CPU or waiting

    In this case we have type 2

    thanks Nigel Griffiths


  • 2.  Re: Runque and free CPU capacity?

    Posted Wed February 01, 2006 02:44 PM

    Originally posted by: VirtualGreg


    I too have run across the irony of a high run queue with idle processor resources. This is entirely possible. The best explanation is that you have a bunch of threads waiting on the same thing, such as a lock. When the contrained resource becomes available, a bunch of threads wake up, one gets access to the resource and the same happens again shortly thereafter. I'm simplifying things quite a bit, but that's the general idea and very likely what you are seeing.