placeholder

Performance Benefits of Using Huge Pages for Code. | Easyperf

Many people know about performance benefits of using Huge Pages for data, but not many of them know that Huge Pages can be used for code as well. In this article, I show how to speed up source code compilation for the clang compiler by 5% if you allocate its code section on Huge Pages. If it seems s...

Click to view the original at easyperf.net

Hasnain says:

This was pretty interesting. I’ve seen huge page remapping be quite useful at $work so it’s cool to see it talked about more broadly.

“Hey, sorry for the long article, but there was a lot to cover. I hope that it sparked your interest in using Huge Pages for code especially if you’re maintaining a large codebase. For further reading, I would recommend the paper “Runtime Performance Optimization Blueprint: Intel® Architecture Optimization with Large Code Pages”, which was instrumental to me.”

Posted on 2022-09-05T05:25:30+0000