Hacker News new | past | comments | ask | show | jobs | submit login

What level of cache?

For memory mapped regions there is madvise() DONT_NEED to tell the kernel to that you won't need this data again so don't bother with the disk cache.

For the CPU cache the non-temporal instructions MOVNTI that tells the CPU to not bother caching the move to prevent cache pollution.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: