3 ms·
But would that really help for "low resource" testing, since OS will just swap out that unused filled zeroes to clean up some space for actually running program
by levosmetalo 13y ago
But would that really help for "low resource" testing, since OS will just swap out that unused filled zeroes to clean up some space for actually running programs?
Maybe creating a VM with just as much memory as the target system would be a better solution to get more predictable results?
- wcchandler 13y agoI wouldn't bother with a full blown VM -- LXC might be relevant.
- ck2 13y agoThere is a way from grub to limit the amount of memory the kernel boots with. Probably easiest way if you want low memory without fiddling. mem=1G mem=512M etc.
- pilif 13y agothat reminds me of that day when I set mem = 512 before rebooting. Ever since then, I know why my primary school teacher always got pissed when we left off the units :-) On a related note: Yes. The kernel needs more than 512 bytes of RAM to boot - even back in the 2.2 days (when this took place)