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 6E85F3542D1; Sun, 26 Apr 2026 12:34:57 +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=1777206897; cv=none; b=oj/dyvOGs1S7LSqFmijCej1+xihp5B4Awi9IEcFSbiDd8migEQ3Y1RL4/ByZTzb+5a4CFB9wciousDwG0t1WWfrNJdOLWw9dP3O7gsKQtlUqk3iAOw3K3lhIULmzanRmt+MCdLFZWi1XxWnqbAo+2N5aWX7i0uEqZ+j3NE+mhpQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777206897; c=relaxed/simple; bh=BaSaKLFcdJ+SYi5Kybvkce1qiCJ+Moij9HYFUQ8DY2M=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=M7gzCUafmyNDMFOpUhoZKUCWPHIwwyS6WDdrSHfIR7N2//6shi1eWyG+Nf3U3MGZtEcf3SQxC7aAv1vRq+LfKZx/iByQwzc/yrRfe133q3jVcklacbZpV8VBMDNQG0L5cU+EAx+wfoNddPno0p9mEL/3xnMkii1jpdQOfk4yLMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=fcxiKN5r; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="fcxiKN5r" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BA71C2BCAF; Sun, 26 Apr 2026 12:34:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1777206897; bh=BaSaKLFcdJ+SYi5Kybvkce1qiCJ+Moij9HYFUQ8DY2M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fcxiKN5rSz+bLNRnfPlWCVNiwZdMQHiXq8jp8dmXPVZ5kTaH+NOl8+71ePWUnWN0e NhdjG8fmfRLFCbhVLPF3TELHbG/hLx18MhzGBq8F46N2vsuUCITTWM2BtUNoU67RoD /6H+5HN+eQBtHXsXcG41Yhd5rrZtFQ4pe8eZPsCs= Date: Sun, 26 Apr 2026 05:34:55 -0700 From: Andrew Morton To: Jeff Layton Cc: Alexander Viro , Christian Brauner , Jan Kara , "Matthew Wilcox (Oracle)" , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Mike Snitzer , Jens Axboe , Ritesh Harjani , Christoph Hellwig , Kairui Song , Qi Zheng , Shakeel Butt , Barry Song , Axel Rasmussen , Yuanchu Xie , Wei Xu , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Chuck Lever , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/4] testing: add nfsd-io-bench NFS server benchmark suite Message-Id: <20260426053455.4c06140446976964e6fbb8ab@linux-foundation.org> In-Reply-To: <20260426-dontcache-v3-3-79eb37da9547@kernel.org> References: <20260426-dontcache-v3-0-79eb37da9547@kernel.org> <20260426-dontcache-v3-3-79eb37da9547@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 26 Apr 2026 07:56:09 -0400 Jeff Layton wrote: > Add a benchmark suite for testing NFSD I/O mode performance using fio > with the libnfs backend against an NFS server on localhost. Tests > buffered, dontcache, and direct I/O modes via NFSD debugfs controls. > > Includes: > - fio job files for sequential/random read/write, multi-writer, > noisy-neighbor, and latency-sensitive reader workloads > - run-benchmarks.sh: orchestrates test matrix with mode switching > - parse-results.sh: extracts metrics from fio JSON output > - setup-server.sh: configures NFS export for testing > > Assisted-by: Claude:claude-opus-4-6 OK, question. > 10 files changed, 1024 insertions(+) Seems that this code was largely machine-generated. So I assume that you're in possession of the scripts/prompts/whatever which were used to generate this code. (Can you please briefly describe the process which you used here?) So how are we to maintain this? Will other developers have to go in and hack this machine-generated output by hand? Or would it be better to provide (in-tree) other developers with the means to regenerate this code, presumably using Claude? IOW, this feels a bit like shipping the .s file without giving us the .c file!