Setting virtual page size on Linux

I am testing a preliminary set of processor hardware. It is known that prefetching occurs up to the page border. I want to make sure my test works correctly.

Does anyone know how I can resize a virtual page in Linux?

+4
source share
1 answer

On x86-64, the only page sizes supported by the hardware are 4kb and 2MB. 4kb is used by default; for 2 MB pages, you can use Linux hugetlb to host them.

+5
source

Source: https://habr.com/ru/post/1385621/


All Articles