From owner-freebsd-performance@FreeBSD.ORG Tue Apr 24 20:43:09 2012 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 936D51065672; Tue, 24 Apr 2012 20:43:09 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 49B5D8FC12; Tue, 24 Apr 2012 20:43:09 +0000 (UTC) Received: by iahk25 with SMTP id k25so1931506iah.13 for ; Tue, 24 Apr 2012 13:43:08 -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=ohb6GHr2lLDYcJnPMMPkvWkN0ku6ICOfdlUtx4Plnx8=; b=OyBlTObxKz3vUz3w4HUJ9puwG16qT87OuLwtMsP2njSc+mRXbotxQw0dQ2dJRyfKVN TP+FDX/CXLa8UBQlIymH5BaJPhkC2N7QMNMsz++YwpK/LzzrbmIau6OlaAt/GYycbEqG 23vZkg93DaX7uHbL+C354GGBHpray6dMYtm/Zowgg8/0aAFOE1dDzUUQaBUxDeeJHJyT RxVC3UUJ5/9hdEuuExrp2Fdzu0d8T+kOYnLoB13X+J0gctOzNaerLVCJBrsfEkl9+BJX GGBTbc6u8y2QbuxVO2Sk3Uk+J+oxARNbsJ2y118Wvvgy69i2djoctoib/q4x7Ma332hQ XfNg== MIME-Version: 1.0 Received: by 10.42.215.68 with SMTP id hd4mr2690083icb.30.1335300188762; Tue, 24 Apr 2012 13:43:08 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.50.129.39 with HTTP; Tue, 24 Apr 2012 13:43:08 -0700 (PDT) In-Reply-To: <20120424203658.GR32749@zxy.spb.ru> References: <20120424191415.GE76983@zxy.spb.ru> <20120424203658.GR32749@zxy.spb.ru> Date: Tue, 24 Apr 2012 22:43:08 +0200 X-Google-Sender-Auth: 5_KnCTHigoY3kIAkUj0i3t1n-rs 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 20:43:09 -0000 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. -Kip On Tue, Apr 24, 2012 at 10:36 PM, Slawa Olhovchenkov wrote= : > On Tue, Apr 24, 2012 at 09:27:30PM +0200, K. Macy wrote: > >> Known problem. There is an open disagreement about how to improve the >> 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. --=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