I’m testing CPU’s hardware prefetcher.
It is known that the prefetching occurs up to a page boundary.
I want to make sure that my test works right.
Anybody know how I can change virtual page size in linux?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On x86-64, the only page sizes supported by the hardware are 4kb and 2MB. 4kb is used by default; for 2MB pages, you can use Linux’s hugetlb system to allocate them.