From owner-freebsd-hackers@freebsd.org Mon Jan 22 17:00:59 2018 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 659C2ECA53D for ; Mon, 22 Jan 2018 17:00:59 +0000 (UTC) (envelope-from mail@kkoenig.net) Received: from mx1.outerhaven.de (mx1.outerhaven.de [81.14.236.89]) (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 F07308490D for ; Mon, 22 Jan 2018 17:00:58 +0000 (UTC) (envelope-from mail@kkoenig.net) Received: from [192.168.2.245] (big-shell.lan [192.168.2.245]) by mx1.outerhaven.de (OpenSMTPD) with ESMTPSA id a4810e8f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Mon, 22 Jan 2018 18:00:54 +0100 (CET) To: freebsd-hackers@freebsd.org From: =?UTF-8?Q?Karsten_K=c3=b6nig?= Subject: Question about 'anonymous' UMA zones Message-ID: Date: Mon, 22 Jan 2018 18:00:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 22 Jan 2018 17:07:31 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 17:00:59 -0000 Hello y'all, I'm sorry for cross-posting but after second examination this list feels more appropriate for my question. I just played a little bit with the zone allocator of the FreeBSD kernel and observed the following: All 'anonymous' zones (is this the appropriate term?) with a size smaller than 512 Bytes have no slabs in my 11.1-VM. This is not the case on my bare metal server (11.1, too). This is the output: # vmstat -z ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP ... 16: 16, 0, 0, 0, 0, 0, 0 32: 32, 0, 0, 0, 0, 0, 0 64: 64, 0, 0, 0, 0, 0, 0 128: 128, 0, 0, 0, 0, 0, 0 256: 256, 0, 0, 0, 0, 0, 0 512: 512, 0, 7906, 70, 97681, 0, 0 ... I would like to know why this is the case; can someone explain this to me? What happens if I allocate e.g. a 256 Byte buffer? Best, Karsten