Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9725790rwl; Wed, 11 Jan 2023 09:10:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXvpQDMQeRaZXWPAoBmwk9XSdiV1seskJk+/T262Ab2kc+2Wx6iyeAO9GxrhvBSQQlYRbRNV X-Received: by 2002:aa7:de08:0:b0:472:7c75:832 with SMTP id h8-20020aa7de08000000b004727c750832mr59967413edv.16.1673457002118; Wed, 11 Jan 2023 09:10:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673457002; cv=none; d=google.com; s=arc-20160816; b=gmqoNpnNWNUxom17mKmrx8LxKjCC2mICgXZ1s3Cs+fMSmHBLIHv9CT//kUZPvOvqru qwdIR6miD7+GhnKS/IGQB4mF8AG3/y33G0ltNNZC1F9Y2JUsO7BSlW1Bx9twY7Khz9p7 sVkL0ZFOCOMGnc2yLdwUOGi4y82sBaRC6+mJ/3H+CBaVOhsIQPW1X14fxQguX/SG6d4e V0ist+oyx9DJ5g+ZsexvSVLhLMxdKSNpoVmb3mgQzZGXvoFJkU5xK7eftpR3FMiJyTsB xadRm06nFaiyp74TUJkuumAyCOg51Y/lsMlcqCSQGFLd35ts6kIE3rt/+MifNaFydA+Y PltQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=4XD+riL67/HiXgvV/cGv9fbA1Ej3/Kk8pS4COMUHVso=; b=KbqkLeqrrONVpYb2uki8bWlfUhDfsnEYoPwfF+mXjpivImsGcwpInzhvrWUjdjX33y oaQGODyPVxEKhvli9Pek0s5Z2DmBH1LKG0z7lUww0GlSGYJHn3ysAOk/Oh5jVBbYaY51 YLcF8irFf9Kzo3ICRSAdI7o36ZZHuRq+zjVesdBSJr3tNZ0ggPHayYKbiVkWHXvny1N9 a+EtHUr+rnVBZ1l7xdYvgBWnWjq+Yk1GZ/yz6Gg/140i7C0DzfV4NvizaLEkxWAUiRQ7 H1E/jICL4aHUpSWtA6c9Bqz5k0FmsdK1sf+AlgIGmsbmWruZQodIuDlfAeuJB+2AxWth Q4lA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l16-20020a056402255000b00461f0d84ee1si18097765edb.228.2023.01.11.09.09.49; Wed, 11 Jan 2023 09:10:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235157AbjAKQdP (ORCPT + 51 others); Wed, 11 Jan 2023 11:33:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234993AbjAKQct (ORCPT ); Wed, 11 Jan 2023 11:32:49 -0500 Received: from a3.inai.de (a3.inai.de [IPv6:2a01:4f8:10b:45d8::f5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF26F5F4E for ; Wed, 11 Jan 2023 08:32:24 -0800 (PST) Received: by a3.inai.de (Postfix, from userid 25121) id 27283588C1A89; Wed, 11 Jan 2023 17:32:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by a3.inai.de (Postfix) with ESMTP id 2695B616497A7; Wed, 11 Jan 2023 17:32:23 +0100 (CET) Date: Wed, 11 Jan 2023 17:32:23 +0100 (CET) From: Jan Engelhardt To: Pavel Machek cc: Theodore Ts'o , Geert Uytterhoeven , kernel list , Andrew Morton Subject: Re: Dhrystone -- userland version In-Reply-To: Message-ID: <28821r94-886p-5816-7s47-4s0q7p846qp@vanv.qr> References: <614os9n2-2sq1-2qnr-56q6-1qq628271175@vanv.qr> User-Agent: Alpine 2.25 (LSU 592 2021-09-18) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 On Wednesday 2023-01-11 16:30, Pavel Machek wrote: > >> (All of) you could install boinc-client and just exercise >> --run_cpu_benchmarks without (I think) attaching to any particular >> computing project. The package should be in distros and you get >> both Dhrystone and Whetstone. > >Hehe, nice trick, but it does not work for me: > >boinc --run_cpu_benchmarks > >does not actually seem to run the benchmarks. Maybe I misread the manpage. # runuser -u boinc -- /bin/bash --login $ cd ~ $ boinccmd --get_messages 11: 11-Jan-2023 17:23:50 (low) [] Processor: 16 AuthenticAMD AMD Ryzen 7 3700X 8-Core Processor [Family 23 Model 113 Stepping 0] 12: 11-Jan-2023 17:23:50 (low) [] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sev sev_es 13: 11-Jan-2023 17:23:50 (low) [] OS: Linux openSUSE: openSUSE Tumbleweed [6.1.3|libc 2.36] ... $ boinccmd --run_benchmarks ... $ boinccmd --get_messages 30: 11-Jan-2023 17:24:31 (low) [] Running CPU benchmarks 31: 11-Jan-2023 17:24:31 (low) [] Suspending computation - CPU benchmarks in progress 32: 11-Jan-2023 17:25:02 (low) [] Benchmark results: 33: 11-Jan-2023 17:25:02 (low) [] Number of CPUs: 16 34: 11-Jan-2023 17:25:02 (low) [] 7136 floating point MIPS (Whetstone) per CPU 35: 11-Jan-2023 17:25:02 (low) [] 124780 integer MIPS (Dhrystone) per CPU 36: 11-Jan-2023 17:25:03 (low) [] Resuming computation (This is using the openSUSE boinc-client package. It's modeled as a daemon/service, so runs without X11 or Wayland, since Geert was wondering.) >Thanks, but I really want an in-kernel benchmark Can't have everything :)