From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A52D83C9427 for ; Fri, 3 Apr 2026 15:30:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775230204; cv=none; b=Awb2JFcMQRDJFECpQzMJlQN/n919dZVy4ULCnlh2YhzxBluXIVa+5+7AmHLgNO6J3Gauxj5F+kep62g8oYud2bI1V+qEx1fozoVA8Tl6hMHXrzQ/qBkYyMvoZol+tWc+o70BT7KFAF2HUlLIz+i0io5KOtN+hJo2hqLe6xJugw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775230204; c=relaxed/simple; bh=OZJAnsRsWc09mlxyyl6dSXtmbRD17t8RRg66dgL76b4=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=EQROJlbbIsPJvCpehVxLXVs4p0z8zbB0gLF0gsnGVroP3Lbzy9Jb32OW2eQ8ZM9S68ZJjTlXohr+DOtXS4Q91/36cE8zvI0XZKzktakbtlu1qJRW13Kq1T7yYGqvdbAKtWZOfyZ4eIA8Eda1cc+m45CfpVogXUzRzES00AieSQk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gEu1L4VI; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gEu1L4VI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A7F2C4AF0B; Fri, 3 Apr 2026 15:30:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775230203; bh=OZJAnsRsWc09mlxyyl6dSXtmbRD17t8RRg66dgL76b4=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=gEu1L4VIZMhRTaMdDBUQ2hjmeM5bYLdT+XmUSs+psgFwssoCTY5DquFfA8/5YH/iU RBIBstCUbFfBFRMmZSLDNM/IN1OHWKHnCHrrTc5YxFAlg6uH0sCaQ/2PbwK+OG+aXJ EyZKOp5kL+ZcyTSdNc4guerJGX+MVs0Iz/BhWx+jAavBt0GtCUQTR6suUH/uaGVFnx N8PgODIGNIQucRtYlQgA1b2W/gSL9s0oMYjXB7+Kjs9/BYeyrwGjG+4CsCMprGrcGn 6xGCLEMxjWVtulZdXx0q4gUOn8fzA9vWOqB57DEtbE33WqAhHNT2BGY//6xR2LA3Og 4PFRJZjG2Nkfw== Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfauth.phl.internal (Postfix) with ESMTP id 876E4F4007E; Fri, 3 Apr 2026 11:30:01 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-01.internal (MEProxy); Fri, 03 Apr 2026 11:30:01 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdelfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedftehnugihucfn uhhtohhmihhrshhkihdfuceolhhuthhosehkvghrnhgvlhdrohhrgheqnecuggftrfgrth htvghrnhepkefhieejfedvueejheehiefgvdfhjeefjeelvdfghfelgeejudevleejuddv vefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hnugihodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudeiudekheeifedv qddvieefudeiiedtkedqlhhuthhopeepkhgvrhhnvghlrdhorhhgsehlihhnuhigrdhluh htohdruhhspdhnsggprhgtphhtthhopedufedpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepsghpsegrlhhivghnkedruggvpdhrtghpthhtohepphgvthgvrhiisehinhhfrh gruggvrggurdhorhhgpdhrtghpthhtohepshhohhhilhdrmhgvhhhtrgesihhnthgvlhdr tghomhdprhgtphhtthhopegrgigsohgvsehkvghrnhgvlhdrughkpdhrtghpthhtohepkh gvvghssehkvghrnhgvlhdrohhrghdprhgtphhtthhopehtghhlgieskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepgiekieeskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggrrh ifiheslhhinhhuthhrohhnihigrdguvgdprhgtphhtthhopegurghvvgdrhhgrnhhsvghn sehlihhnuhigrdhinhhtvghlrdgtohhm X-ME-Proxy: Feedback-ID: ieff94742:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 53589700069; Fri, 3 Apr 2026 11:30:01 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: A9ax0ouZFQcV Date: Fri, 03 Apr 2026 08:29:41 -0700 From: "Andy Lutomirski" To: "H. Peter Anvin" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , "the arch/x86 maintainers" Cc: "Peter Zijlstra (Intel)" , "Kees Cook" , "Xin Li" , "Ahmed S. Darwish" , "Sohil Mehta" , "Linux Kernel Mailing List" , "Jens Axboe" Message-Id: In-Reply-To: <80be63da-360b-41f5-a45f-81335f8af1c2@zytor.com> References: <20260325230151.1898287-1-hpa@zytor.com> <80be63da-360b-41f5-a45f-81335f8af1c2@zytor.com> Subject: Re: [PATCH v2 0/3] x86/fred: enable FRED by default Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, Mar 27, 2026, at 6:20 PM, H. Peter Anvin wrote: > On 2026-03-26 15:11, Andy Lutomirski wrote: >> >> Those performance increases while with fio / io_uring are ridiculous. I wonder whether anyone can looked at /proc/interrupts to try to figure out what's going on. I imagine we're bottlenecking on IO interrupts or something and FRED speeds that up by a factor of several, but this makes me wonder whether there's some tuning that should be done. >> >> Jens, for background, FRED ought to speed up page faults and interrupts (both IPI and device) by a considerable amount -- maybe a reduction of 20k or more cycles per interrupt. But Phoronix is showing up to a factor of 2 (!) actual performance increase using io_uring with a job count of 8. Now maybe 8 is too small, but I'm wondering whether the io_uring or IO part is missing some optimization that it ought to have. >> > > Hi Andy! Long time no C! > > Either way, I presume neither of you have any problems with the patchset itself? I'm fine with the patchset, except that maybe we should deal with the syscall reg issue in the same release. --Andy > > -hpa