News for hackers. Stuff that matters.
Re:What happens when you page align everything by acqq on Friday March 20, 2015 @09:10AM (#9237409)
Introductionary link, with everything you need to know before you read this blog post:

https://github.com/erikarn/himenobmtxpa

(This benchmark) "shows a dramatic difference in behaviour between Linux and FreeBSD/DragonflyBSD (and likely other BSDs.) It turns out that most of the difference is due to memory layout by the allocator. The matrices are large, and jemalloc page aligns these. So there's significant cache line aliasing effects."

The blog article author measured then the speed of the above benchmark adding different offsets, and gave some useful links.

Best read not on the original blog site (ugly javascript dependency and moving wheels, I do hope such technologies get to be avoided) but on the link given by aw3c2 here.

There are no comments on this comment yet.