From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26124C43217 for ; Wed, 9 Feb 2022 04:08:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346093AbiBIEIB (ORCPT ); Tue, 8 Feb 2022 23:08:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347371AbiBIDnz (ORCPT ); Tue, 8 Feb 2022 22:43:55 -0500 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B244C0401C1 for ; Tue, 8 Feb 2022 19:34:07 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=haoxu@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0V3z8WNq_1644377644; Received: from 30.225.24.82(mailfrom:haoxu@linux.alibaba.com fp:SMTPD_---0V3z8WNq_1644377644) by smtp.aliyun-inc.com(127.0.0.1); Wed, 09 Feb 2022 11:34:05 +0800 Message-ID: Date: Wed, 9 Feb 2022 11:34:04 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: napi_busy_poll To: Jens Axboe , Olivier Langlois , io-uring@vger.kernel.org References: <21bfe359aa45123b36ee823076a036146d1d9518.camel@trillion01.com> From: Hao Xu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org 在 2022/2/9 上午1:05, Jens Axboe 写道: > On 2/8/22 7:58 AM, Olivier Langlois wrote: >> Hi, >> >> I was wondering if integrating the NAPI busy poll for socket fds into >> io_uring like how select/poll/epoll are doing has ever been considered? >> >> It seems to me that it could be an awesome feature when used along with >> a io_qpoll thread and something not too difficult to add... > > Should be totally doable and it's been brought up before, just needs > someone to actually do it... Would love to see it. > We've done some investigation before, would like to have a try. Regards, Hao