Nathan Bossart <nathandboss...@gmail.com> writes: > ... commit 3d0b4b1 recently added a non-locking > initial test in AArch64's TAS_SPIN, so I wonder if the ISB is still > appropriate. It'd be interesting to see the performance difference of > removing the ISB with and without commit 3d0b4b1 applied.
Oh! That's an excellent point. The OP didn't mention if their tests were done before or after 3d0b4b1, but that might well matter. I still think pgbench is a very blunt tool for this type of testing, though. I recommend resurrecting the test_shm_mq-based hack discussed in the prior thread and seeing what that shows. regards, tom lane