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 D98F5C43334 for ; Tue, 14 Jun 2022 14:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236325AbiFNOhS (ORCPT ); Tue, 14 Jun 2022 10:37:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231584AbiFNOhR (ORCPT ); Tue, 14 Jun 2022 10:37:17 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE3913BF8B for ; Tue, 14 Jun 2022 07:37:16 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id s1so11556541wra.9 for ; Tue, 14 Jun 2022 07:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LEfuhkg/6eZKZsc/6qKn0BgAYG3XphiiwBf/pnS/K9Q=; b=RPQbSsURfaI71fi0GzyqTHeJy4ni+GCD+yoEsiSs0Iq7+NDBGabK7rk9E7pgyEzZfa blbHuLnSsIjAiX9ATM+WKnY6SCKh9Azfw22gBcVtnFdh8uBM7AIrFOK2fwIrJGuys0CR 1ijZ5OmpCeIgZxxaqZoIDaRo0A/lUzfxGOHyzztI/mnlWhVKKzXgY4yqOnewMchqGTyY s5XWDiXdSUXQPFLDOpFo7CIB+TJzjRVNfmfdlvfK+w5IJvhkMqh9f2hJk0k7cH9Ip6xg wzeO+BkRML1SQaCILLVNeQpxuP+olsYqg1gN8Wdae4yZZTIAdeWLxFAMMpAruaSHqy2n c97A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LEfuhkg/6eZKZsc/6qKn0BgAYG3XphiiwBf/pnS/K9Q=; b=uywQCBLMKOmgxvJrq5Y9Io9dYcc/ISQMf21ZUcmc713EBAknFelkj4b+/PZ2oDVlRK oPBOvjZeopOgPOnzRXrlSy9CxpmzMpoXRLhiiwx29TbrdIOU3awextdDa9/A9aRarwZr kTdfCeONp/KuKFzyf3ULmitaRO8v/V0jGGr+SBd4q3PUBcKrC38O3YZ84QMVytmDoUhR 15E+X1NZqJR6IXxZmM4kd/tVcs9/vx9XbdowepQjV5XftPElf4MRM2VhDwscpNgWrmSd avRhpekPOhpFUiDuxmkDKRN8XTafMjYaQFscwwxWu3CPhaThxH9mjOQqpWAOlaZtfcut Dzxw== X-Gm-Message-State: AJIora/T8IeRoTzXsg5iByJOzRW6GwPLCOVAOzermmEgwMDvFmukJbwV y2C4ejb/4IhEjfzfzlKedpQoM4oTLYX7Cw== X-Google-Smtp-Source: AGRyM1v9jZo9BytxJiqT+ySgpy1lHpcZtzAyfEofP13193lEpM/CIOgP8jcrGGzH1tkS3DSjvokE0A== X-Received: by 2002:a5d:5c0a:0:b0:218:548f:86a with SMTP id cc10-20020a5d5c0a000000b00218548f086amr5065438wrb.299.1655217434908; Tue, 14 Jun 2022 07:37:14 -0700 (PDT) Received: from 127.0.0.1localhost (188.28.125.106.threembb.co.uk. [188.28.125.106]) by smtp.gmail.com with ESMTPSA id f14-20020a5d58ee000000b0020fc6590a12sm12169254wrd.41.2022.06.14.07.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 07:37:14 -0700 (PDT) From: Pavel Begunkov To: io-uring@vger.kernel.org Cc: Jens Axboe , asml.silence@gmail.com Subject: [PATCH liburing 0/3] single-issuer and poll benchmark Date: Tue, 14 Jun 2022 15:36:30 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Add some tests to check the kernel enforcing single-issuer right, and add a simple poll benchmark, might be useful if we do poll changes. Pavel Begunkov (3): io_uring: update headers with IORING_SETUP_SINGLE_ISSUER examples: add a simple single-shot poll benchmark tests: test IORING_SETUP_SINGLE_ISSUER examples/Makefile | 3 +- examples/poll-bench.c | 108 ++++++++++++++++++++ src/include/liburing/io_uring.h | 5 +- test/Makefile | 1 + test/single-issuer.c | 173 ++++++++++++++++++++++++++++++++ 5 files changed, 288 insertions(+), 2 deletions(-) create mode 100644 examples/poll-bench.c create mode 100644 test/single-issuer.c -- 2.36.1 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 029ABC433EF for ; Wed, 15 Jun 2022 10:05:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236164AbiFOKFo (ORCPT ); Wed, 15 Jun 2022 06:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238275AbiFOKFn (ORCPT ); Wed, 15 Jun 2022 06:05:43 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDEC93BF8E for ; Wed, 15 Jun 2022 03:05:42 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id z17so6032827wmi.1 for ; Wed, 15 Jun 2022 03:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LEfuhkg/6eZKZsc/6qKn0BgAYG3XphiiwBf/pnS/K9Q=; b=acTJvf3fgDy5dguagDPaMgMVhPlE78vtB9K8BlEoEUJXFXpc8+Po60b1sjibz3TNhC lxfxXdQYSnjI3H0J0PUQhM/DyvtALowu/ckh1B6H8HWYRdi5svVsOCL9bjEdQEbYIwQd Y8u/gUYoNTg5t9/6SubfVEW8/8CirIEA63PByVpcRZERGO4kn30hQPY276jcOMkDArre Xunmg0kSX1FwyNv+vomDMWyfc6rGA6rKB7NJFUG8clRNes0RCCoy5o7XXSo2q8G5lUIf 70FGGi11zLSVUHdZI3Ave3ApiXrc7uGU0Ziej91JlJDTuEoXLN7t9V/6Z+TvHQMPaJIR Smsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LEfuhkg/6eZKZsc/6qKn0BgAYG3XphiiwBf/pnS/K9Q=; b=8C8vpb4WSIQ31dhpLms164n9FHw21b1gckmMtHW/5rnH7lk2xPKrebL6TtpdEa1kru Lbrh5L4UwCp+u6zB09otUCyonmoVhHEiG0zCVlEvcnyLF0xgu9AcFZxbHWi2NKrVcuST Sg4ESeBbFUaa9uOj7TqMJgQ/dusOuO/5HKi/fxQ4Q6nMFMpQrtHeIzfjKbV6OCxeBqcj OZ5iydh1PK8zeHvqaUMBv651lC2417b4+k0o44L1eynLi/ktHq7uY5YaI294JvpdzNAG 5Nnz2aSiW8t3rF3ehdEZgd5bDb5s0hFOxWP4mVHPLgR13yn8mcTzsMRE2wPGjmDcIG5m OruA== X-Gm-Message-State: AOAM532ug5+nA1sbnD60yJuUxFTNccoGMPyo0JZbzWGkpf45dZRg18gL v9sdTlkV2DVYj4glQHzEIZAlZYJZX0lc6g== X-Google-Smtp-Source: ABdhPJweVscKT7YQzCLmUck9saCPksfG6zSumy2F3rzJ+I/1dfPsL03mVAIerUeLmP3JYnx5m8F+ew== X-Received: by 2002:a7b:cb4b:0:b0:39c:49dd:b2cc with SMTP id v11-20020a7bcb4b000000b0039c49ddb2ccmr8834289wmj.123.1655287540910; Wed, 15 Jun 2022 03:05:40 -0700 (PDT) Received: from 127.0.0.1localhost (188.28.125.106.threembb.co.uk. [188.28.125.106]) by smtp.gmail.com with ESMTPSA id w5-20020a5d6805000000b002119c1a03e4sm14074984wru.31.2022.06.15.03.05.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 03:05:40 -0700 (PDT) From: Pavel Begunkov To: io-uring@vger.kernel.org Cc: Jens Axboe , asml.silence@gmail.com Subject: [PATCH liburing 0/3] single-issuer and poll benchmark Date: Wed, 15 Jun 2022 11:05:09 +0100 Message-ID: X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Message-ID: <20220615100509.Fz2FnCxK1Uaq_wa-rzvtPeeDFxngoYNWx4UhoFA2RSg@z> Add some tests to check the kernel enforcing single-issuer right, and add a simple poll benchmark, might be useful if we do poll changes. Pavel Begunkov (3): io_uring: update headers with IORING_SETUP_SINGLE_ISSUER examples: add a simple single-shot poll benchmark tests: test IORING_SETUP_SINGLE_ISSUER examples/Makefile | 3 +- examples/poll-bench.c | 108 ++++++++++++++++++++ src/include/liburing/io_uring.h | 5 +- test/Makefile | 1 + test/single-issuer.c | 173 ++++++++++++++++++++++++++++++++ 5 files changed, 288 insertions(+), 2 deletions(-) create mode 100644 examples/poll-bench.c create mode 100644 test/single-issuer.c -- 2.36.1