Alan Cox wrote:
>>> shed:~# echo 0 >/proc/sys/vm/overcommit_memory
>>> shed:~# cat /proc/sys/vm/overcommit_memory
>> ahh, I see. Well, you live and learn ;)
>> I think I've got to do my research better before writing mails to lkml.
> In part.
> The option you want is '2' which isnt implemented 8)
> 0 - I don't care
> 1 - Use heuristics to guesstimate avoiding overcommit
Thank you for that info :)
I wrote a small test program that allocated memory in increasingly
larger chunks, and I saw no major difference with a setting of "0" or
"1", it seemed both settings allowed my program to allocate exactely the
same amount of mem before ENOMEM was returned (I can send the test
program on request).
I'll be looking forward to a setting of "2" becomming available :)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:01:00 EST