[Comm] setup size RAM

Konstantin S. Uvarin =?iso-8859-1?q?khedin_=CE=C1_mail=2Eru?=
Пт Июн 29 20:45:32 MSD 2007


On Friday 29 June 2007 22:44, Aleksander N.Gorohovski wrote:
> Доброго времени суток сообщество!
>
> Пожалуйста,
> подскажите как можно сообщить системе
> реальный (физитческий) объём ОЗУ.
>
> Дело в том, что доустановил к имеющемуся 1Gb еще 1Gb.
> Получилось 2 Gb (и это видно в BIOS).
>
> А система видит только 1Gb.

Возможно, ядро собрано без поддержки HIGHMEM. Не знаю, включена ли она по 
умолчанию в ALT... Я ядро собирал сам и включил.

Вот выдержка из мануала в make xconfig (ядро 2.6)

--------------

off (NOHIGHMEM)

Linux can use up to 64 Gigabytes of physical memory on x86 systems.
However, the address space of 32-bit x86 processors is only 4
Gigabytes large. That means that, if you have a large amount of
physical memory, not all of it can be "permanently mapped" by the
kernel. The physical memory that's not permanently mapped is called
"high memory".

If you are compiling a kernel which will never run on a machine with
more than 1 Gigabyte total physical RAM, answer "off" here (default
choice and suitable for most users). This will result in a "3GB/1GB"
split: 3GB are mapped so that each process sees a 3GB virtual memory
space and the remaining part of the 4GB virtual memory space is used
by the kernel to permanently map as much physical memory as
possible.

If the machine has between 1 and 4 Gigabytes physical RAM, then
answer "4GB" here.

-------------------


-- 
Konstantin S. Uvarin
  "Пароходом выехать не могу думаю баржей"
  "Думайте головой выезжайте чем хотите"


Подробная информация о списке рассылки community