From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 21:31:23 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D88461065675; Wed, 26 May 2010 21:31:23 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3953A8FC15; Wed, 26 May 2010 21:31:22 +0000 (UTC) Received: by fxm12 with SMTP id 12so202231fxm.13 for ; Wed, 26 May 2010 14:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=DThanP05aW/+M1ZNi6m7goyC/mcJs52Mm8E4DL8W5VM=; b=KfIXdRBECSqHt+PMqbw1RbqWphq/liP030OYhAFpRhi2HXvUPise5+6APGvX34mbPn XDFQx3YGy4Y/4TlbW3+Hp6ANiGM14XDINLWmZ4F57w39fbZv3gIcyMcT9Wo6w7xYrhCh Sau/uZE7kK6ayV0QpHlUPge2I1o9CC6b0KkXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=yEK3iJB+465D92jma1b3m2yNoZ/IWPmN4KbOF+cIsoUE5tIKeljFqJ4sxUoGXkD3Ly 0k/HJyv+Gotp8uH2VBwz99CStSK2pw2qTTrlL6ctRXc+FBC98BsGuvXS07MK5Tc4sgvm vVrA8lzxX6xULbIFGZPthep9JUzWNf4t2EF7Y= Received: by 10.204.36.209 with SMTP id u17mr1189943bkd.184.1274909481232; Wed, 26 May 2010 14:31:21 -0700 (PDT) Received: from centel.dataix.local (adsl-99-19-40-41.dsl.klmzmi.sbcglobal.net [99.19.40.41]) by mx.google.com with ESMTPS id d5sm2205273bkd.7.2010.05.26.14.31.18 (version=SSLv3 cipher=RC4-MD5); Wed, 26 May 2010 14:31:20 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4BFD9325.50905@dataix.net> Date: Wed, 26 May 2010 17:31:17 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100515 Thunderbird MIME-Version: 1.0 To: Sean Bruno References: <1274739973.31299.23.camel@localhost.localdomain> <4BFBD838.40208@dataix.net> <1274798852.4715.1.camel@localhost.localdomain> <1274894969.2481.47.camel@localhost.localdomain> In-Reply-To: <1274894969.2481.47.camel@localhost.localdomain> X-Enigmail-Version: 1.0.1 OpenPGP: id=89D8547E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers , "sbruno@freebsd.org" Subject: Re: Exposing Zone Sleeps X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 21:31:23 -0000 On 05/26/2010 13:29, Sean Bruno wrote: > On Tue, 2010-05-25 at 07:47 -0700, Sean Bruno wrote: >>> Hi Sean, >>> >>> Nice work on this. I applied this to stable/8 r208530 and I am in the >>> process of compiling the kernel right now. Everything else has built & >>> runs as expected "i386". Attached is the adjusted patch which was one >>> modification to the line number for uz_sleeps in sys/vm/uma_int.h. >>> >>> 8 files changed, 106 insertions(+), 7 deletions(-) >>> >>> For those wishing to apply this patch and test for them self: >>> >>> cd /usr/src >>> patch >> cd /usr/src/include >>> make obj && make depend && make includes && make install >>> cd /usr/src/lib/libmemstat >>> make obj && make depend && make includes && make install >>> cd /usr/src/usr.bin/vmstat >>> make obj && make depend && make install >>> cd /usr/src >>> make kernel KERNCONF=YOUR_KERN_CONF >>> reboot >>> >>> Can't wait to see some results from this & I will report back with >>> either negative results of the build & run or positive results from the >>> stats collected. >>> >>> If there is anything needed feel free to let me know and I will do what >>> is possible ASAP. >>> >>> Thanks again, >>> >>> - -- >>> >>> jhell >> >> Excellent. Please check the output of vmstat -z and the appropriate >> sysctl. I changed the display a bit to keep it from wrapping on a >> standard terminal. >> >> Sean >> >> P.S. My intention it to MFC this to all releases. >> > > I do have a concern related to the removal of an #ifdef DDB in this > patch. Any comments? > > Sean This was in your original patch sent to the list. I questioned it too but as far as testing it goes it has caused no harm that I can see here but I will add those back in along with the improvements from Garrett, then regenerate the patch and send it back to the list. Regards, -- jhell