Scyld: memory leak or just caching?
bogdan.costescu at iwr.uni-heidelberg.de
Thu Jun 28 10:17:56 PDT 2001
On Wed, 27 Jun 2001, Sean Dilda wrote:
> I just ran some tests on my laptop, apparently the kernel is to smart
> for us. It appears that it doesn't actually register the memory as
> being used until you change it. So, try changing:
> calloc() actually zero's the memory as it allocates it, so this will
> cause the kernel to actually pay attention to the memory.
Actually you don't need to zero the whole memory, you only need to write
once in every page of it (that's every 4K for IA32).
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu at IWR.Uni-Heidelberg.De
More information about the Beowulf