lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87v805qs4w.fsf@oracle.com>
Date: Mon, 12 Aug 2024 15:43:27 -0700
From: Ankur Arora <ankur.a.arora@...cle.com>
To: "Tomohiro Misono (Fujitsu)" <misono.tomohiro@...itsu.com>
Cc: 'Ankur Arora' <ankur.a.arora@...cle.com>,
        "linux-pm@...r.kernel.org"
 <linux-pm@...r.kernel.org>,
        "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
        "linux-arm-kernel@...ts.infradead.org"
 <linux-arm-kernel@...ts.infradead.org>,
        "linux-kernel@...r.kernel.org"
 <linux-kernel@...r.kernel.org>,
        "catalin.marinas@....com"
 <catalin.marinas@....com>,
        "will@...nel.org" <will@...nel.org>,
        "tglx@...utronix.de" <tglx@...utronix.de>,
        "mingo@...hat.com"
 <mingo@...hat.com>, "bp@...en8.de" <bp@...en8.de>,
        "dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
        "x86@...nel.org" <x86@...nel.org>, "hpa@...or.com" <hpa@...or.com>,
        "pbonzini@...hat.com" <pbonzini@...hat.com>,
        "wanpengli@...cent.com"
 <wanpengli@...cent.com>,
        "vkuznets@...hat.com" <vkuznets@...hat.com>,
        "rafael@...nel.org" <rafael@...nel.org>,
        "daniel.lezcano@...aro.org"
 <daniel.lezcano@...aro.org>,
        "peterz@...radead.org"
 <peterz@...radead.org>,
        "arnd@...db.de" <arnd@...db.de>, "lenb@...nel.org"
 <lenb@...nel.org>,
        "mark.rutland@....com" <mark.rutland@....com>,
        "harisokn@...zon.com" <harisokn@...zon.com>,
        "mtosatti@...hat.com"
 <mtosatti@...hat.com>,
        "sudeep.holla@....com" <sudeep.holla@....com>,
        "cl@...two.org" <cl@...two.org>,
        "joao.m.martins@...cle.com"
 <joao.m.martins@...cle.com>,
        "boris.ostrovsky@...cle.com"
 <boris.ostrovsky@...cle.com>,
        "konrad.wilk@...cle.com"
 <konrad.wilk@...cle.com>
Subject: Re: [PATCH v6 00/10] Enable haltpoll on arm64


Tomohiro Misono (Fujitsu) <misono.tomohiro@...itsu.com> writes:

>> Subject: [PATCH v6 00/10] Enable haltpoll on arm64
>>
>> This patchset enables the cpuidle-haltpoll driver and its namesake
>> governor on arm64. This is specifically interesting for KVM guests by
>> reducing IPC latencies.
>>
>> Comparing idle switching latencies on an arm64 KVM guest with
>> perf bench sched pipe:
>>
>>                                      usecs/op       %stdev
>>
>>   no haltpoll (baseline)               13.48       +-  5.19%
>>   with haltpoll                         6.84       +- 22.07%
>
> I got similar results with VM on Grace machine (applied to 6.10).

Great. Thanks for testing.

> [default]
> # cat /sys/devices/system/cpu/cpuidle/current_driver
> none
> # perf bench sched pipe
> # Running 'sched/pipe' benchmark:
> # Executed 1000000 pipe operations between two processes
>
>      Total time: 23.832 [sec]
>
>       23.832644 usecs/op
>           41959 ops/sec
>
> [With "cpuidle-haltpoll.force=1" commandline]
> # cat /sys/devices/system/cpu/cpuidle/current_driver
> haltpoll
> # perf bench sched pipe
> # Running 'sched/pipe' benchmark:
> # Executed 1000000 pipe operations between two processes
>
>      Total time: 6.340 [sec]
>
>        6.340116 usecs/op
>          157725 ops/sec
>
> Tested-by: Misono Tomohiro <misono.tomohiro@...itsu.com>

Thanks!

--
ankur

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ