phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.
Other
72 stars 83 forks source link

[pts/redis-1.4.0] NUM_CPU_PHYSICAL_CORES shall not be greater than 128 #292

Open lucic71 opened 1 year ago

lucic71 commented 1 year ago

In pts/redis-1.4.0, if NUM_CPU_PHYSICAL_CORES is greater than 128, the following line from install.sh will fail: https://github.com/phoronix-test-suite/test-profiles/blob/bde43b6155829b40b804cf9dc1ea3bb334f5bf29/pts/redis-1.4.0/install.sh#L17

See: https://github.com/redis/redis/blob/2cf50ddbad1b8169ed31c913d6e6c860e4736f80/src/config.c#L3151

The solution is to just saturate NUM_CPU_PHYSICAL_CORES at 128.