From owner-freebsd-net@FreeBSD.ORG Fri May 23 16:47:02 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A8C85AE7 for ; Fri, 23 May 2014 16:47:02 +0000 (UTC) Received: from smtp2.wemm.org (smtp2.wemm.org [192.203.228.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp2.wemm.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F0712FF2 for ; Fri, 23 May 2014 16:47:02 +0000 (UTC) Received: from [172.16.21.76] (50-204-120-225-static.hfc.comcastbusiness.net [50.204.120.225]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: peter) by smtp2.wemm.org (Postfix) with ESMTPSA id 86F19E6 for ; Fri, 23 May 2014 09:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=m20140428; t=1400863620; bh=zvQEsijk/iDKr+9O6g/AUgB2nKva/koIIAsMy3DqA4I=; h=Date:From:To:Subject:References:In-Reply-To; b=KTVH2eXKwrZlr8JAKZBFOEa2wIJOanuAdqS6voDzkV97U4ngRd2UaJxfsizlZE5ZP 7W2KJoYNdMgqTuebooeYKTz0HMkAYYuwr9hDQ15ggDofykRtyShNZ07ghI4ElOXSpi LDMXYJ7JRAstT95Fl0qKKV9M79Ra0DIwmlwe/b08= Message-ID: <537F7B83.501@wemm.org> Date: Fri, 23 May 2014 09:46:59 -0700 From: Peter Wemm User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: mbuf_cluster (FAIL SLEEP) References: <20140523171820.e631082d8015136ac052fdbd@valuehost.ru> In-Reply-To: <20140523171820.e631082d8015136ac052fdbd@valuehost.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 16:47:02 -0000 On 5/23/14, 6:18 AM, Peter B. Pokryshev wrote: > Hi. > Is it normal after 16 days of uptime: > > # vmstat -z > ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP > ... > 16 Bucket: 152, 0, 24, 101, 193, 0, 0 > 32 Bucket: 280, 0, 38, 102, 329, 2, 0 > 64 Bucket: 536, 0, 30, 33, 487, 142, 0 > 128 Bucket: 1048, 0, 997, 11, 6717030,17345735, 0 > ... > mbuf_packet: 256, 12896820, 1449, 1646,9062649837,118865, 0 > mbuf: 256, 12896820, 2193, 1762,17686258507, 0, 0 > mbuf_cluster: 2048, 2015128, 3095, 1793,26759484,241537,1100807 > mbuf_jumbo_page: 4096, 1007563, 2160, 864,2326876443, 0, 0 > mbuf_jumbo_9k: 9216, 298537, 0, 0, 0, 0, 0 > mbuf_jumbo_16k: 16384, 167927, 0, 0, 0, 0, 0 > mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0, 0 > > I mean 128 Bucket (FAIL) and mbuf_cluster (FAIL SLEEP) Yes, this is normal and it doesn't mean what you might expect. It's a generic failure counter, not an allocation failure counter. eg: if an object that was just freed fails to fit in a per-cpu free items cache it counts as a "FAIL". -Peter