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=-5.5 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 8A4B1C433E0 for ; Tue, 14 Jul 2020 01:08:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5C84E21841 for ; Tue, 14 Jul 2020 01:08:31 +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="svBxC2pH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726767AbgGNBIa (ORCPT ); Mon, 13 Jul 2020 21:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbgGNBI3 (ORCPT ); Mon, 13 Jul 2020 21:08:29 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B949C061755 for ; Mon, 13 Jul 2020 18:08:29 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id f16so732193pjt.0 for ; Mon, 13 Jul 2020 18:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=0UDBsOmZ33D1jxEA/FhoZCPCt2o2bA5IJ1Yx0QIpJv8=; b=svBxC2pHFv0oOInJ5KG3TN7I2C0/vQ/GW2X7lZe+ra21V61maz0H9iihEiCeW63kDU nmSX/ctT9WhqVoQGf3aHV7dbp+o56tvBedbuX1JuIq3y3vq7tu/0TWhtAZ8TBAnpLQDM uNtRaryp5hIvgS3cxVY/iz+Y2yy2RxoaksFl5mnpgSvHE10v4E8u5xvIYBD7wgzrW8I6 LOE/c6BZCknMANK6AnKqZjm9sFAzV4zQfacS6rbX6Ps6puLFfkTR6mxzMNrjlePGVBp7 xuIZb5lsizlR1qOCiR0UpSQvbGUmrAkrCt+SJ8kCFDoimgiBBlIUG5kCHiXm4xAsbKrq LENA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0UDBsOmZ33D1jxEA/FhoZCPCt2o2bA5IJ1Yx0QIpJv8=; b=ELzMnJcPsXfzfEFPWUZVAgkgic3R2zno6dShVvEd9765BzrVLYJ/tTYOt+6gmsg2hI 5xWDtiOsbI2oO6euXaFgaGQ8oxGiLqzL4QhySPxvnP39QihWH/PDPinAY21ohMwlHS8g JMEujJFIXNA4qZawNgVyG81K6GSpJB21Enl/00oU8UL6ANhCi5HxcLxOY5I+eVzm8Wj1 fY/DgfnZ9AHEaUmYZRWONIYR/tROeIz4c+LWQkmOc0sdGz3cB3w3v/iWHAgcwfOLu/vT pxUExc9FtzYhqqcCuHY7v1hVhOm0I+YwwE6d9Xcx8Ub12D6yAgQWcJxY8+SCo80lpxjL aHzw== X-Gm-Message-State: AOAM530FEyWl7yDww0Bhtnd5PP8dDkUv2ArkfIjMOeW55S1yoV8Bm4va UR/Uu2lf1fULGO1vIhpgos2FIydJEsdAkA== X-Google-Smtp-Source: ABdhPJyGU03phPN5hAdUXP+3DHWo3YYYwZykKV/+KVf+6qeI90BOcAfVc/BDf3l4/D5FeZVDhDj7yg== X-Received: by 2002:a17:90a:240a:: with SMTP id h10mr2118382pje.225.1594688908417; Mon, 13 Jul 2020 18:08:28 -0700 (PDT) Received: from [192.168.1.182] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id p127sm15779479pfb.17.2020.07.13.18.08.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Jul 2020 18:08:27 -0700 (PDT) Subject: Re: [PATCH 0/5] batch completion + freeing improvements To: Pavel Begunkov , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Jens Axboe Message-ID: Date: Mon, 13 Jul 2020 19:08:26 -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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/13/20 5:41 PM, Pavel Begunkov wrote: > Different batching improvements, that's it. > > Unfortunately, I don't have a decent SSD/setup at hand to > benchmark it properly. I do though, but I'm not seeing any improvement with this, whereas some of the previous series made nice improvements... If anything maybe it's a bit slower. > p.s. if extra 32 pointers on stack would be a problem, I wanted for > long to put submit_state into ctx itself. It's getting up there... But really depends on how early in the stack, so 32 could _probably_ work, though usually batched on-stack counts are a bit lower than that. -- Jens Axboe