From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 31 20:37:17 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 886C3272; Wed, 31 Oct 2012 20:37:17 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3032D8FC08; Wed, 31 Oct 2012 20:37:16 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so2359196obb.13 for ; Wed, 31 Oct 2012 13:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=a9SkzuXNK/nvUzxz/CE4KNZz8btbE+5hMwrGNzaMqx4=; b=db6cEbLELoZV6zgiz7Lug4Dm2dxis1nd6v826G0SAf1wUs4aOL50/3t8ZXA0+NfdLv er6KkmSjahX9Ums7tRsxlcDVaSYt8IEL2C/AWtaZhol6rMYOn/+kAeR8InEcI6KEYE4O pQCb5idSoINdu85F4TJJF60+J9XLr+7zCF1MVtvBAW/8+jKQx30DB/Jw9UfAEjW6I5yg 2TXTfiKjNCEsiZvKiZYyDir2IwFruL4cat4bFXEWt+OofKhq49vBlYl8bQWvyDGB1QTP lqmkEVdqguX3LnvL29qpGTFnMj5tMPegUJCTQy9WK15l4gBbJNRXrpnVd1QEDkUHGh0K F/8A== MIME-Version: 1.0 Received: by 10.60.169.170 with SMTP id af10mr32870616oec.17.1351715836594; Wed, 31 Oct 2012 13:37:16 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Wed, 31 Oct 2012 13:37:16 -0700 (PDT) In-Reply-To: <20121031190623.GL73505@kib.kiev.ua> References: <615577FED019BCA31EC4211B@Octca64MkIV.tdx.co.uk> <509012D3.5060705@mu.org> <20121030175138.GA73505@kib.kiev.ua> <20121031140630.GE73505@kib.kiev.ua> <20121031172136.GB21003@dan.emsphone.com> <1351707655.1120.94.camel@revolution.hippie.lan> <20121031190623.GL73505@kib.kiev.ua> Date: Wed, 31 Oct 2012 13:37:16 -0700 Message-ID: Subject: Re: Threaded 6.4 code compiled under 9.0 uses a lot more memory?.. From: Garrett Cooper To: Konstantin Belousov Content-Type: text/plain; charset=ISO-8859-1 Cc: Ian Lepore , Adrian Chadd , freebsd-hackers@freebsd.org, Alfred Perlstein , Dan Nelson , Karl Pielorz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 20:37:17 -0000 On Wed, Oct 31, 2012 at 12:06 PM, Konstantin Belousov wrote: ... > If not wired, swapout might cause a delay of the next pat, leading to > panic. Yes. We need to write microbenchmarks and do more careful analysis to figure out where and why things have grown. Maybe a mock daemon and application (single and multithreaded) would be a good start? There are some example programs in the open_posix_testsuite (see LTP) that might be good for at least getting non-daemon apps that use pthreads that can be used for instrumenting where and why things have changed. Thanks! -Garrett