Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3865412ybc; Thu, 14 Nov 2019 16:11:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzSRhHr7Q4oaOFhWPEJryyP6etXyxW7SeO9aHt0HKrtQSM9/HQH19DnEbP83yRAqMgnuzeP X-Received: by 2002:a05:600c:28c:: with SMTP id 12mr11150642wmk.25.1573776674781; Thu, 14 Nov 2019 16:11:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573776674; cv=none; d=google.com; s=arc-20160816; b=eU/1zTK7fDeMIpYNVdkUTEH+fkpg3ojdG7qumRtk+DUq5dgwOL+9wUefdTz/XIta8v zjMoxB6I/uubkzOqgZ85Y9/HrWyT5Bv19UDhFBMA8sjIwOnx6JQRq1/NoxWcWBS6iokN GOdZVQuSpvX0OljKY5Q1sjTomGXL+R1BDqKWOS8eF4WODTGit7JEcZNWtXVDtO+ydQSh Fi//ptI6/R6SC3pft+wpLYlEqHL2cnP2PkKmJBR3pfihxC2vLb33Rv1j2C+5XAYANp6K eJ8Rgk9kXk4B+nTrwlxxIp6VFcNkshc84aZL1mrB/mbCyBYiJ5ID6xBIPvz1wkNS0Hyw 8y3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:user-agent:in-reply-to:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3cHPeeFk62cfhiin+++uryp8ZtcZOe3SLmduzYZNfWM=; b=rDEVIyo5xKIN/+Kz7bNvM7L59XWqmM5ECySxopwfoUloqRu+b3du4p+9Y9er8WkRBz QtWFOQB+04W86flwMIyR6uWBJee6PlvJwg3mb8Ds+27/yUkHkjqpR14QGm9uon8TpQR3 kLaKAtDI2WraK/wqASVUgkMaQxtkI68pieQsmNl3JyQw9znQ7B09sHYYDbPgKDD5Sbm6 wlUoMOB02Un5G01Q7C/MvTRh13BCIJuaeIk7i6xBcYQLpLkV/OUfJntiszmgORgOlh+O 49rdrLrv13Rx/wtvlLCqEZ3ER2QtWWGmUAY1cmIrYmvcEpJPFn5YwfJ8HFARD7fsqcK+ nxxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IwJYqkwH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e50si5388552ede.59.2019.11.14.16.10.48; Thu, 14 Nov 2019 16:11:14 -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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IwJYqkwH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726953AbfKOAJs (ORCPT + 99 others); Thu, 14 Nov 2019 19:09:48 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:51301 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726767AbfKOAJr (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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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