From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F33F366559 for ; Mon, 16 Mar 2026 22:17:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773699429; cv=none; b=i//FcJ4iWB3vjypzFraJ6LmqOw/TEbElxy1Km8dAGzZ2jZVFbh8effKiBjDZoGJ9a/G4gRUDrawmyw8glgn0/EufK8gRP66rFWAPw+OcMd9UpW88RRXIgfDMgVgFh5HIywQEI6vHGT11iA9Zp5q2Hr/cD+lcJXm6kYw12lbyKiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773699429; c=relaxed/simple; bh=enCKl4JoDRs3oDPtdd9EAc4YeO4w4T0MndBJ8MrjBv0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UC+y3RC4gG+iwni7YFMUchF4kRI/Uy43Yu2+oMPLijGY0Ew7Sascm9vnmdYuyf/s7uOVLJJpy4ZlZGJH/Shnv/w/UfID2U86W1QxUTCWKsQXLOeLsWtFAUIuGvsD+4gm5t7FnX7jHQrq2kT09J43+z5MFom+HKuH4gHoUWyWY5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=NjtKflbg; arc=none smtp.client-ip=209.85.160.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="NjtKflbg" Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-4138136f02eso3493601fac.2 for ; Mon, 16 Mar 2026 15:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1773699427; x=1774304227; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=a6fuuEZ7EcJ7R7+49HTEzTakwBpU5KjCOPwarkE0KwI=; b=NjtKflbgqTGUNgAZaLe0bI5WxIqTNirZZJNCCsMEeHql+JKy0PTrKROfqgIpK/xA7h upES4BflY3kUUgiaZsQKB2OLBWBZE+Pm/c/3KXNXoyEubu0QqG9gIZ6wX56EX7FfNwqZ 2ZpcQ19R/w2Xm5qCNQnBaH3rx8R1WSyDqyqC7CsEGMWhoNi8Ds7T3p1pBhm8VTVcNSZY zIbVA7fC8QDzDNynlic5ns+OTsQwC66/uVAq0NlwmzhUUC0TQh1KVZHzV/Buq7SMfzqZ aDjss0bj+AcYUkUxbCoDcKTKUAwf0nYEoLnobNWy8hHBumqvCVtN4C2zw0RcIgm5uVdm +H1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773699427; x=1774304227; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=a6fuuEZ7EcJ7R7+49HTEzTakwBpU5KjCOPwarkE0KwI=; b=Zl6ucaDaMheAWkn0Ah8UPEx+alvy2phW8Lg7LTAmWcbzrCP1JR/vNuWAP7LBd8NxAL /YsgCnNRJtdhDx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a05:6871:a84f:b0:40e:f9c9:ad40 with SMTP id 586e51a60fabf-417b902f16cmr7789786fac.10.1773699426861; Mon, 16 Mar 2026 15:17:06 -0700 (PDT) Received: from [192.168.1.150] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-417a2372b13sm14336484fac.10.2026.03.16.15.17.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Mar 2026 15:17:06 -0700 (PDT) Message-ID: Date: Mon, 16 Mar 2026 16:17:05 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 0/2] io_uring: add IPC channel infrastructure To: Daniel Hodges Cc: Daniel Hodges , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260313130739.23265-1-git@danielhodges.dev> <20260314135053.3334-1-git@danielhodges.dev> <873d56d8-6c1c-447f-ae70-870417c6de5a@kernel.dk> Content-Language: en-US From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/16/26 6:49 AM, Daniel Hodges wrote: > On Sat, Mar 14, 2026 at 10:54:15AM -0600, Jens Axboe wrote: >> On 3/14/26 7:50 AM, Daniel Hodges wrote: >>> On Thu, Mar 13, 2026 at 01:07:37PM +0000, Daniel Hodges wrote: >>>> Performance (virtme-ng VM, single-socket, msg_size sweep 64B-32KB): >>>> >>>> Point-to-point latency (64B-32KB messages): >>>> io_uring unicast: 597-3,185 ns/msg (within 1.5-2.5x of pipe for small msgs) >>> >>> Benchmark sources used to generate the numbers in the cover letter: >>> >>> io_uring IPC modes (broadcast, multicast, unicast): >>> https://gist.github.com/hodgesds/fbcd8bb8497bc0ec2bf1f95244a984fe#file-io_uring_ipc_bench-c >>> >>> IPC comparison (pipes, unix sockets, shm+eventfd): >>> https://gist.github.com/hodgesds/fbcd8bb8497bc0ec2bf1f95244a984fe#file-ipc_comparison_bench-c >> >> Thanks for sending these, was going to ask you about them. I'll take a >> look at your patches Monday. >> >> -- >> Jens Axboe > > No rush, thanks for taking the time! I took a look - and I think it's quite apparent that it's a AI vibe coded patch. Hence my first question is, do you have a specific use case in mind? Or phrased differently, was this done for a specific use case you have and want to pursue, or was it more of a "let's see if we can do this and what it'd look like" kind of thing? I have a lot of comments on the patch itself, but let's establish the motivation here first. -- Jens Axboe