mem size at bootup
Hello,
could anybody tell me if there's any option to specify the size of memory I want to use in Linux. We have a box with 4GB memory but we would like to run some experiment with only 2GB memory. Is there any option like the "hw.physmem" in FreeBSD?
Thanks a lot
- Yaoping Ruan
Quoted 4 lines · Yaoping Ruan
could anybody tell me if there's any option to specify the size of memory I want to use in Linux. We have a box with 4GB memory but we would like to run some experiment with only 2GB memory. Is there any option like the "hw.physmem" in FreeBSD?
mem= on the kernel command-line.
In lilo, you do something like this:
image=/boot/vmlinuz-2.4.20
label=2420 read-only optional append="mem=2G"
Signature · 2 lines
Dave Hansen [email protected]
Quoted 10 lines · Yaoping Ruan
Hello,
could anybody tell me if there's any option to specify the size of memory I want to use in Linux. We have a box with 4GB memory but we would like to run some experiment with only 2GB memory. Is there any option like the "hw.physmem" in FreeBSD?
Thanks a lot
- Yaoping Ruan
mem=16M
...on the LILO command-line will tell Linux to use only 16 megabytes. You hit the [Alt] key during boot to get to the LILO command-line. Then you can hit the [Tab] key to see the available systems to boot.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.