From: wkeil@sevior.triumf.ca (Werner Keil)
Subject: Excessive cpu usage of low priority processes in OSF/1
Date: 16 Feb 94 22:21:23 GMT [thread overview]
Message-ID: <wkeil.761437283@sevior> (raw)
Hi everyone,
we are having problems with the cpu usage of low priority processes
on our Alphas and I was wondering if anybody else has observed this kind of behavior,
or, even better, knows a fix. Here is the problem in a nutshell:
Platforms: AXP 3000/400, OSF/1 V1.3 rev. 111; Decstation 5000/240, Ultrix 4.3.
Run two cpu-intensive, low I/O, processes, one at high (0) and one at lowest (20)
priority. On Ultrix, the low prio process will consume less than 1% (0.5% on average),
but on OSF/1 it will consistently get 20% and more! Here is a sample ps listing:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
marcello 13072 77.0 1.3 3.71M 808K ?? R 00:01:45 673:31.26 lh2batch
gingras 29052 22.0 0.3 2.29M 192K ?? R N Feb 02 5189:36.46 R8.out
where lh2batch is running at priority 0, and R8.out at 20.
Now, I know that cpu usage fluctuates and even a lowest-priority process will not
necessarily sleep or get swapped and get some cpu time (provided the system is not
too busy), but 20% (vs. 0.5% on a Decstation)?!
/usr/ucb/nice and /usr/sbin/renice (which are supposed to work in V1.3) don't
make a difference. I also did some continuous monitoring with top (Ultrix)
and syd (OSF), and the results confirm ps, so it's not just a temporary
fluctuation (provided ps and syd can be trusted). Our jobs, by the way, are
straightforward, cpu-hungry Monte Carlos with hardly any I/O; on the off-chance
that there might be something funny in the code I also tested a simple
looping csh script (while(1) ...). Result: 0 - 0.5% cpu use on Ultrix, 20 - 25%
on OSF/1!
So, what gives? Is nice/renice still broken in V1.3? Is scheduling in OSF so
different from BSD that this is actually correct behavior (hard to believe)?
Is it just some kernel parameters that need adjusting?
Any hints would be greatly appreciated (including RTFM, as long as you tell me
which FM).
Thanks,
Werner
--------------------------------------------------------------------------
Werner Keil
Systems Manager
TRIUMF/University of BC
Vancouver, BC
wkeil@reg.triumf.ca
wkeil@ubcd05.physics.ubc.ca
next reply other threads:[~1994-02-16 22:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-16 22:21 Werner Keil [this message]
1994-03-09 17:33 ` Excessive cpu usage of low priority processes in OSF/1 dickow
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox