Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2481302ybd; Mon, 24 Jun 2019 07:11:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxILRA8kpbVGDGg24pA+d93S9JOIh/TyzGXmX9Y+9TGDAjU+rG/kEAUZD30KUqzbv4vaPcl X-Received: by 2002:a17:90a:8c0c:: with SMTP id a12mr25172441pjo.67.1561385486533; Mon, 24 Jun 2019 07:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561385486; cv=none; d=google.com; s=arc-20160816; b=j6zLl/BGE6J2ww1x/b7LAqfVfeOCrKNpYyTebMGjJNiNwcYrTc+obkVPUI/Mof37GO o9XYZvKaY+V+dvQUqzFUF4/MGXjOFamnH6l8genWvLxgAKxpNC9k5xuVOhBVgH4Ro5l8 svSdP7Nq+X5u5sKY7fe0JWBfwpKJf0RJQ6QPY03GSftbfQaMxqcFIb22jdBoGGRnlNKb UR+5QRlqPiRKaJD6bEtdizFFqH13amOIqY0m/lbA2AyV67I9/+WBHvAPFNAYdD+fgpvW mdlvMRS7baqWpBzYtdjFvd9NA5VUtmeTt4plEXVvRt4YwqI5S4nHhPnXQdJ2wdmfEDG7 wfow== 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=UlQ/8VXCLnpb4HzEbgCx4zQB89JrbEJ7Z45qgbBp/tA=; b=QvGQ/2Dz4yK57peFw63gERqk0+y59CaDvMxrtBhHFYSZ9ESylJQakSodN4t9OfwMoa IBscKOpwHKYyiMg5VWUznq8n6QsXoyRTIdktOnT26QagX3c0FmX3OzKIBe0B0n3CVvET urwzccX2siUPh3R/EQb9vLVxUTkT85XINMdnOuINp/3wn1dTqhHb6csTfPd7Y3HrgGzc TkwuacPUo+84OcIlWS+vME4VGVLIavYaAMY7KcyQ9bPa9f3myMLwr1LKE2XWn6VjoppS 4gVFHeunwVJf9olf46EOSctILa5wvJOI6MKEFMpSxb/V7In9gWL3fihlZrmorXypkx2e rrWQ== 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 p11si4868379plq.208.2019.06.24.07.11.10; Mon, 24 Jun 2019 07:11:26 -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 S1728420AbfFXMvC (ORCPT + 99 others); Mon, 24 Jun 2019 08:51:02 -0400 Received: from foss.arm.com ([217.140.110.172]:49274 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727965AbfFXMvC (ORCPT ); Mon, 24 Jun 2019 08:51:02 -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 F20E7344; Mon, 24 Jun 2019 05:51:00 -0700 (PDT) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7EDFB3F718; Mon, 24 Jun 2019 05:50:58 -0700 (PDT) Date: Mon, 24 Jun 2019 13:50:55 +0100 From: Andre Przywara To: Vincenzo Frascino Cc: , , , , , Catalin Marinas , Will Deacon , Arnd Bergmann , Russell King , Ralf Baechle , Paul Burton , Daniel Lezcano , Thomas Gleixner , Mark Salyzyn , Peter Collingbourne , Shuah Khan , Dmitry Safonov <0x7f454c46@gmail.com>, Rasmus Villemoes , Huw Davies , Shijith Thotton Subject: Re: [PATCH v7 00/25] Unify vDSOs across more architectures Message-ID: <20190624135055.7020fc2a@donnerap.cambridge.arm.com> In-Reply-To: <20190621095252.32307-1-vincenzo.frascino@arm.com> References: <20190621095252.32307-1-vincenzo.frascino@arm.com> Organization: ARM X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; aarch64-unknown-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 On Fri, 21 Jun 2019 10:52:27 +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. [ ... ] Some numbers for the ARM(32) part: I booted my trusted old Calxeda Midway server (Cortex A-15 cores) and ran the vdsotest benchmark on it. The results are: (vdso: times, in nsec/call; n/t: "not tested" (=not implemented)) call 5.2-rc3 5.2-rc3-vdso clock-gettime-monotonic: 147 142 clock-getres-monotonic: n/t 34 clock-gettime-monotonic-coarse: 90 96 clock-getres-monotonic-coarse: n/t 36 clock-gettime-monotonic-raw: 431 142 clock-getres-monotonic-raw: n/t 35 clock-gettime-tai: 598 150 clock-getres-tai: n/t 34 clock-gettime-boottime: 592 142 clock-getres-boottime: n/t 34 clock-gettime-realtime: 149 142 clock-getres-realtime: n/t 34 clock-gettime-realtime-coarse: 86 96 clock-getres-realtime-coarse: n/t 36 getcpu: n/t n/t gettimeofday: 133 110 So there are some minor improvements, two minor regressions, some significant improvements (factor 3-4), and some dramatic improvements (where we actually gained VDSO support). Overall a pretty impressive outcome for an "Odd fixes" architecture, especially as it should reduce the future maintenance burden. Cheers, Andre.