From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (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 D24EA3515FC for ; Sun, 23 Aug 2026 01:10:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787447428; cv=none; b=UivcgjqxdRGIXXHuPS/vswEtZhDI+y6u3LobIrCfPxUY0oWGlRcHs2jW7djDBysmuuTPZnVHfrLVWMuUVMKHvdhRsFFSk+WGwi05uvhBxg0gq7vLV20EWY8hERJBaKEdzywv9tAR7rR1v3xHfa/ieQOz7cP2AprSdoP5Wn9T5I4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787447428; c=relaxed/simple; bh=43rfvUAosYxf8R7CToOPjamcVKiNt92R/6+esnJxC6c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UmDyhfG8sRqY6H/NLpgDY/hohJkFCpMdj4iLvPDYk1NEWPdLnvmysHTge5tf6ROM3t5WAJpwh1AZi5NQ/jGBdlfF4Zb++Qu1ab7SSgUCb3w/dMidobbtKJFQmK2XInvcfyN61ZekBdyPTaB2FfT9+HbLJn5WBYOy2BTORt2uOpQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=grimberg.me; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=grimberg.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-6a17211b9ecso6078008a12.2 for ; Sat, 22 Aug 2026 18:10:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787447420; x=1788052220; h=content-transfer-encoding:content-type: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:content-type; bh=43rfvUAosYxf8R7CToOPjamcVKiNt92R/6+esnJxC6c=; b=PO1YUGTt+7k2WnV3zhPIfQncKOScn9BaE5wYMsNtYf5fBRmyJDe8rrwcFXLqNMrqsk an9HCSir4WxkwGmnmXp4ACRTnpdMqzCa8z0Cxou9YNRAUqb+udl7OsOvb3S0BNlo8Zs6 NbGrU2PBZlWlZK3toI7xZmLG5ZPZjLEtcpF/3felNTw/8QaeAQmm4r47ZN0XQEfNa1sZ y58jZbuOKIVK0xbechy235l+6FAgBzzvbLVfJWyE8TicBpC/+PpMzxmiPGCDYqN//huO 2k/bQ1qj0+/1GQofleMkuXp34nPE/8n7SYuU7FaKenlPW2JfWb1dNljUvnA8jjGrpk2M PI5w== X-Forwarded-Encrypted: i=1; AHgh+RryQACQFHtL554aw9Y23Knot26cp/ZrehOvkpF1PE/SbMmZHNOZhiKJnAswoVNrXdh3gzoNjz2Iswtap8I=@vger.kernel.org X-Gm-Message-State: AFuF++lfBSEciC+T6LFelLBsOltvggFqQENZRvssKn/9wpPaFYR9fIKE m0GryryPOfds2i1lf2LS3j6ml1Ctjij+fRJJw7xrsM+IcjcpU96oJYrH X-Gm-Gg: AR+sD121/92RcNMAwn2s5lHnb2pLdnLSPwuRKkgEebk9k60bxfrxldHpa+c5McRs6/u t9ONkaP9/v9GttQ7P3K55Fl2pesqitdqDhbeFwg23jO7GwXUt+cCyENB9RBvGBFvbi0Y6/OBtPc oFWPTf8PiesLGEb1h+CNdAr7JTsYLh8CVpcIkE5C5EQoQdPp12ymN5Xbhc08RI9aEK/TNorMw7/ TuDE0e0hf4C6qkL7/+pZwCvXOD4I1o6FwKpkEYzKCNLK5xD7wAc8eIMH2aWC8xdBST9cINeDBSL ikKdbYJzUbDeIK4HJM4Hc8vzEXw7DJ77DCWNadfUh/VrQTMfmXwNO/bsBLkKjjtow3wQ5yY2+X2 PHxDSet42plYpy4F6lbm8EhwZXRSnxQJ3ERuNqtgg3XszhLFWNmPCpKCzx9dFkEEEnGiZpHVAvY CqEc0FMYx7pfg8CgpjCBTUB/1J0YmrXtyDDHnu6Y2CGLH93ufUUVs56zBjuRcQ2FCEyqmBOOnWk +7ICaLCNsFphDKR7intgXo= X-Received: by 2002:a05:6402:2491:b0:6a1:284f:7891 with SMTP id 4fb4d7f45d1cf-6a42f1c0568mr20123254a12.7.1787447419714; Sat, 22 Aug 2026 18:10:19 -0700 (PDT) Received: from [10.100.102.74] (89-138-65-240.bb.netvision.net.il. [89.138.65.240]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6a59e1abfa0sm530190a12.20.2026.08.22.18.10.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Aug 2026 18:10:19 -0700 (PDT) Message-ID: <55310833-fd75-4d0f-b910-0a19090c2e9c@grimberg.me> Date: Sun, 23 Aug 2026 04:10:17 +0300 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: [PATCH v4 0/2] nvme-rdma: parallelize I/O queue setup To: Surabhi Gogte , Christoph Hellwig , Keith Busch , Jens Axboe Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, mkhalfella@purestorage.com, randyj@purestorage.com, adailey@purestorage.com References: <20260627041551.1981256-1-sgogte@purestorage.com> Content-Language: en-US From: Sagi Grimberg In-Reply-To: <20260627041551.1981256-1-sgogte@purestorage.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 27/06/2026 7:15, Surabhi Gogte wrote: > This patch series parallelizes nvme-rdma connection and reconnection by > setting up I/O queues in parallel instead of sequentially. Allocation and > startup of each queue are combined into a single per-queue async work > item, so per-queue connection latency overlaps across all queues. This > matters most on high-core-count hosts with many I/O queues, where serial > setup dominates connect time. > > Patch 1 is a preparatory refactor: nvme_rdma_alloc_queue() takes a queue > pointer so allocation and startup can be folded into a single async > worker. > > Patch 2 contains the implementation for async setup of I/O queues. > > Testing on a 64-core host with 64 I/O queues shows nvme-rdma connection > time reduced from ~1.4s to 416ms. > > Signed-off-by: Surabhi Gogte Would it be possible to do the same for nvme-tcp?