Cache Oblivious Algorithms
jiahai-feng.github.io
Cache Oblivious Algorithms
1–10 of 21 posts
Re: Cache Oblivious Algorithms
#2The implementations and benchmarks can be found here if anyone is curious: https://gitlab.com/VladLazar/cache-oblivious-data-structures
Re: Cache Oblivious Algorithms
#3I implemented a bunch of cache oblivious search trees and benchmarked them against their classical counterparts. The results showed that while the cache oblivious ones were more cache efficient, they were slower overall. The implementations and benchmarks can be found here if anyone is curious: https://gitlab.com/VladLazar/cache-oblivious-data-structures
Re: Cache Oblivious Algorithms
#4They are a great starting point and work well for the RAM/Swap level of the memory hierarchy, but for the L1/L2 caches manual tuning still pays off. This unfortunately makes the implementation non-oblivious and even depended on the specific CPU used.
Re: Cache Oblivious Algorithms
#5Re: Cache Oblivious Algorithms
#6Re: Cache Oblivious Algorithms
#7> For convenience, suppose the binary tree is complete and has height H=2^K.
What is K? It's never stated. I'd usually assume H = log N, if N is the number of nodes in a balanced tree.
Re: Cache Oblivious Algorithms
#8I think there might be a mistake in this article, or at least something requiring clarification. > For convenience, suppose the binary tree is complete and has height H=2^K. What is K? It's never stated. I'd usually assume H = log N, if N is the number of nodes in a balanced tree.