Skip to content
Discussion options

You must be logged in to vote

At a certain point (256kb right now, so anything more than 64k int/uint) we start using non-temporal stores because it is more beneficial to real world scenarios. However, this comes with a tradeoff in that it can make microbenchmarks look worse.

        ///     A non-temporal store is one that allows the CPU to bypass the cache when writing to memory.
        ///
        ///     This can be beneficial when working with large amounts of memory where the writes would otherwise
        ///     cause large amounts of repeated updates and evictions. The hardware optimization manuals recommend
        ///     the threshold to be roughly half the size of the last level of on-die cache -- that i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KPHIBYE
Comment options

Answer selected by KPHIBYE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants