Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp165850ybt; Tue, 16 Jun 2020 20:10:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO4lgVJSFGr5sP1EWYmp12UxADxI+RK5a/YJX9ADPBGYQXaRYvh0IGThINsfxmGHBVCNcr X-Received: by 2002:aa7:c15a:: with SMTP id r26mr5124837edp.21.1592363402686; Tue, 16 Jun 2020 20:10:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592363402; cv=none; d=google.com; s=arc-20160816; b=01v8pfWrBMyymtFWaQX33sdCxu0j36oEH9D77eVlEq4vFnjMJ9tkgm+RnLKIeONscw 8GYdBt8lmvZ9KtXtKzF65ff2oJyMLdH8wVRfxN/G98Zk4NQSD0VjsQdLNsZx3p5//Qd1 E7xEtUFSmqJHeZhwXFNR5l1wpr2Swc272JdrfTHiZWD4rqNACsILbCOJP/WtE+5hFcqG CgIuMXBl+PZGyIaNT9u456Hhmg6ew4vW2zq8GXAagOe46V34PMDHw9Tvv5YTIr3EVyvn GdPSrUJ+aizdV3km+rAOcq5qytcRj2J14HIyDkTrm/M/o2A2hOr9BRfTSlSHTSfqyvDS zpJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tQx8E/fB3k29lyIQ38d8XnedyxWcLShKOFMHcE8vB1Q=; b=UDStjJBuERoK/fnz4aiTTnQw2JGf6h8YSolZQ77O2H3JhNpuSHzdTaGySjEsvczVPt zsGddInzjSxCLQKnWsjOMx2I093+1+wCNbt6brTO8kmpLhFJclDBTNjRMw6wRwSaJOHT oQZvbFrKH/sTwAaQmxfFvFw9kaMS1cMNTJbnyg7oEG+4pDn1Nux1ptJr5grRagTZ5963 icDU4NcBzSFdAiye0n3GsdMJasPyhp48ICaC7GYBjPoaS42FbA7PhXO4YkxJ7FYeyUeb YYMnmaOESPexLHCJ/jghjffEvPfT+leJ9B15k1ZC/VEZttEZIezKcdeiy2u2lGykEqew lU+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=opcJEqdq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si3752712ejr.329.2020.06.16.20.09.40; Tue, 16 Jun 2020 20:10:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=opcJEqdq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726641AbgFQDFy (ORCPT + 99 others); Tue, 16 Jun 2020 23:05:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726505AbgFQDFx (ORCPT ); Tue, 16 Jun 2020 23:05:53 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8921BC061573 for ; Tue, 16 Jun 2020 20:05:52 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id c17so974731lji.11 for ; Tue, 16 Jun 2020 20:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tQx8E/fB3k29lyIQ38d8XnedyxWcLShKOFMHcE8vB1Q=; b=opcJEqdqdKrRLwNOEgXE+/VJFQOuvOpk+ey32Q6SBcm876qMXsBjwbTgbhOK5acdSh cV5AmOUj1y1k3NmLM4+bqr3wtrh74f8Ac6u6UEBm+8YHixwc8lK6jkr95aN9tAT7XHXg R9SN2gzPZO4/abwtjG1aMYs74ftgPXqYbMMqsnDPyWq+W5rxRiYysGIa0gAE7qVNliUo 2HmEssQz0XgQW+IQeaRqpmePHNjP2fBzFdeGEWkEaFJ0W6SmAXbQdQXF/hOH8uTl/UWk Is4oxxrhgYVh5x4iATLKwfDT4K+54sdGm4aUSSudzT46352RORBCv+ay7vG7rvewcK16 A37Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tQx8E/fB3k29lyIQ38d8XnedyxWcLShKOFMHcE8vB1Q=; b=KzVFSUKt+8fvNfvrW8e+07ZCgDfZ7a+hy0QOOdiHqa0ahlJ55wGRDA0qy9ZQ+aOWi6 wo6t+3Y1/ewpLcQvNkwa6Q2HYfkFaL650vLFf9ZZ+tMhxOTM32TiJ1vYxBJHNMXvcfKp oMJS/rkpIplNiPynaztF5nhNA3BHg0JvGSI5snXQ4UG7G9/DK47PgJMkta4hmSl4TMjR Kx7f6CxGBjvASaXXnZJ7oNyR2sdQvgzx3vUx7/R82hiYTJBEzWkcKih7XJBmfkJkU38E 9mojDG/e8dQs6wrrQ72XYpF1B/0NUiWgNas9kdiKPSp3H2TF7JKQUEw6LBbG3HfM3jYM s6pw== X-Gm-Message-State: AOAM533FyhK7oUjiiPhzeRc6Hmwb5tpOly3Lv+62Za8YgyBcCbcGvr2y x1kE5ge/P3KDax90bJ8YBu/FNlBeV0Ql+wdGQQDoxg== X-Received: by 2002:a2e:960b:: with SMTP id v11mr2874001ljh.77.1592363150545; Tue, 16 Jun 2020 20:05:50 -0700 (PDT) MIME-Version: 1.0 References: <20200608230654.828134-1-guro@fb.com> <20200617024147.GA10812@carbon.lan> In-Reply-To: <20200617024147.GA10812@carbon.lan> From: Shakeel Butt Date: Tue, 16 Jun 2020 20:05:39 -0700 Message-ID: Subject: Re: [PATCH v6 00/19] The new cgroup slab memory controller To: Roman Gushchin Cc: Andrew Morton , Christoph Lameter , Johannes Weiner , Michal Hocko , Linux MM , Vlastimil Babka , Kernel Team , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 16, 2020 at 7:41 PM Roman Gushchin wrote: > > On Tue, Jun 16, 2020 at 06:46:56PM -0700, Shakeel Butt wrote: > > On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > > [...] > > > > Have you performed any [perf] testing on SLAB with this patchset? > > The accounting part is the same for SLAB and SLUB, so there should be no > significant difference. I've checked that it compiles, boots and passes > kselftests. And that memory savings are there. > What about performance? Also you mentioned that sharing kmem-cache between accounted and non-accounted can have additional overhead. Any difference between SLAB and SLUB for such a case?