From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.219.54 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796406790; b=QiYeBmVipveCpUwmbrdYDLQkqLhW7CthzTSg+VyZD/TaRil+w2L+LqkyIODnc2rvjRvZ I+A+8P1spttwYxTwtRRnTQwn8s6sIH7rut+ZVYLSfYi4WYGlIV6C+TJbJsGAgYbYv6dTf D7M0I8NIqgd1X688lNhLfGzC8liIpkAata0be4cVkLrNb5tSu3xf2GZ4DHxOVheyPBWxP uFj33V+4uPPp1aXEghTi9aiaXCH2NLAPJ8JcWzuc5SrKgO17um1wnsYg5GsmeeV7iSEdE MDx2Dv83S0HAGz2x7ktGOwjH+sCdz8W6UO41TLo7u93fmLaoqJI9xWrO5KO4sfIPHqQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796406790; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: MIME-Version:Content-Type:Content-Transfer-Encoding:Subject:From:To: Cc:In-Reply-To:References:Date:Message-Id:X-Mailer; bh=xgs/qu8ZstMjyLayqzPBi0Lx5tX1SbNcrnjwYcYcAT0=; b=bQpG1EAmNt+SOAoTO2VwqfOgSVvZwMVKjqThNTbCCRL5bD4D4seJopnhoF4bOo7k6EIc YQEn6PaqOnXvogdKogh6ZrvYamIBNgPkuM72gQFx8XsCncdTr9E4XS+MYHS6MZMlvCNnC toubkaiv2EUUUWleFZ8PAkGPXodmtVprbdH3+j/tXBvp2jbpIvZMxRldKyraB8k4TJZsC ZWH6riNkZX0bmioGh7Sr3dnWuoN2MSEhSk8QexGvYTfD2yhyl3VHMAVIjyCOu6XKmtFxu Fx99Cbuq7fBFpX5QbOgiiniJ+J+4jlL8XyiIPJ+r7AxpLJTug1MudNqZEMeVAQUy/Ww== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass header.d=gourry.net header.i=@gourry.net header.a=rsa-sha256 header.s=google header.b="D/gdCxwf"; arc=none smtp.remote-ip=209.85.219.54 Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 682A4606A32F for ; Fri, 4 Dec 2026 17:53:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 682A4606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.a=rsa-sha256 header.s=google header.b=D/gdCxwf Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-921e7e4b493so9901966d6.1 for ; Fri, 04 Dec 2026 09:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1796406789; x=1797011589; darn=vger.kernel.org; h=message-id:date:references:in-reply-to:cc:to:from:subject :content-transfer-encoding:content-type:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=xgs/qu8ZstMjyLayqzPBi0Lx5tX1SbNcrnjwYcYcAT0=; b=D/gdCxwfQt1nm1pLaG+lThpd8BO5yvXQ3B7IpqhyL8IhqLW7SB+ttoad4s0bWIXx7W fw8boH04FM/y16SaCSlmLFNHbOjM3LjgjmrAgSR2/fzIQpUe+pHVu5hYUb3lVhBgOiWn 7rWXy+MxJ9xuDUX1ipY6OZFQJKA8/x/63q6AU2yqhlhI6Yt2StF0KVZulxj+1spUV/8T TFs29eN6PRiPN+CCLwhmu8Le4nT7qO6y5OYvhUYWPjB9HpDbAS9eu1c/BcA6ys9FzAYu R9D1hxp2FYESk+h2s5q9aDlzNDDKFpJxaXnHC2+AQhEDBAtwmpW+0qPoFY3/IonAzlOU C+dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796406789; x=1797011589; h=message-id:date:references:in-reply-to:cc:to:from:subject :content-transfer-encoding:content-type:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=xgs/qu8ZstMjyLayqzPBi0Lx5tX1SbNcrnjwYcYcAT0=; b=d64I8SWB334r35Lak3f4msDG9d5m4iFz7q3baDBGOp0fbQ0+UiOOCqEKEARM0WiE/2 fTADnE+9knUCSTMRd/TVHRCtah5SsYWH80A3Cx//cIlGczKJLn8FCMq6G6eVVXThsD1D KCmKvf3I9gTUj6rIHgEVYAO84qcVwV/zVE9C/6mBNmc3p/vQNWukFQQp7QVsM1cs3At1 mx9fSUa52SDWPxDIHWFz8jQ8eDUyLwFOgL3XRRqJ2ze117lheI0o0z/cxHOfi9DoyNG6 4TjlVTNS9c6AX0eFYFTdr2S+opk0QTChMQcpOWAziKdBtbmz061ZN4DnMJgFBvOQtYAz vpjQ== X-Forwarded-Encrypted: i=1; AL+hErFOQ83zfo7wDRAs1HC2tMapM7jG8zCck8ptjkKen+69pD94s2WLLMsQKGmYVzrUcGauQ5r7L9BZ+s6Lrb8=@vger.kernel.org X-Gm-Message-State: AB4q+uF/5qU80qYQ597Ggrxhh33eNn7BhBwrdCGf9YVaGJn3H6NfAepN rlntpikCg4tn3TREsZJklHqJWpw2QZV6KnPOo8/him+EWF/nMTRwWIsoaleArKJIx4w= X-Gm-Gg: AZFdTZd4AahCKRZY+l9ul6PViOa+xWsZOKi5LTtCH1BFvAQFhFr2LFsGgjdD7AGqpF4 Ibtbci2hA4jDYwLZtzd15dxEW3YYplzlg+Vnm9+61q0gaZNi27euOc4+QLkQqBHu+6i02h7RmfD JLHO/UheD05txUm5/EU376GIW9FMB/q5t91CDG1N1nU0SIIE8m1xSPMbWpAXLPUFzLeA01FeNGu fkNf2d1ppHtjok7lnuoQd6DUHF9gLR9KCXu4iFc3oa126YQKEf60vBWC27i+gRdXiO5buYMBspf rOja6G63H/8axdwQT4hCsSel56YPBojLTMFM1w3CJQA70O+VdA3x/oIWf8Uai3GyT6EOpaXWvos T0VHlFODKq4/QlbLgGZWzgNvb2tC9s+7KGZPs3KRkjneF2sKpvhA2nQu3e6HK+AMFUecDZ+J1jy pljPfzS4ui3OecRzfUFRByo/DZOEHZJcXzQa5rPeJIH6lE4w1blm8WTn51we2Pnmu3C8JeZim+i /B7GNADpyRyBCZFIomYjzBb4NtVDSPQqK9QeHxr3kmy/odUPtmSSCMJ14Y8z+uLyL9FTgoCeNS8 cZSR93GQp7Dm3aRqn/urA0u3ExKUUekcNLijA1c8nEwfjDlfLmBDJbZPmskucPtcoU2kSJNBXt/ cKfg4Z6g= X-Received: by 2002:a05:6214:2b81:b0:921:1ac1:34e2 with SMTP id 6a1803df08f44-921e269d0e2mr46847126d6.24.1796406789293; Fri, 04 Dec 2026 09:53:09 -0800 (PST) Received: from [192.168.50.231] (pool-71-191-145-202.washdc.fios.verizon.net. [71.191.145.202]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-921e05627efsm27335736d6.15.2026.12.04.09.53.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 09:53:08 -0800 (PST) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 00/11] nodemask: switch to runtime nr_node_ids From: "Gregory Price (Meta)" To: Yury Norov Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Rasmus Villemoes , David Hildenbrand , Gregory Price , Zi Yan , Joshua Hahn , Rakie Kim , Ying Huang , Muchun Song , Oscar Salvador , Johannes Weiner , Kairui Song , Thomas Bogendoerfer , "Rafael J. Wysocki" , Len Brown , Jens Axboe , Peter Zijlstra , Mel Gorman , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , linux-mips@vger.kernel.org, linux-acpi@vger.kernel.org, linux-block@vger.kernel.org, linux-trace-kernel@vger.kernel.org, "Liam R. Howlett" , Axel Rasmussen , Baolin Wang , Baoquan He , Barry Song , Linus Torvalds , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Qi Zheng , Shakeel Butt , Suren Baghdasaryan , Vlastimil Babka , Wei Xu , Yuanchu Xie , Yury Norov In-Reply-To: References: <20261127230128.111933-1-ynorov@nvidia.com> <20261128154039.e898002e7af1e8af883c6c8a@linux-foundation.org> <20261128202010.18f36e612d57eda194a6c534@linux-foundation.org> Date: Fri, 04 Dec 2026 12:53:03 -0500 Message-Id: <179640678376.2841792.12783333256826172134.b4-reply@b4> X-Mailer: b4 0.17-dev On 2026-12-01 13:52 -0500, Yury Norov wrote: > > set_mempolicy(MPOL_BIND) is 5% faster with this series for MAXSMP. > just for additional context, you're saying calling the set_mempolicy() syscall is 5% faster, or some other operation associated with the bind after it's put in place? if so, calling set_mempolicy() is not particularly hot-path behavior so this isn't really useful data. > Performance: MAXSMP vs 1 cpu x 1 node > > Baseline: > - cpumasks basic ops are 3-10x slower; > - nodemask basic ops are 10-32x slower; > > This series: > > - cpumasks basic ops are 3-10x slower; > - nodemasks basic ops are 3-10x slower; > > Before/after: > - cpumasks: no significant change; > - nodemasks: 70-75% faster; This data is confusing. Baseline vs This Series are both slower? slower than what? How can the baseline be slower? Before/after what? The series? Please help me understand. -- ~Gregory