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 44DA75676 for ; Mon, 6 Nov 2023 04:27:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cnBmfMRn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4D29C433C7; Mon, 6 Nov 2023 04:27:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699244856; bh=6Cm7pOUvjIR9TuKwhmin81I/UFkeSHRm3E5CHJ0OW74=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cnBmfMRnnGlmnJT/r8YSbZNjx/duUP+ucFnqh9A6R4oBYfuAnquhFfaa3r+oD1G5z 4xj+fHSJ00VITGmYbFMhvzLpPaw9JuzwqcALwtFTIfk+jR1TRM2pp4leLHv+yR9oHZ KATUntXwNJYBt4+Tce/aXD8R2jhEP2GdQi6PbdA1/pyFyBUz1lcKBZklG/ijBw8Dbq LCynZrI1rPDkOlBcp2OLve5vwy6D8N3cGP4BEKknkKyFB/0U5heyA/FS31cKLhD6Hx cZ1C55RAd9h0VYb/BIyfdfe3McDC17e5jLoyfMIoNkK9T8HXx/8UrNvss0WzOIBtIM Tzi2j0SpabtlQ== Message-ID: Date: Sun, 5 Nov 2023 21:27:35 -0700 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bypass qdiscs? To: Stephen Hemminger , John Ousterhout Cc: Andrew Lunn , netdev@vger.kernel.org References: <29217dab-e00e-4e4c-8d6a-4088d8e79c8e@lunn.ch> <20231105192309.20416ff8@hermes.local> Content-Language: en-US From: David Ahern In-Reply-To: <20231105192309.20416ff8@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/5/23 8:23 PM, Stephen Hemminger wrote: > On Sat, 4 Nov 2023 19:47:30 -0700 > John Ousterhout wrote: > >> I haven't tried creating a "pass through" qdisc, but that seems like a >> reasonable approach if (as it seems) there isn't something already >> built-in that provides equivalent functionality. >> >> -John- >> >> P.S. If hardware starts supporting Homa, I hope that it will be >> possible to move the entire transport to the NIC, so that applications >> can bypass the kernel entirely, as with RDMA. > > One old trick was setting netdev queue length to 0 to avoid qdisc. > tc qdisc replace dev root noqueue should work