3 ms·
I wouldn't write it all off on the AVX-512 in this case. As you can see in https://github.com/clearlinux-pkgs/php https://github.com/clearlinux-pkgs/php and oth
by Lockal 2y ago
I wouldn't write it all off on the AVX-512 in this case. As you can see in https://github.com/clearlinux-pkgs/php https://github.com/clearlinux-pkgs/php and other clearlinux repositories, the difference from other distros is:
1) a number of backported optimization patches
2) few patches in Linux kernel and glibc that were not accepted to upstream
3) and maybe the most important part: PGO for python, php and other performance-critical components. It is a well-known fact that PGO helps interpreted languages. And it is benchmark-oriented: for example, even though PGO helps bash, they don't enable it (maybe until somebody invents bash-bench).
- paulryanrogers 2y agoDoes benchmark-oriented means it's unlikely to help (or could even hurt) real world applications?
- Lockal 2y agoClearLinux pulls phpbench-0.8.2 (and no other applications) for PGO[1] and then Phoronix benchmarks with phpbench-0.8.1. In my opinion, that's a valid reason to disqualify the result. It does not mean that PGO makes PHP faster or slower, it means that there are no measurements to make the conclusion. I only have theory, that PGO generally helps to reduce startup time, so that in case when app starts 1000s times per second, it helps even if PGO data is irrelevant. But modern PHP does not behave in this way, also some real-word PHP apps are usually CPU / I/O bound in database, so one may see no difference... Some time ago I tried to apply PGO to Blender, which only hurt the performance, but that's the other story (I read it as: if application already has logical separation for kernels for CPUs, attempt to join and reseparate in PGO may hurt the performance). [1] https://github.com/clearlinux-pkgs/php/blob/03c0859388a5d64011d85b15f4d9ccb02f2c2a43/php.spec#L15C12-L15C82 https://github.com/clearlinux-pkgs/php/blob/03c0859388a5d640...