From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (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 0FC46231820 for ; Fri, 30 May 2025 13:07:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748610453; cv=none; b=tGhFCMpvW6wyYm+k3EBUy19+tIV/ry6NIADLzQ2FB7NWKzbTHPNs8WCvHieGolkLJrBlgBI4Wbh5Uc2EhTEK8jgL3i6iFJnZDDVNDRQcx51a1d0mTLIDkHhwKVVzeEp437/CC3M8rz4akSKywGtSWRbEEX590wb3De3SyhYH7Gs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748610453; c=relaxed/simple; bh=h4jwctbW8pXg3O6hJrQAv0f+KY+PlydbIAeGTRF0HdE=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=GEt5EGWB1iZZ916cENQCcJQYk2FjvGewAypQ2SkdssxWzW9b+d9fulf5evhX8HE0Nj1QG0aunOYweWelOxpZ9sHQ9lzQbNMyH2IbviH8MCa26lY/fRpzx/PyayvlJ6hvhzh8YVcaZ2+UheAdNrlVB2r7pBL6S152RM2iys690oc= 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=VO6PZKdE; arc=none smtp.client-ip=209.85.166.48 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="VO6PZKdE" Received: by mail-io1-f48.google.com with SMTP id ca18e2360f4ac-86a07a1acffso141871339f.0 for ; Fri, 30 May 2025 06:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1748610450; x=1749215250; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=M+zllA0JepvlfuREVmf3nCF0usvpNrfKCbR5PkTeodQ=; b=VO6PZKdEzYmCiAL4/bfvM6EAnbxC1HVa8lz2kZMsMzLCRm7p0n9+W8yJD9IH2JxkaR nHe5CksjbM8qHonhSykwH0P7+D2ZBc+P8PcJosgYRAl6FzM0UVx+qpXHueJUjPVZlhea xd+h6mQNBch6coBDdk/ozPsQFt1hdcOjzdv8RkvcrmpWU01ykoCDZiQf5weiy2Kue1su ZICHzVsKoE0ZGEC/Rc9u9csSEljXJy7XRRFnm9dukspZqTQfCvxD+Ip70K6RlDaiaAQJ 3OYuFoVNxR3ocTp49r7HxVadcFmcDHP+MpaLlDDV051EEu7DYnOrMSvegGUk15UO+JoE 71IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748610450; x=1749215250; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M+zllA0JepvlfuREVmf3nCF0usvpNrfKCbR5PkTeodQ=; b=Wn0Wl+z97Y3bIUnkR4GsmMwUAPFX9LNFCeVjef6tLjoBhaHGgycTkM4siHMbvXV7dP AksrbNBQqR0us+v08H0I4BJCoiOZ9xAUpkIjbi0VMcBvoovuv55Mo3eAwwxS0MLXHk3o TLRz3TVrrPeI6ewJPABpkgV7Wclu8blWHsw1xIo56ZJF6iD8n5tTnSZFDb5Eue8Qx6aM USLigKcLOexDFwDGT0uJKHVKFxsNpHc+4TS6XGFPDqNvVijEka89ZlI8c//xeT3N+Nwl 5rje4DFC7YmSEOQ05Shwj4wr9gAiylPS+2wQ2EJ/58hnPXkNAlK7eGKznrpJs7ZZAelV BUCw== X-Gm-Message-State: AOJu0Yx/lPGRoZYtTi/L/VYlC2v5nvwNbMQ7jQkBXuoc9mnNqOyXW4F7 0xgZYT9d85ugMz4JgKCSjJsyy9F7pm8LkuV4brsrjTMbw3C/qMWNv2MjJ4BX0fUMEiM= X-Gm-Gg: ASbGncsudTaN/wzBC+EqoLyuNnHIKYGdjK8RE7goWCR9Yr2lcd8NjD4SeKRln0xiyD9 zEp9zIEgef/RqjM5BtIpcZzYdJHVz9ZtXK8ohFN4j7kgIec0NpwYQiN5Qs/MtrgMls9UbOl3pNh BAOmaMJcGx3ys9H4jHKOgPPCMSgTpDP4vHsERN1Et9569lmFZIWwapVWjrDp+m9DAGHcA7sy3LA CmpRI8vB2gsq8Tk0jooIRU3f/ycdnqwh4eVBCvakWF/P+wEHxRdOzHAxM3rt1XgptoTbhLkz5de A5Gt1v7VmBDPgGcCNWnv4441LLeZiEdIQwmDH/xdmQ== X-Google-Smtp-Source: AGHT+IFfMvqEazUYtf2SirmN7JtlcpvFyW/az1d0hhAS8lUwYVAN/ahd2bFle1R0bSvbYHbgXjTrew== X-Received: by 2002:a05:6602:4017:b0:86c:f2c1:70d2 with SMTP id ca18e2360f4ac-86d000aeacdmr411795639f.3.1748610449967; Fri, 30 May 2025 06:07:29 -0700 (PDT) Received: from [127.0.0.1] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4fdd7ed8154sm424022173.100.2025.05.30.06.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 May 2025 06:07:29 -0700 (PDT) From: Jens Axboe To: Ming Lei , Caleb Sander Mateos , Andrew Morton , Shuah Khan , Jonathan Corbet , Uday Shankar Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org In-Reply-To: <20250529-ublk_task_per_io-v8-0-e9d3b119336a@purestorage.com> References: <20250529-ublk_task_per_io-v8-0-e9d3b119336a@purestorage.com> Subject: Re: [PATCH v8 0/9] ublk: decouple server threads from ublk_queues/hctxs Message-Id: <174861044873.875376.13955426854748469811.b4-ty@kernel.dk> Date: Fri, 30 May 2025 07:07:28 -0600 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3-dev-7b9b9 On Thu, 29 May 2025 17:47:09 -0600, Uday Shankar wrote: > This patch set aims to allow ublk server threads to better balance load > amongst themselves by decoupling server threads from ublk_queues/hctxs, > so that multiple threads can service I/Os that are issued from a single > CPU. This can improve performance for workloads in which ublk server CPU > is a bottleneck, and for which load is issued from CPUs which are not > balanced across ublk_queues/hctxs. > > [...] Applied, thanks! [1/9] ublk: have a per-io daemon instead of a per-queue daemon commit: b8af2e5dfcc3314c09a97dabcf6e2b1f644cf820 [2/9] selftests: ublk: kublk: plumb q_id in io_uring user_data commit: b9c564b74d8aa549d74f97b6a9f429fedb9a4e97 [3/9] selftests: ublk: kublk: tie sqe allocation to io instead of queue commit: c306e71dba79624cee2eb5a80bc5013b47943241 [4/9] selftests: ublk: kublk: lift queue initialization out of thread commit: 83f5c5d62905353a1be597c62d82b0ad14f23a7f [5/9] selftests: ublk: kublk: move per-thread data out of ublk_queue commit: f21561bc01bf887c2f620d2e4a9a52b999f776cd [6/9] selftests: ublk: kublk: decouple ublk_queues from ublk server threads commit: 5163fa0f106d7a31c185559f95c7afd3672e69e6 [7/9] selftests: ublk: add functional test for per io daemons commit: 5e580d6b7e2004e308148a67d9ade3f26fd5949d [8/9] selftests: ublk: add stress test for per io daemons commit: 6b29c3106a5fc2b4e14facf1ee7e663554f805bd [9/9] Documentation: ublk: document UBLK_F_PER_IO_DAEMON commit: b02f5eedbcabe6e1982fdd7ff3f0ac5d1fddc68f Best regards, -- Jens Axboe