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 X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D3D8C43461 for ; Tue, 8 Sep 2020 16:46:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DA4DC206E6 for ; Tue, 8 Sep 2020 16:46:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="12VNB6Eq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731046AbgIHQqs (ORCPT ); Tue, 8 Sep 2020 12:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731943AbgIHQ1O (ORCPT ); Tue, 8 Sep 2020 12:27:14 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A999C08E9A5 for ; Tue, 8 Sep 2020 07:36:11 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id h4so17327070ioe.5 for ; Tue, 08 Sep 2020 07:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2dj1kh/pZnROBg01Y8KUPMWNpR2qkmrmh3iWLRvCaDw=; b=12VNB6Eqcnb3bGjxveKSC54uVN9talXjJNb4XgIlQTzYRThkRFNH3RMqJR3ml57MX2 tO7U7zW23a2nzZuqsPhbM4dhmAfUJr6inoY6ejpoDGKCttFzXrGG3fB3o8yrIDV9R0vv 5Hvx6ra/ZY+k0UGEyvWQP9TpYCPABeL7eIc0udUlRc4R8fC+Sfp78eY8/n3V4O5vLc5A WWVeBjkqDRagspXWwePPa5MgyoALsf6uZ4eTBVU7alO0rYRTi0000UOvIslIX699CsZo 4hdIx00IwPexpRhbVC0yrap86IodXDMkecZo89+eeCv4tKKFrRYaECc+7r/IDTjA/9mM LXwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2dj1kh/pZnROBg01Y8KUPMWNpR2qkmrmh3iWLRvCaDw=; b=m5xYTidDZ8esniA08lmKuuszq6WFD0utTn0FGOCaEzpwofVNfvlnuW6dI7hRBlVNe3 jI6peNdJEUoDUR7HlhghGrHZAVy8ODO/TkNSGOOaJmwcCMcCRwveM2z43rqWBompOu8Z ONG/7Emp4CiKneICUsNIPyFBTc3BT3o1hpHU/ACRt/kzKxvWZkITO7RlYtrJwa64SQt3 Dz4MXTn5vP+yFxUpxZ7Xqb2T95WmC2IVvwH1Hm6/96h5Cc501k4yApEqTf6NsOtEpeRS QvQfOlW2/WVQIPo9wFL8GJFv8IuwafjB4Cjgg9lnI7vGm4T+ajVmyvbuqWywxCkw429t bZ7w== X-Gm-Message-State: AOAM530DCzIrtlhijTr6YvTZgwoO+bHMKjXwqb6A0bT7zOhuPRe68dKr ftXZcQgfFG7oNqgdVrVDMbyW7Q== X-Google-Smtp-Source: ABdhPJx0kdRbu0KNHi8H/73WXQk8VZQqfjgmym+zHhLz3VSp6nwnXnGkZEK8uUS3Cw19UNndtsfXFQ== X-Received: by 2002:a5d:8b4a:: with SMTP id c10mr21515225iot.143.1599575770410; Tue, 08 Sep 2020 07:36:10 -0700 (PDT) Received: from [192.168.1.10] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id x185sm8860775iof.41.2020.09.08.07.36.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Sep 2020 07:36:09 -0700 (PDT) Subject: Re: SQPOLL question To: Josef , io-uring@vger.kernel.org Cc: norman@apache.org References: <68c62a2d-e110-94cc-f659-e8b34a244218@kernel.dk> <711545e2-4c07-9a16-3a1d-7704c901dd12@kernel.dk> <93e9b2a2-b4b4-3cde-b5a7-64c8c504848d@kernel.dk> <8f22db0e-e539-49b0-456a-fa74e2b56001@kernel.dk> From: Jens Axboe Message-ID: Date: Tue, 8 Sep 2020 08:36:09 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 9/8/20 12:47 AM, Josef wrote: >> If you're up for it, you could just clone my for-5.10/io_uring and base >> your SQPOLL testing on that. Should be finished, modulo bugs... > > yeah did some benchmark tests and I'm quite impressed, however accept > op seems to fail with -EBADF when the flag IOSQE_ASYNC is set, is that > known? Nope, ran a quick test case here on the current tree, works for me. Are you using for-5.10 and SQEPOLL + ASYNC accept? I'll give that a test spin. -- Jens Axboe