Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3177654ybc; Thu, 14 Nov 2019 05:15:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxsS0rf7kEV+a7zOuHtuMrAZ6tLC+RwGMG1bDSs2WrbFxdaBxxBfki+pzRH0c+k85IcbrVr X-Received: by 2002:a17:906:70e:: with SMTP id y14mr8242868ejb.70.1573737352858; Thu, 14 Nov 2019 05:15:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573737352; cv=none; d=google.com; s=arc-20160816; b=SvbrSzwoEkMj6WKY/Zo0rf18gaPfSjlp7Nc4Pp3XQ0wx2s2lmABfnIREM8ArwcMOO4 lCJ6XB0+Yp52ygidsOGBmLYu8S8Jk1Sigo8IKATwLr7Sz+7CefiAkngzjkifjr4hOCly oALfhAztZG1r0AqCGa1Yr9T7divKIzDQ9VegqNcllS/rgjBww5vkbS70EhuwDF75S3Hq 5tXxRpL2f6Am3Fw7/vvsSLTpA7mXwb6LCWydTErJjP0enySI+nRzbODGQ45raIyV6HWU 2mjMMKY7lordAM/XbfUaUyW33XDZLjQswa9VAqjzm4WvSmeCffDwgJV/5WbKcFln6DsC Hn3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=He7TZydBqJdm6j9sMwQxIx5OY+kOVIAf9OOyvnsEo8I=; b=qfwo2Co8OByPMTGMiR3YrdXTAraftvuqynEr8BhmG0mYQdP1Ap1ZD5BEhCMJHSZ/ki GOqisSuq5TxQtKgtMi6mVpbCpPY54AaR4N+6YIKXBSHYBZVGe9fcER0FwSHMDl2zdFtd mkyyXUUc8uUVqlZd/oonF1ha2eGlNLbJkh225k62NQdrPk79g9Cc8uYAwX0kY0CIsDHr mi4ZC/PYFuzXmkwd79WCG9/A718nmCo3rh8GfAO3Trruw7BhbIVj7pTm/BuBgP/S5oDS QRW1/woatd/GD64QDlG/cBjgWw1RW39503slazJq83TBhT+smFC3hZC/jayq/7tpK/tr HdEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=H8kXXk4c; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c53si4130870eda.396.2019.11.14.05.15.27; Thu, 14 Nov 2019 05:15:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=H8kXXk4c; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726598AbfKNNOo (ORCPT + 99 others); Thu, 14 Nov 2019 08:14:44 -0500 Received: from merlin.infradead.org ([205.233.59.134]:49226 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbfKNNOo (ORCPT ); Thu, 14 Nov 2019 08:14:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=He7TZydBqJdm6j9sMwQxIx5OY+kOVIAf9OOyvnsEo8I=; b=H8kXXk4c0DwI4SMpC88yvWlam G0t6uhkTWxOyi9P4Pv/0bY/6oagZlpCILgiPEI6osgCmOuD2BWKkijjFF6YrGWUZjFr23c1hDWg3N D6fTelb8eVI9h5qIKkP26X4UAmcJfKMi2N6RuOJF7QzaBqwN3DoVjWxM4jkqeD7XHAnW8zc7NWANi nFnBKj0RnSAwMyObNRjVbHvLO7jKgfDVp0J9LtN19xmYVIcr96WDk6LQxUHL8ey4yLHDe0Q4Y8jkd l/bwbFVmItcuydLKrrYdWcco07I2BBOR17Tlv9upt1Y4cUgcPsLrOHAfpKHIFRjXCFcwSmVPy00xl OO4J1sI8g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVExH-0006vR-Vb; Thu, 14 Nov 2019 13:14:36 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id DF8F5301120; Thu, 14 Nov 2019 14:13:26 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 93E2829E032D8; Thu, 14 Nov 2019 14:14:34 +0100 (CET) Date: Thu, 14 Nov 2019 14:14:34 +0100 From: Peter Zijlstra To: Ming Lei Cc: linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff Moyer , Dave Chinner , Eric Sandeen , Christoph Hellwig , Jens Axboe , Ingo Molnar , Tejun Heo Subject: Re: single aio thread is migrated crazily by scheduler Message-ID: <20191114131434.GQ4114@hirez.programming.kicks-ass.net> References: <20191114113153.GB4213@ming.t460p> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191114113153.GB4213@ming.t460p> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 14, 2019 at 07:31:53PM +0800, Ming Lei wrote: > Hi Guys, > > It is found that single AIO thread is migrated crazely by scheduler, and > the migrate period can be < 10ms. Follows the test a): What does crazy mean? Does it cycle through the L3 mask?