Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp438468ybi; Fri, 21 Jun 2019 02:12:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaRWuuxi/uTPG6EINCv9Yig90qIXqV8k+Izx4OjCWoN6KyCI5zH52R+F8LWeKQb+1TAX3X X-Received: by 2002:a63:205b:: with SMTP id r27mr17613440pgm.330.1561108344416; Fri, 21 Jun 2019 02:12:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561108344; cv=none; d=google.com; s=arc-20160816; b=lfkBKuKdsqh/DLJwUrWYZyeeoWayvMuRX3BsItebUBHXrXiYtaZ+1tmM5LVw1cAxsO R7QpZ1tq6JrKQWwWt2JFh2iIiifuBaKe+VdoNjK6jAwtUPJw79o0Z3j+DUoZRbvhsWSY kWRKVWNbG8X0JXu4yTxDIanx3lhd+DuL2PNdpa8hK+kwP/lzxpBNMYfC7XsPOMxMlyCv TV+fNWDg8Qhtdwp09zgJ75p9IkoT4nSE1hnX8L5Ye6pTWkfl6lzEj7e1WeYHjbBqGbxI MZ/GceV67LUkomWR8rBVuFS3zhthyjvkL8kthFl9gnnB3YYOsxR9jkpUQ1PwCdle+O6X pB/w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=J6Y3Bd4Jm6txsn56YmLaKVi9L2CnPlBnXXfq/XOu2K0=; b=f/b27R1a3v0hte+lYLzbPjKQXTnIQVTfQbV/TXj65RUAKS7ShzaJ6hbeDhO2aJW8HT 6td5wP0qmYgviUcJ99pr4TY+Zo2185mfKVainVwAGJnuZ+SolWtdMitDPHRz6K9AZaRg wbJ4McPnkBPPdnypldV6k7BLBR9HT2y4nR7GJCUQEv5aVWv1SeGn23um7YyswdpPK/i0 um7a0yNiabjnYiHhavMOcJVNhQPg2L8p3IoHjun/FcRm2pqPtWmwDBMkVXBdYu4zF1Lw SjWUDVinS1jMo6HVxQ5mG2ijAlhwzT0wwRRcr3dBfcP21VkhFB+t1GCrafroS+CERhuO 6N3A== 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 h1si1903000pgs.290.2019.06.21.02.12.07; Fri, 21 Jun 2019 02:12:24 -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 S1726350AbfFUJME (ORCPT + 99 others); Fri, 21 Jun 2019 05:12:04 -0400 Received: from foss.arm.com ([217.140.110.172]:52154 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726210AbfFUJMD (ORCPT ); Fri, 21 Jun 2019 05:12:03 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 98C30360; Fri, 21 Jun 2019 02:12:02 -0700 (PDT) Received: from [10.1.196.72] (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3041B3F246; Fri, 21 Jun 2019 02:12:00 -0700 (PDT) Subject: Re: [PATCH v6 00/19] Unify vDSOs across more architectures To: Andre Przywara Cc: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan , Arnd Bergmann , Huw Davies , Catalin Marinas , Daniel Lezcano , Will Deacon , Russell King , Ralf Baechle , Mark Salyzyn , Paul Burton , Dmitry Safonov <0x7f454c46@gmail.com>, Rasmus Villemoes , Thomas Gleixner , Peter Collingbourne References: <20190530141531.43462-1-vincenzo.frascino@arm.com> <20190620172746.7f92cb14@donnerap.cambridge.arm.com> From: Vincenzo Frascino Message-ID: <40c3e4e9-96d3-f940-f5cb-ed97762ef9b0@arm.com> Date: Fri, 21 Jun 2019 10:11:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190620172746.7f92cb14@donnerap.cambridge.arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/06/2019 17:27, Andre Przywara wrote: > On Thu, 30 May 2019 15:15:12 +0100 > Vincenzo Frascino wrote: > > Hi, > >> vDSO (virtual dynamic shared object) is a mechanism that the Linux >> kernel provides as an alternative to system calls to reduce where >> possible the costs in terms of cycles. >> [ ... ] >> The porting has been benchmarked and the performance results are >> provided as part of this cover letter. > > I can't reveal the absolute numbers here, but vdsotest-bench gives me > quite some performance gain on my board here ("time needed on v6" divided > by "time needed on 5.2-rc1", so smaller percentages are better): > clock-gettime-monotonic: 23 % > clock-gettime-monotonic-raw: 30 % > clock-gettime-tai: 5 % > clock-getres-tai: 5 % > clock-gettime-boottime: 5 % > clock-getres-boottime: 5 % > clock-gettime-realtime: 25 % > gettimeofday: 26 % > The other numbers stayed the same or differed by just 1 ns, which seems to > be within the margin of error, as repeated runs on the same kernel suggest. > The 5% numbers are of course those were we went from a syscall-only to the > newly added arm64 VDSO implementation, but even the other calls improved > by a factor of 3 or more. > > Sounds like a strong indicator that this is a good thing to have. > > Not sure if "running some benchmark a couple of times on a single machine" > qualifies for this, but I guess it means: > > Tested-by: Andre Przywara > Thanks Andre, it sounds great! I will add your tag as well to my patches. > Cheers, > Andre. > -- Regards, Vincenzo