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=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 34AE0C432C3 for ; Fri, 15 Nov 2019 00:09:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0369F206B6 for ; Fri, 15 Nov 2019 00:09:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="IwJYqkwH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726956AbfKOAJr (ORCPT ); Thu, 14 Nov 2019 19:09:47 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:23850 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726852AbfKOAJr (ORCPT ); Thu, 14 Nov 2019 19:09:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573776586; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3cHPeeFk62cfhiin+++uryp8ZtcZOe3SLmduzYZNfWM=; b=IwJYqkwH/eC82LmcvGmP1/1Xj0B2FwV5AM6HIV5MX5ZmPZOVm/9lQFbSDcQJ/FhmpWVCe0 UYbUkM7Irfz5xW/+zQhS7IDZYWIeetPxP5dYmhzOnEB1SfbRp70D1f/aD5v4GSN8aTApnn nx6NChHjiBTgoPDfYMuM2jFCNCyalsk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-301-zxLGyfdnOxSeWj7D5R9B-A-1; Thu, 14 Nov 2019 19:09:43 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 356F78048E5; Fri, 15 Nov 2019 00:09:41 +0000 (UTC) Received: from ming.t460p (ovpn-8-17.pek2.redhat.com [10.72.8.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 56B3260CD0; Fri, 15 Nov 2019 00:09:29 +0000 (UTC) Date: Fri, 15 Nov 2019 08:09:25 +0800 From: Ming Lei To: Peter Zijlstra 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: <20191115000925.GB4847@ming.t460p> References: <20191114113153.GB4213@ming.t460p> <20191114131434.GQ4114@hirez.programming.kicks-ass.net> MIME-Version: 1.0 In-Reply-To: <20191114131434.GQ4114@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: zxLGyfdnOxSeWj7D5R9B-A-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Nov 14, 2019 at 02:14:34PM +0100, Peter Zijlstra wrote: > On Thu, Nov 14, 2019 at 07:31:53PM +0800, Ming Lei wrote: > > Hi Guys, > >=20 > > It is found that single AIO thread is migrated crazely by scheduler, an= d > > the migrate period can be < 10ms. Follows the test a): >=20 > What does crazy mean? Does it cycle through the L3 mask? >=20 The single thread AIO thread is migrated in several milliseconds once. Thanks, Ming