Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6355008rwl; Mon, 9 Jan 2023 07:23:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXubQ03VYZXP6Q9gezkZVXPFc+CsLL8UJe0f3b2v4Vm44NUpdk4TvMW1pz84ooceXjjiEmZ9 X-Received: by 2002:a62:6286:0:b0:588:1f90:9ecd with SMTP id w128-20020a626286000000b005881f909ecdmr4658121pfb.9.1673277800208; Mon, 09 Jan 2023 07:23:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673277800; cv=none; d=google.com; s=arc-20160816; b=dZ8onmsGndFxC+CHUWl3+cbCrcSLfn8XHJkqMmcy7PzPNrEKDO4OrNIbWvhpFr4f+E AyEGMGSUbeuJZrX756DRmYEVfsvQVrzymyoCx/+POJaUWaArW7GFu7LohWu608zX7kky BIEAalaW/81QBYbB5Hj7Vr+8FQ4bg8II2y5y2cPmLt94WPgJZfh8FBhM3m8n4a4IVOoQ p8TiuPiQRbjN90vLI9z9MHCmOUvBkRSOLQUs0vK33hLsL06G8FwkqZV/ldNc3aoXtTMa wewY6SqsigV+l3X17CaxkhDT1+OY+yGTl3o2LZTT5dDovSTw/AVxLJm1Bx61ByMUiTq4 mPzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3N0YypGB5FR8jmXU/zlMwee5sTdJ2IYXfAvNqLFDCmc=; b=j3XxC+sZpLMHbiSJCUwUPCgr637xF0uavSFO4Rq4lKhrb7xkDOHlS2rLMplAJ/rfAD 0pICTNb9efZyFbA84W/1Bc4T//gK/7fXIMX/okFlU+ylgNmsBJDfQcyjYb+K3aXUTxSY ZTcemuUgYhIG9sUd1+R66GKx5Js0dCqqwALcd9mo8NCIPGdj8Ke33N3ji78WUKniPJWJ frGVtl+/VqY9NsGCzGZ4yX7MvY6yylwUdWx9GBj911L+/B5xKOtEaYywlLToLzTTWwJT 3BdVPO6lqqd1hYqyDrnC/PSfw3P3MGAXnvBRPh6EqL98/fJvyNLzct/c3+Evi5mRcjy8 dMTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=E9FxY7Nc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y125-20020a62ce83000000b00586896d5978si6701524pfg.232.2023.01.09.07.23.13; Mon, 09 Jan 2023 07:23:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=E9FxY7Nc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235434AbjAIO7j (ORCPT + 55 others); Mon, 9 Jan 2023 09:59:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234826AbjAIO7f (ORCPT ); Mon, 9 Jan 2023 09:59:35 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89D5F186A9 for ; Mon, 9 Jan 2023 06:59:33 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 7A5D51C09F6; Mon, 9 Jan 2023 15:59:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1673276371; 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: in-reply-to:in-reply-to:references:references; bh=3N0YypGB5FR8jmXU/zlMwee5sTdJ2IYXfAvNqLFDCmc=; b=E9FxY7NcAmeyouB8/Bp/QA6JhhiikqOdQt+32HGrP5Sp+LtJPEShtfM71Dceye3hYmc9AW 2MzGRzlT9KSTwG5UjkqmuUVh0H1qkZRjHi2C4O+bNLv9lxscxKyLNZkr+TnT1JNTp6DcMG wEs0nlgYgronjcoBtoh6vOBcn4bsm5c= Date: Mon, 9 Jan 2023 15:59:31 +0100 From: Pavel Machek To: Theodore Ts'o Cc: Geert Uytterhoeven , kernel list , Andrew Morton Subject: Re: Dhrystone -- userland version Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pgmVVIHcPVVTV7XJ" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pgmVVIHcPVVTV7XJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > However, as this is not Linux-specific, how hard can it be to convince > > > your distro to include https://github.com/qris/dhrystone-deb.git? > > > Usually, when I have a full userspace available, I just clone the abo= ve, > > > and debuild it myself. > >=20 > > Dunno. I'd not solve it if package was in Debian, but it is not. >=20 > I would suspect the better long-term solution would be to get the > package into Debian, since that will be easier for people to use. I > suspect the reason why most distros don't include it is because it > really is a **terrible** benchmark for most use cases. Yeah, so... every benchmark is terrible. Is this one worse than most? I tried benchmarking using: time factor $[65863223*65863159] - but that's division test, not a CPU test, and there are two versions of factor floating around time cat /dev/urandom | head -c 10000000 | bzip2 -9 - | wc -c - but that seems to be memory test, not a CPU test. Dhrystone seems to be making some kind of comeback in RISC-V land. Is there something better? Something better that is still reasonably small? Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --pgmVVIHcPVVTV7XJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCY7wr0wAKCRAw5/Bqldv6 8gfwAJ9jQcuWAQlbpDwARXR+3HLrO2KmSgCgt9Q3DDs4C2QhY6L7GZ7QQ3XoT+A= =6mf6 -----END PGP SIGNATURE----- --pgmVVIHcPVVTV7XJ--