From owner-freebsd-performance@FreeBSD.ORG Tue Apr 24 21:22:04 2012 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADE6E1065674; Tue, 24 Apr 2012 21:22:04 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8018FC16; Tue, 24 Apr 2012 21:22:04 +0000 (UTC) Received: by yenl9 with SMTP id l9so959924yen.13 for ; Tue, 24 Apr 2012 14:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xh0JnGtjP9zvGEjHTr+fnSjTEwr3Mi3MoM3Od6rENWQ=; b=n+99r9zX6W5BXfAYc4RnRMYWw5FYozKUJPn44OD2oI7gI6kM9sINTzuDultmMFDA4o iMAUleBAvqkAIX/+KkUbRA/eSf6edmeRwuZR+3gB+wVntbPzOyAzNy3hne7XukDakTHE r0o8Y2Nn3sb1bvFqgV38jaX6Bv/Ppmm+XuEbr27GV+7wxscXyTrgw2oZIpHwQsPpjZXd F4MG7Wgwlq8nWI71df1L8iyzL+Sc9nlQkJePTB9ubgjkPwlZ+MND6uFC+VhwYeGW/kjR d2a9l2pavzrQKtR1t2PhYql7FBzYPhLHq4C5WwKnxJThIVgmL5sDjLFQzSOHf0GxsJSh Pubw== MIME-Version: 1.0 Received: by 10.50.194.232 with SMTP id hz8mr47028igc.38.1335302523296; Tue, 24 Apr 2012 14:22:03 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.50.129.39 with HTTP; Tue, 24 Apr 2012 14:22:03 -0700 (PDT) In-Reply-To: References: <20120424191415.GE76983@zxy.spb.ru> <20120424203658.GR32749@zxy.spb.ru> <20120424204533.GS32749@zxy.spb.ru> Date: Tue, 24 Apr 2012 23:22:03 +0200 X-Google-Sender-Auth: 2wZTquXOFFKxG1_wdQDhVt1Xoj8 Message-ID: From: "K. Macy" To: Slawa Olhovchenkov Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-performance@freebsd.org, freebsd-current@freebsd.org Subject: Re: pmap and mtx scalability problem X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2012 21:22:04 -0000 You can try these. Your mileage *will* vary. https://gitorious.org/~kmm/freebsd/kmm-sandbox/commits/work/svn_release_8_1= _0_page_lock https://gitorious.org/~kmm/freebsd/kmm-sandbox/commits/work/svn_trunk_page_= lock On Tue, Apr 24, 2012 at 10:51 PM, K. Macy wrote: > It's a bit dated at this point. Nonetheless, when gitorious is able to > give something other than 503 to my search queries I'll post it. > > On Tue, Apr 24, 2012 at 10:45 PM, Slawa Olhovchenkov wro= te: >> On Tue, Apr 24, 2012 at 10:43:08PM +0200, K. Macy wrote: >> >>> No. I developed a patch from Jeffr that pushed the vm_page_lock array >>> down in to the machine dependent code, replacing most of the uses of >>> the single vm_page_queue_lock. However, alc doesn't like the design >>> and has not proposed an alternative. >> >> can i test this? >> >>> -Kip >>> >>> On Tue, Apr 24, 2012 at 10:36 PM, Slawa Olhovchenkov w= rote: >>> > On Tue, Apr 24, 2012 at 09:27:30PM +0200, K. Macy wrote: >>> > >>> >> Known problem. There is an open disagreement about how to improve th= e >>> >> granularity of locking in pmap. >>> > >>> > split locking to process-specific information and global information? >>> > use lock-free lists (i see TAILQ_INSERT_TAIL in pmap_enter)? >>> > >>> > sorry for stupidity, if any. >>> >>> >>> >>> -- >>> =A0 =A0?The real damage is done by those millions who want to 'get by.' >>> The ordinary men who just want to be left in peace. Those who don?t >>> want their little lives disturbed by anything bigger than themselves. >>> Those with no sides and no causes. Those who won?t take measure of >>> their own strength, for fear of antagonizing their own weakness. Those >>> who don?t like to make waves?or enemies. >>> >>> =A0 =A0Those for whom freedom, honour, truth, and principles are only >>> literature. Those who live small, love small, die small. It?s the >>> reductionist approach to life: if you keep it small, you?ll keep it >>> under control. If you don?t make any noise, the bogeyman won?t find >>> you. >>> >>> =A0 =A0But it?s all an illusion, because they die too, those people who >>> roll up their spirits into tiny little balls so as to be safe. Safe?! >>> >From what? Life is always on the edge of death; narrow streets lead to >>> the same place as wide avenues, and a little candle burns itself out >>> just like a flaming torch does. >>> >>> =A0 =A0I choose my own way to burn.? >>> >>> =A0 =A0Sophie Scholl > > > > -- > =A0 =A0=93The real damage is done by those millions who want to 'get by.' > The ordinary men who just want to be left in peace. Those who don=92t > want their little lives disturbed by anything bigger than themselves. > Those with no sides and no causes. Those who won=92t take measure of > their own strength, for fear of antagonizing their own weakness. Those > who don=92t like to make waves=97or enemies. > > =A0 =A0Those for whom freedom, honour, truth, and principles are only > literature. Those who live small, love small, die small. It=92s the > reductionist approach to life: if you keep it small, you=92ll keep it > under control. If you don=92t make any noise, the bogeyman won=92t find > you. > > =A0 =A0But it=92s all an illusion, because they die too, those people who > roll up their spirits into tiny little balls so as to be safe. Safe?! > From what? Life is always on the edge of death; narrow streets lead to > the same place as wide avenues, and a little candle burns itself out > just like a flaming torch does. > > =A0 =A0I choose my own way to burn.=94 > > =A0 =A0Sophie Scholl --=20 =A0 =A0=93The real damage is done by those millions who want to 'get by.' The ordinary men who just want to be left in peace. Those who don=92t want their little lives disturbed by anything bigger than themselves. Those with no sides and no causes. Those who won=92t take measure of their own strength, for fear of antagonizing their own weakness. Those who don=92t like to make waves=97or enemies. =A0 =A0Those for whom freedom, honour, truth, and principles are only literature. Those who live small, love small, die small. It=92s the reductionist approach to life: if you keep it small, you=92ll keep it under control. If you don=92t make any noise, the bogeyman won=92t find you. =A0 =A0But it=92s all an illusion, because they die too, those people who roll up their spirits into tiny little balls so as to be safe. Safe?! >From what? Life is always on the edge of death; narrow streets lead to the same place as wide avenues, and a little candle burns itself out just like a flaming torch does. =A0 =A0I choose my own way to burn.=94 =A0 =A0Sophie Scholl