AMD Zen 5 Not Affected By Inception/SRSO, mitigations=off Yields No Benefit On Ryzen 9000 Series

Written by Michael Larabel in Software on 6 September 2024 at 11:27 AM EDT. Page 3 of 5. 8 Comments.
Numpy Benchmark benchmark with settings of . Default was the fastest.
Hackbench benchmark with settings of Count: 8, Type: Thread. mitigations=off was the fastest.
Hackbench benchmark with settings of Count: 8, Type: Process. mitigations=off was the fastest.
Hackbench benchmark with settings of Count: 16, Type: Process. mitigations=off was the fastest.
Hackbench benchmark with settings of Count: 32, Type: Process. mitigations=off was the fastest.

With Hackbench that historically has shown quite a difference from CPU security mitigations the overall impact was very small in that synthetic scheduler workload.

ClickHouse benchmark with settings of 100M Rows Hits Dataset, First Run / Cold Cache. Default was the fastest.
ClickHouse benchmark with settings of 100M Rows Hits Dataset, Second Run. mitigations=off was the fastest.
ClickHouse benchmark with settings of 100M Rows Hits Dataset, Third Run. mitigations=off was the fastest.

Database workloads were impacted a lot from earlier CPU security mitigations but didn't make much of a deal with Zen 5 when running with mitigations disabled.

Apache IoTDB benchmark with settings of Device Count: 500, Batch Size Per Write: 100, Sensor Count: 500, Client Number: 100. Default was the fastest.
Apache IoTDB benchmark with settings of Device Count: 500, Batch Size Per Write: 100, Sensor Count: 500, Client Number: 400. Default was the fastest.
Apache IoTDB benchmark with settings of Device Count: 500, Batch Size Per Write: 100, Sensor Count: 800, Client Number: 100. Default was the fastest.
Apache IoTDB benchmark with settings of Device Count: 800, Batch Size Per Write: 100, Sensor Count: 800, Client Number: 100. Default was the fastest.
Apache IoTDB benchmark with settings of Device Count: 800, Batch Size Per Write: 100, Sensor Count: 800, Client Number: 400. Default was the fastest.

Rather oddly, all of the Apache IoTDB benchmarks were running faster in the default (security mitigations enabled) mode compared to when running mitigations=off.

Related Articles