Re: superpages?
Re: superpages?
- Subject: Re: superpages?
- From: Nathan Hjelm <email@hidden>
- Date: Thu, 05 Nov 2015 06:56:04 -0700
- X_v_e_cd: d772195a3d6754988b0ed83d90f572c2
- X_v_r_cd: 08eb93b9e6aa8baef06463bd51348f89
> On Nov 4, 2015, at 11:25 PM, Shantonu Sen <email@hidden> wrote:
>
> The functionality is not for general purpose use.
Ok, thats unfortunate. Was hoping for something at least as usable as huge pages is in Linux. Is there any chance superpages could be made more useful in a future xnu version?
> Super pages requires that the backing 2MB be physically contiguous. After a system has been up for a while, wired pages may fragment physical memory and prevent 2MB of physically contiguous pages from being found. Try running the test program after a reboot to verify if this is the case.
Yup, runs fine in the first 5 or so minutes after a reboot then starts failing again. This is on a machine with 16 GB of memory so I didn’t expect the memory used for superpages to be exhausted that fast.
-Nathan Hjelm
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden