Subject: port-macppc/13521: CPU-bound process gets less and less CPU, RES increases
To: None <gnats-bugs@gnats.netbsd.org>
From: Torbjorn Granlund <tege@haj.swox.se>
List: netbsd-bugs
Date: 07/21/2001 02:46:08
>Number:         13521
>Category:       port-macppc
>Synopsis:       CPU-bound process gets less and less CPU, RES increases
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 20 17:44:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Torbjorn Granlund
>Release:        NetBSD 1.5.1
>Organization:
Swox AB
>Environment:
	
System: NetBSD haj 1.5.1 NetBSD 1.5.1 (POWERMAC) #1: Sat Jul 21 02:06:39 CEST 2001 tege@haj:/usr/src/sys/arch/macppc/compile/POWERMAC macppc


>Description:
A CPU-bound job, well within the memory use limits that should not cause
thrashing, gets limited CPU while "RES" memory increases beyond all
limits.  This makes 1.5.1 utterly unusable on this platform.
After a while, it looks like this in top:

load averages:  1.99,  1.47,  1.32                                     02:41:02
20 processes:  19 sleeping, 1 on processor
CPU states:  0.0% user,  5.0% nice,  4.0% system,  0.0% interrupt, 91.0% idle
Memory: 31M Act, 16M Inact, 3920K Wired, 912K Free, 55M Swp, 202M Swp free

  PID USERNAME PRI NICE   SIZE   RES STATE     TIME   WCPU    CPU COMMAND
  233 tege      -5   20    46M 1175M sleep    26:02 40.53% 40.53% gnfsnew
  692 tege      28    0   200K  944K onproc    0:00  0.54%  0.10% top
...
>How-To-Repeat:
Start a CPU bound job, watch it with ps or top.  In case you cannot reproduce,
I'll be more than happy to supply every detail of setup.
The kernels used were both untouched GENERIC and a POWERMAC with NFS client
added.  The machine is newly installed.
>Fix:
None known.
For now, I have no other option than downgrade the machine to Linsux.
>Release-Note:
>Audit-Trail:
>Unformatted: