Subject: port-sparc64/25537: systat buf output on sparc64 missing pieces of information
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@netbsd.org>
List: netbsd-bugs
Date: 05/11/2004 13:29:49
>Number:         25537
>Category:       port-sparc64
>Synopsis:       systat buf output on sparc64 missing pieces of information
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 11 11:30:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 2.0E 10 May 2004
>Organization:
>Environment:
System: NetBSD mizar.urc.uninett.no 2.0E NetBSD 2.0E (MIZAR) #29: Mon May 10 09:19:54 CEST 2004  he@mizar.urc.uninett.no:/usr/obj/sys/arch/sparc64/compile/MIZAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	The display of "systat buf" on sparc64 with sparc64 userland
	shows "0 KBytes" in the metadata information, and is missing
	the file system specific part of the display.  Example output
	from the above host:


                    /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
     Load Average   ||||||  

There are  6934 metadata buffers using                0 kBytes of memory.
There are 42595 pages for cached file data using 340760 kBytes of memory.
There are  1216 pages for executables using        9728 kBytes of memory.




	In comparison, one of my i386 hosts shows:


                    /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
     Load Average   |||||||||||||||||||||||||   

There are  1964 metadata buffers using             9606 kBytes of memory.
There are 38370 pages for cached file data using 153480 kBytes of memory.
There are  2144 pages for executables using        8576 kBytes of memory.

File System          Bufs used   %   kB in use   %  Bufsize kB   %  Util %
/usr                      1939  98        9435  98        9478  99     100
/                           10   0          61   1          61   1     100
/var                         8   0          31   0          31   0     100
/tmp                         7   0          34   0          36   0      94

Total:                    1964 100        9561 100        9606 100     100



	Just as an additional point, an alpha host running 2.0_BETA
	shows:


                    /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
     Load Average   ||||| 

There are  60699 metadata buffers using            148209 kBytes of memory.
There are  83354 pages for cached file data using  666832 kBytes of memory.
There are   1414 pages for executables using        11312 kBytes of memory.

File System          Bufs used   %   kB in use   %  Bufsize kB   %  Util %
/usr                     60501  99      147004  99      147451  99     100
/var                       114   0         419   0         421   0     100
/                           71   0         266   0         267   0     100
/tmp                        12   0          61   0          69   0      88

Total:                   60698  99      147750 100      148208 100     100


	...so this does not appear to be a generic LP64 bug.


>How-To-Repeat:
	Run "systat buf", observe output.

>Fix:
	Sorry, don't know (yet), so none supplied.
>Release-Note:
>Audit-Trail:
>Unformatted: