Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3160562img; Mon, 25 Mar 2019 05:08:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxiVOxhtqcEMByThJQro8h4a0hzf5G10tM7+vLLYXq5wswuNa47xWvmMjZNxMdIGYwQSLt X-Received: by 2002:a17:902:848f:: with SMTP id c15mr24861992plo.240.1553515703299; Mon, 25 Mar 2019 05:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553515703; cv=none; d=google.com; s=arc-20160816; b=xy+0VYUEJxFDhnFvWv4Sb1LCL3vK2yonLrHYqL5HTS8HLQen4CwGIlrh5mbYkULuf3 EWAtigawJVq88PS1IbatcmZd7vsqYaERGUA+4H+7pHwF0Oswgr8mAn01OqeOw6J0RNFv /dhJWdgqvr3tQftH9AZrvT3Rzs8+t8A/eMLqGjgJq9nbR0+wbIhjzrSvuA+lv9JugUdr Hc1iRMhYEfenShXSXuIxikR5trychsCqStKd+o4kxuAypddlUci9xsirPc0wCTBR5CPN bdw6F0NuQrwl3qJvg9/5xsp/itgvKHQrs3R/fbPBg0qFmPwVfBKJDHgLLwFWfOwF6Ru2 h3nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=mgWhaGDdO3Y0Lfzr1QjOtnMC7WynpV0a3cIUxUQLj68=; b=u/HFtWXJVHGQhTm7dHkXDqQrMIE+Wy0wFw64xotpU5+qqSdfrfhty/FQM5CgSew1/3 jb5Czm0RFwHYXlnZm0tLl10RXa99hGkr5gBX3LLWvNkdDQPy6++2VDKxAuJXFJDArBra VaBAiaL7RCiEmuTV37MNIEPtOY0pVSJqAij5xzHiF9QvU2RkqUSZEyn/jarLc93J+ean j5r8Aa1HJCbO77CN0rVTPSN0khmfKnBsVJh0y/7BTr5PV3kp6Rt9D7h2ax7ssv/yxooE JPLnFpiCBaGQt7IRXFXeYZ6LEptlsF9H27oiLJ+1xUqPg5g6P1JN7Pv+AtbO5zPrxu31 awwg== ARC-Authentication-Results: i=1; mx.google.com; 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 u18si13211268pfm.84.2019.03.25.05.08.08; Mon, 25 Mar 2019 05:08:23 -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; 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 S1731058AbfCYMGF (ORCPT + 99 others); Mon, 25 Mar 2019 08:06:05 -0400 Received: from ms01.santannapisa.it ([193.205.80.98]:24045 "EHLO mail.santannapisa.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730837AbfCYMGF (ORCPT ); Mon, 25 Mar 2019 08:06:05 -0400 Received: from [10.30.3.184] (account l.abeni@santannapisa.it HELO luca64) by santannapisa.it (CommuniGate Pro SMTP 6.1.11) with ESMTPSA id 137593801; Mon, 25 Mar 2019 13:06:02 +0100 Date: Mon, 25 Mar 2019 13:05:57 +0100 From: luca abeni To: Dario Faggioli Cc: Boris Ostrovsky , thibodux@gmail.com, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, oleksandr_andrushchenko@epam.com, tglx@linutronix.de, jgross@suse.com, ryan.thibodeaux@starlab.io Subject: Re: [PATCH] x86/xen: Add "xen_timer_slop" command line option Message-ID: <20190325130530.56603806@luca64> In-Reply-To: <20190323114151.5cebf31b@sweethome> References: <1553279397-130201-1-git-send-email-ryan.thibodeaux@starlab.io> <52bfeae7c256faec444b69efe58d363ad60c3fc5.camel@suse.com> <20190323114151.5cebf31b@sweethome> Organization: Scuola Superiore S. Anna X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, On Sat, 23 Mar 2019 11:41:51 +0100 luca abeni wrote: [...] > > > Is there any data that shows effects of using this new parameter? > > > > > Yes, I've done some research and experiments on this. I did it > > together with a friend, which I'm Cc-ing, as I'm not sure we're > > ready/capable to share the results, yet (Luca?). > > I think we can easily share the experimental data (cyclictest output > and plots). > > Moreover, we can share the scripts and tools for running the > experiments (so, everyone can easily reproduce the numbers by simply > typing "make" and waiting for some time :) > > > I'll try to package the results and the scripts/tools this evening, > and I'll send them. Sorry for the delay. I put some quick results here: http://retis.santannapisa.it/luca/XenTimers/ (there also is a link to the scripts to be used for reproducing the results). The latencies have been measured by running cyclictest in the guest (see the scripts for details). The picture shows the latencies measured with an unpatched guest kernel and with a guest kernel having TIMER_SLOP set to 1000 (arbitrary small value :). All the experiments have been performed booting the hypervisor with a small timer_slop (the hypervisor's one) value. So, they show that decreasing the hypervisor's timer_slop is not enough to measure low latencies with cyclictest. Luca