Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2563219imm; Thu, 18 Oct 2018 17:28:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV61sd+T+fxKfVRrHIiUKQsGExN8oRbix/uDFX3WLH++HdTfQmcq3vPAyf/o+a9oo8SjmsxHU X-Received: by 2002:a63:1302:: with SMTP id i2-v6mr31057029pgl.380.1539908896940; Thu, 18 Oct 2018 17:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539908896; cv=none; d=google.com; s=arc-20160816; b=GDKijP2D4jYWlmWLFcznFSR9E4ZpZGwWgD68NhQqJ7UDkOKF9FC8k6ZcyCr+IFk1kv 94gTI6u9I7ZE3s7nEZzhgiQDi3w5o1SPfO85EUUzIAtkE+cM/3QDrHUA+2/3EUWSeGsa Vr9E0TgK8Vt8pJ1y1J+iapuU3JQM7CuGy4vV0JG2l28/SZ3jUFGgC20haQDHGxGhIp7i lwJCBpIvR1eBug8tyogjh24lPu0O1mehwUHC6q9dhwgEBBPxZ0OO3X6hMJRRtks0SnBt xw023kgueCIoNLQe8grdfGcObwVK1gmWN9BPoMeUj1xfYFDpnK6g6V9g5dVzHqLHZyDY jBWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gZUWIHRxBCWO/Hu9Bcek6ZhqmzPDzzIWZIqGiyhJ8bA=; b=Hk1y6r6GUu1HpuZ6dfcXrhAcHr0NClVlAjCdk8tOF1f6LY6wwZNUzVJW39yg41nMgs 6i6DYpF8tZrJkm+SH308UlUWG9G6f97TMRbkFLz7n8CmgBST9kcATjH/iE+b+QuF312j 0eTJ9bz3DqbW8CV4T1veCa2oQpfSW1UhbUeGbcLw3FWweubsndokNBlOQoW0X+rmjnVb NVGK1XdGPa8ooLLU1TU0JNHydxZT1tgQp+VdyI7XxzLm/KenbyiKbRpsLqE7JmXU18LD jmuEXAe/t3FjBQVyIM38SF4Qunq8mWRoyR0socTffwN+Qd/OHPr5EkEEd6vCaVUmImE6 XguQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=XXlMQ+U2; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10-v6si4816958pgt.130.2018.10.18.17.28.01; Thu, 18 Oct 2018 17:28:16 -0700 (PDT) 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=@oracle.com header.s=corp-2018-07-02 header.b=XXlMQ+U2; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbeJSIbC (ORCPT + 99 others); Fri, 19 Oct 2018 04:31:02 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:36548 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725910AbeJSIbC (ORCPT ); Fri, 19 Oct 2018 04:31:02 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9J0NbH1006032; Fri, 19 Oct 2018 00:27:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=gZUWIHRxBCWO/Hu9Bcek6ZhqmzPDzzIWZIqGiyhJ8bA=; b=XXlMQ+U2TRJ0SOsqSmeNECVkYyUU+0PvU6vQQ8T2PbEFOhB66vwC3243q9M3O2oy9tne 8HxXGnWRvLpwscu25tP9HPaqiNZcSNLa/wB+dD/1EJaNTyqtq+H0cqzwjqQzKyLkVkD1 kQWq9vOv2dzQqhshrr3ywFu96gMgpqokc86o23XchTnJn1bqZ8u4lXjopm3uwTej+jDB 1v/7oyq48W3aubEm6IgKDJTMDgBwPMD5MlHzSyanhqShWLt/DjuvuJDk8I4FFt/tdGlq h7ZlmENEp4eob5Or2rnO9jCdMxiD/yYaMBWYNo7P54rMCaXR4RIVyd/zS1h7BVUwaEUP ug== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2n38nqhf8r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Oct 2018 00:27:05 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w9J0Qx6J028899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Oct 2018 00:26:59 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w9J0QxqY002191; Fri, 19 Oct 2018 00:26:59 GMT Received: from [10.132.91.175] (/10.132.91.175) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Oct 2018 17:26:59 -0700 Subject: Re: [RFC 00/60] Coscheduling for Linux To: =?UTF-8?Q?Jan_H=2e_Sch=c3=b6nherr?= , Ingo Molnar , Peter Zijlstra Cc: linux-kernel@vger.kernel.org References: <20180907214047.26914-1-jschoenh@amazon.de> From: Subhra Mazumdar Message-ID: Date: Thu, 18 Oct 2018 17:26:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20180907214047.26914-1-jschoenh@amazon.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9050 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=923 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810190002 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jan, On 9/7/18 2:39 PM, Jan H. Schönherr wrote: > The collective context switch from one coscheduled set of tasks to another > -- while fast -- is not atomic. If a use-case needs the absolute guarantee > that all tasks of the previous set have stopped executing before any task > of the next set starts executing, an additional hand-shake/barrier needs to > be added. > Do you know how much is the delay? i.e what is overlap time when a thread of new group starts executing on one HT while there is still thread of another group running on the other HT? Thanks, Subhra