From owner-freebsd-hackers@freebsd.org Tue Oct 20 21:59:54 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3727A1AF3A for ; Tue, 20 Oct 2015 21:59:54 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E55EB2E for ; Tue, 20 Oct 2015 21:59:54 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA for ; Tue, 20 Oct 2015 22:00:00 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t9KLxkhr013544 for ; Tue, 20 Oct 2015 15:59:46 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1445378386.14127.2.camel@freebsd.org> Subject: vmstat -m strangeness From: Ian Lepore To: freebsd-hackers Date: Tue, 20 Oct 2015 15:59:46 -0600 Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 21:59:54 -0000 root@wand:~ # vmstat -m | egrep "busdma|bounce|devbuf|Type" Type InUse MemUse HighUse Requests Size(s) devbuf 125 10K - 166 16,32,64,256,512,1024 busdma 922 116K - 922 128 bounce 385 775K - 385 32,128 How do 385 allocations of 32 or 128 bytes add up to 775K? The answer... 768K of individual pages each allocated via contigmalloc() do n't show up in that output. Why is that, and is it something that should be fixed? -- Ian