Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755395AbbETRVk (ORCPT ); Wed, 20 May 2015 13:21:40 -0400 Received: from g4t3427.houston.hp.com ([15.201.208.55]:36510 "EHLO g4t3427.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754147AbbETRVi (ORCPT ); Wed, 20 May 2015 13:21:38 -0400 From: "Elliott, Robert (Server Storage)" To: Dan Williams CC: "linux-nvdimm@lists.01.org" , Neil Brown , Greg KH , Dave Chinner , "linux-kernel@vger.kernel.org" , Andy Lutomirski , "Jens Axboe" , "H. Peter Anvin" , Christoph Hellwig , Ingo Molnar Subject: RE: [Linux-nvdimm] [PATCH v2 19/20] nd_btt: atomic sector updates Thread-Topic: [Linux-nvdimm] [PATCH v2 19/20] nd_btt: atomic sector updates Thread-Index: AQHQgeErg/CZLhAojkO0AUlsrj19g51/c8AAgAApx4CABaDfEA== Date: Wed, 20 May 2015 17:20:47 +0000 Message-ID: <94D0CD8314A33A4D9D801C0FE68B40295A917EC6@G9W0745.americas.hpqcorp.net> References: <20150428181203.35812.60474.stgit@dwillia2-desk3.amr.corp.intel.com> <20150428182557.35812.38292.stgit@dwillia2-desk3.amr.corp.intel.com> <94D0CD8314A33A4D9D801C0FE68B40295A9097E5@G9W0745.americas.hpqcorp.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.216.65.178] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id t4KHLkHJ013189 Content-Length: 1208 Lines: 34 > -----Original Message----- > From: dan.j.williams@gmail.com [mailto:dan.j.williams@gmail.com] On > Behalf Of Dan Williams > Sent: Saturday, May 16, 2015 10:22 PM > To: Elliott, Robert (Server Storage) > Cc: linux-nvdimm@lists.01.org; Neil Brown; Greg KH; Dave Chinner; linux- > kernel@vger.kernel.org; Andy Lutomirski; Jens Axboe; H. Peter Anvin; > Christoph Hellwig; Ingo Molnar > Subject: Re: [Linux-nvdimm] [PATCH v2 19/20] nd_btt: atomic sector > updates > > On Sat, May 16, 2015 at 6:19 PM, Elliott, Robert (Server Storage) > wrote: > > ... > 2 items to check: > > 1/ make sure you have a your btt sector size set to 4k which cuts down > the overhead by a factor of 8. > > 2/ boot with nr_cpus=256 or lower. > > Ross noticed that CONFIG_NR_CPUS is set quite high on distro kernels > which revealed that we should have been using nr_cpu_ids and percpu > variables for nd_region_acquire_lane() from the outset. This fix is > coming in v3. My system does have CONFIG_NR_CPUS=8192. I'll try the items you suggested. ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?