From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by kanga.kvack.org (Postfix) with ESMTP id 03EC06B0254 for ; Fri, 4 Sep 2015 10:13:28 -0400 (EDT) Received: by ioiz6 with SMTP id z6so24994644ioi.2 for ; Fri, 04 Sep 2015 07:13:27 -0700 (PDT) Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net. [2001:558:fe21:29:69:252:207:34]) by mx.google.com with ESMTPS id b7si2476576igf.27.2015.09.04.07.13.27 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 04 Sep 2015 07:13:27 -0700 (PDT) Date: Fri, 4 Sep 2015 09:13:26 -0500 (CDT) From: Christoph Lameter Subject: Re: slab-nomerge (was Re: [git pull] device mapper changes for 4.3) In-Reply-To: <20150904111038.4a428b03@redhat.com> Message-ID: References: <20150903005115.GA27804@redhat.com> <20150903060247.GV1933@devil.localdomain> <20150903122949.78ee3c94@redhat.com> <20150904111038.4a428b03@redhat.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Jesper Dangaard Brouer Cc: Dave Chinner , Linus Torvalds , Mike Snitzer , Pekka Enberg , Andrew Morton , David Rientjes , Joonsoo Kim , "dm-devel@redhat.com" , Alasdair G Kergon , Joe Thornber , Mikulas Patocka , Vivek Goyal , Sami Tolvanen , Viresh Kumar , Heinz Mauelshagen , linux-mm On Fri, 4 Sep 2015, Jesper Dangaard Brouer wrote: > Thus, I could achieve the same performance results by tuning SLUB as I > could with "slab_nomerge". Maybe the advantage from "slab_nomerge" was > just that I got my "own" per CPU structures, and this implicitly larger > per CPU memory for myself? Well if multiple slabs are merged then there is potential pressure on the per node locks if huge amounts of objects are concurrently retrieved from the per node partial lists by two different subsystems. So cache merging can increase contention and thereby reduce performance. What you did with tuning is to reduce that contention by increasing the per cpu pages that do not require locks. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org