Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 1999 19:02:30 -0500 (EST)
From:      "Christopher T. Johnson" <cjohnson@neunacht.netgsi.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/9935: vmstat reports bad AVM values
Message-ID:  <199902070002.TAA42301@neunacht.netgsi.com>

next in thread | raw e-mail | index | archive | help

>Number:         9935
>Category:       kern
>Synopsis:       vmstat reprots bad AVM values
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb  6 16:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Christopher T. Johnson
>Release:        FreeBSD 3.0-STABLE i386
>Organization:
NetGSI, Inc
>Environment:

	FreeBSD 3.0-STABLE i386 as of Feb 5, 1999
	Mutliple machines

>Description:

	AVM sizes are being reported badly.  If vmstat is run just after booting
	values are reasonable, but after a large memory process is started,
	avm goes wild.
vmstat -c2 5
procs      memory     page                   disks        faults      cpu
r b w     avm   fre  flt  re  pi  po  fr  sr fd0 wd0 da0   in   sy  cs us sy id
0 0 0 3688664  7128   10   0   0   0  10   2   0   0   0  235   94  10 14  1 86
0 0 0 3688664  7128    1   0   0   0   0   0   0   0   0  231    9   4  0  0 100

A check of the values returned by sysctl are strange:
vm.vmmeter: Format:S,vmtotal Length:48 Dump:
0x0200		t_rq
  0000		t_dw
  0000		t_pw
  0b00		t_sl
  0000		t_sw
  0000 (Fill, not used)
  6a4e1180	t_vm
  41140e00	t_avm
  e3170000	t_rm
  08050000	t_arm
  dd0b0000	t_vmshr
  f8020000	t_avmshr
  78030000	t_rmshr
  54010000	t_armshr
  91060000	t_free

given that I only have 192M of swap or so and 32M of real memory, the
value of t_vm and t_avm seem more than a little large.

Device      1K-blocks     Used    Avail Capacity  Type
/dev/da0s1b     65536    14372    51036    22%    Interleaved
/dev/wd0s1b    131072    14220   116724    11%    Interleaved
Total          196352    28592   167760    15%

This repeats on another machine running the same STABLE.


>How-To-Repeat:

boot system
login
vmstat -c2 5
startx	(I have a 4MB board and run in 24bit mode at 1280@1024)
vmstat -c2 5


>Fix:
	
	

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902070002.TAA42301>