Technical article 109419

vhand consumes CPU resources but free memory has not fallen below GPGSLO in OpenServer 5.

OpenServer 5.0.4

Written · Last revised

Problem

Systems with large amounts of memory, typically in excess of 256MB, can under certain conditions become severely CPU-bound with no apparent cause.

Symptoms may include sar -u displaying %idle as consistently 0
and sar -q displaying a process runq-sz of 2 or 3.  They will
definitely include ps -ef displaying a non-zero TIME value for
the vhand system process, even though the freemem figure reported
by sar -r has not dropped below the value of the kernel parameter
GPGSLO since the system was booted.
It is highly likely that systems displaying these symptoms will
have had the buffer cache parameters NBUF and NHBUF increased from
their auto-configured defaults.  It is also likely that these
systems will be running applications that make heavy use of pipes.

Solution

This problem has been resolved in SCO OpenServer Release 5.0.5.

For earlier releases, a workaround that has been successful in a
number of cases is to remove the High Performance Pipe System (HPPS)
driver from the kernel.  The HPPS driver implements pipes which,
unlike the older type of UNIX System V (S5) and XENIX filesystem
pipes, do not store data in the buffer cache, and are therefore
not accessed via disk inodes.  Thus, they are typically 50% faster
than the older type, but the benefit of removing the HPPS driver
from systems exhibiting the above behavior will probably far
outweigh the loss of this performance enhancement.

Follow these steps to remove the HPPS driver:

1.  Start scoadmin(ADM) and select the Hardware/Kernel Manager.
2.  Highlight the High Performance Pipe System driver and select
    the Configure Driver option.
3.  Select the option labeled 'Remove hpps module from the kernel'
    and accept the options to relink the kernel.
4.  Reboot the system.

See also

pipe(ADM), ps(C), sar(ADM), SCO OpenServer Performance Guide

From the Xinuos technical article database, record 109419. Reproduced with permission. The original is at www.sco.com/ta/109419, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.