Replies: 2 comments 8 replies
|
I've done some quick testing and it indeed seems to be a win. One thing to be aware of is that if you change the code, you usually also change the result of the sim. E.g. from compiling with MSVC 2026 I got with the old code: with the new code: so you see that the hash changed, which can make quite a bit of difference in performance (e.g. because a stack falls over spreading bodies out instead of staying stacked). You can specify the vs new: which is slower in both cases, but now we're at least comparing the same sim (difference is +4% for the new code @ 1 thread). I need to do some more testing, but if you could create a PR for this change then at least you'll get credit when I merge it. |
|
To answer your other question:
This is in general what I do too (make sure you use a |
Uh oh!
There was an error while loading. Please reload this page.
Hello Jorrit,
here is attached the patch giving performance gain for x86.
patch_jolt_avoid_vdpps.txt
Measured on AMD and Intel HW, both have uplifts.
Part of results on Ryzen 9 9950X (got with -s=Pyramid -q=Discrete -repeat=10),
columns are Threads number and Speedup:
1 8.80%
2 6.66%
3 6.48%
4 5.92%
5 5.55%
6 5.01%
7 4.63%
8 3.91%
9 1.75%
10 -0.40%
11 -0.85%
12 -0.77%
13 -0.67%
14 -0.82%
15 -0.51%
16 -0.47%
Full measurements are attached in to keep this thread cleaner.
avoid_vdpps_measurements.txt
Let me know please what you think and how to proceed to have the fix merged.
All reactions