Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2496179ybg; Fri, 5 Jun 2020 15:38:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+Z9IeDlqKeOCa98GK2bYvHShnVbS6Jq1NrG3NY10l55zEdpUdlLRCODQltbfqxbfsb1MB X-Received: by 2002:a17:906:af84:: with SMTP id mj4mr10405119ejb.473.1591396722639; Fri, 05 Jun 2020 15:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591396722; cv=none; d=google.com; s=arc-20160816; b=JgGuOuVh8x2nk9KjiGBkIEix1gWhnWUBZ1QUQ01lWC4uZ5bjg+AjwHe0Wd1xLH1rAX r6l9JsKNGg5OdqnFNoofATLXP7qMK2GFTt5ONxuwDsKtcKNEVIwvzd0k4LEkp4yLCtr8 TSapmt44jDoN5h/vPG3gW6kTnZA63QYoS88CdL7S64tr2E6eFsR3mBHhTygCGL6Y7K98 dprCu3n0xFzP8sJHSEWucveEIp+mx2ScdEEhVs4IpPQTDt6+BGLWx9mrnMEjOwITKZg4 NvEyq1fMFG1r/0MvxVPFXxj3FJqay4BFWYrfkAabh9ruiptJ6VU+62VLDN5cFRTohhFn JK3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=oh/OAYaFEQ3HxW5W1KPC5V+cDOoZKlRbij/OZk0Nz/0=; b=sC9kqiX+AqKFQo6nZ9HxPLJb18oaCHcfYn7MNSMV2P96sUfYLbEWuUeGB89ePx5Ji5 5BBCLUFXnr4P7G9FilUYVR7Cc+2Rw5pm5JTvsKB7ByHGUV9QDTlZPLCl78G2vnOWoIyG FLy6t0aicm2sHaREsffjKlnxUROTWp2lTIdDfx0UpcepbcoChmJSoEo7gDP25ee54o8f r8xDfiLxHWI2J+k4OODQB0uJvAyA6ZWRaWCge/OAndQqUqlpdHxLGUp54kaYjfAG4+nl mZahfeTBBGbX/h+RfzAJ70oBkgs8FPufQFYCXeCGIqVdP5yFCo67gIoSbs5q858ocAe7 11RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b=bvdXoLAg; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=LDnvWhsH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o16si4626309edi.177.2020.06.05.15.38.19; Fri, 05 Jun 2020 15:38:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b=bvdXoLAg; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=LDnvWhsH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728310AbgFEWgi (ORCPT + 99 others); Fri, 5 Jun 2020 18:36:38 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53735 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728013AbgFEWgi (ORCPT ); Fri, 5 Jun 2020 18:36:38 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 514CC5C01ED; Fri, 5 Jun 2020 18:36:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 05 Jun 2020 18:36:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=oh/OAYaFEQ3HxW5W1KPC5V+cDOo ZKlRbij/OZk0Nz/0=; b=bvdXoLAgqqupdoLaD502Zxzh/3CRStByByu8XkRr6yD HHBQQpXUYelxiWYkDIbTcSqYKkIGYoUzpy7lQ63zYqN5x056z8fgVHoGHL4UnlmP hMTizZWLkXcGKWj5qVnwQlwMy1mQqyzvIDDFc4D6bBPPFSqQC3WOzB7Ty8tDzFCE z0/x5Mkb/1qofThsxI3MdHg+XPxAcI/WAkl+0rQTE5NoLcOBJI9ux6h2eEUAtp9j D829PUV+BCMsF5q6qRuqX1DcCBZUyBqinaHgDzo+Bef6D2hapzjRmNFD5fM/sIbb NvM4Xdk44/icj35oW6gtfW0bgteefzCx7pldF8NXjXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=oh/OAY aFEQ3HxW5W1KPC5V+cDOoZKlRbij/OZk0Nz/0=; b=LDnvWhsHCwf8xPC7r0ocZ4 UvRX4HsdXQK54QO9T2vta/i20Cwh91HiipypI15vX4B8wZaWpx8lnww6aJJQ75Tm Xy2jHNyJzzmqcKEv0HV3Vmiv/r1a8gfZSWHd0jaMqnpb8WL6mMlu9j3TG2yZAbjS eEidO7r4jKN2Cy7E4l8P8vNdBjws7VB8W5ofhES/LP5C2V1g7P0DG1dhlwjQDwkD 6gEOpe4la1TEyjLKHaO0pq4XyG9Hj6rH+cn7DJMJS5b+mxe/oPDFDyYCYU/y+bDh ADR0uD/1pXf3c90DZ2BkIkmrn1gHenDGQsOX7iIflE5I7q7z2RfVqCwAYY0HHnvg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeggedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedukefhkeelueegveetheelffffjeegleeuudelfeefuedtleffueejfffh ueffudenucfkphepieejrdduiedtrddvudejrddvhedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdr uggv X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 7A3683060F09; Fri, 5 Jun 2020 18:36:36 -0400 (EDT) Date: Fri, 5 Jun 2020 15:36:35 -0700 From: Andres Freund To: Jens Axboe Cc: io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org Subject: Re: [PATCHSET v5 0/12] Add support for async buffered reads Message-ID: <20200605223635.6xesl7u4lxszvico@alap3.anarazel.de> References: <20200526195123.29053-1-axboe@kernel.dk> <20200604005916.niy2mejjcsx4sv6t@alap3.anarazel.de> <6eeff14f-befc-a5cc-08da-cb77f811fbdf@kernel.dk> <20200605202028.d57nklzpeolukni7@alap3.anarazel.de> <20200605203613.ogfilu2edcsfpme4@alap3.anarazel.de> <75bfe993-008d-71ce-7637-369f130bd984@kernel.dk> <3539a454-5321-0bdc-b59c-06f60cc64b56@kernel.dk> <34aadc75-5b8a-331e-e149-45e1547b543e@kernel.dk> <20200605223044.tnh7qsox7zg5uk53@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200605223044.tnh7qsox7zg5uk53@alap3.anarazel.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2020-06-05 15:30:44 -0700, Andres Freund wrote: > On 2020-06-05 15:21:34 -0600, Jens Axboe wrote: > > >> I can reproduce this, and I see what it is. I'll send out a patch soonish. > > > > > > Thinko, can you try with this on top? > > > > Sorry that was incomplete, please use this one! > > That seems to fix it! Yay. > > > Bulk buffered reads somehow don't quite seem to be performing that well > though, looking into it. Could be on the pg side too. While looking into that, I played with setting /sys//queue/read_ahead_kb to 0 and noticed that seems to result in all/most IO done in workers. Is that to be expected? Greetings, Andres Freund