Reply 120 of 123, by latalante
wrote:I ran some tests and the two are roughly identical, within the noise of my system.
I was referring to pre-release builds. Specifically this build. It didn't seem too optimal.
LD_PRELOAD=./libpng12.so ./dosbox --version
DOSBox version v0.75.0-pre-220-g78cc6
Tested on the same kernel with mitigations=off.
wrote:3. Lock your processor at its maximum frequency […]
3. Lock your processor at its maximum frequency
echo performance | sudo tee /sys/devices/system/cpu/cpufreq/policy*/scaling_governor
echo 100 | sudo tee /sys/devices/system/cpu/intel_pstate/min_perf_pct
I do it like this.
cpupower frequency-set -g performance
My processor is westmere microarchitecture does not use intel_pstate.
The first result is dosbox-staging pre-build, the second is mine.
DHRY1ND: 106.4 | 119.43
PCBench: 69.7 | 77.2
Quake 320x200, 800x600 demo1: 95.7 27.0 | 110.1 33.0
Who uses libpng-1.2 in 2019 yet?
Edit:
Of course, such a comparison is not entirely fair. Pre-release build has no task to be optimized for specific benchmarks, or whether processor types are created for a completely different purpose. Although it may work better "-mtune=generic".