Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Victor Wagner                        2:5020/400     24 Jan 2007  12:46:01
 To : Anton Shuko
 Subject : Re: 4 гига озу
 -------------------------------------------------------------------------------- 
 
  Anton Shuko <Anton.Shuko@f66.n5005.z2.fidonet.org> wrote:
 
  AS> Hello All. 
  AS> а куда у линуха девается один гиг из 4х? по докам выходит,
  AS> что для юзерских приложений можно только 3 заюзать. хер с
 
 Для юзерскОГО приложения, а не для юзерскИХ. Второй процесс радостно
 употребит память, которую не съест первый. 
 
 Hасколько я помню, дело там в том, что объем адресного пространства
 процесса в 32-битной системе составляет 4Гб. А где-то в этом адресном
 пространстве нужно предусмотреть место для ядра и прочих системных
 штучек.
  AS> ним с гигом, но даже кеш вроде как в ети 3 лезет, по
  AS> крайней мере top и free так показывают. для чего этот гиг
  AS> используется по дефолту? а если неиспользуется то как его
  AS> заюзать хотя бы для системных нужд? 
 
 Для системных нужд он и используется, насколько я помню.
 Вообще, ядро Linux имеет настройку времени компиляции на тему "сколько
 памяти использовать".  
 Там есть варианты - NOHIGHMEM, HIGHMEM4G и HIGMEM64G
 
  CONFIG_NOHIGHMEM:                                                         
   x                                                                         x  
   x Linux can use up to 64 Gigabytes of physical memory on x86 systems.     x  
   x However, the address space of 32-bit x86 processors is only 4           x  
   x Gigabytes large. That means that, if you have a large amount of         x  
   x physical memory, not all of it can be "permanently mapped" by the       x  
   x kernel. The physical memory that's not permanently mapped is called     x  
   x "high memory".                                                          x  
   x                                                                         x  
   x If you are compiling a kernel which will never run on a machine with    x  
   x more than 1 Gigabyte total physical RAM, answer "off" here (default     x  
   x choice and suitable for most users). This will result in a "3GB/1GB"    x  
   x split: 3GB are mapped so that each process sees a 3GB virtual memory    x  
   x space and the remaining part of the 4GB virtual memory space is used    x  
   x by the kernel to permanently map as much physical memory as             x  
   x possible.           
  CONFIG_HIGHMEM4G:                                                       x  
   x                                                                         x  
   x Select this if you have a 32-bit processor and between 1 and 4          x  
   x gigabytes of physical RAM.                                              x  
   x                           
  CONFIG_HIGHMEM64G:                                                      x  
   x                                                                         x  
   x Select this if you have a 32-bit processor and more than 4              x  
   x gigabytes of physical RAM.                                              x  
   x                                   
  AS> Anton 
 
  -- 
 А про тебя когда-нибудь писали в  bugtraq?
 --- ifmail v.2.15dev5.3
  * Origin: Free Net of Leninsky,45 (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 4 гига озу   Anton Shuko   24 Jan 2007 02:51:32 
 Re: 4 гига озу   Victor Wagner   24 Jan 2007 12:46:01 
 4 гига озу   Anton Shuko   24 Jan 2007 20:12:26 
 Re: 4 гига озу   Victor Krapivin   24 Jan 2007 23:06:16 
 4 гига озу   Anton Shuko   25 Jan 2007 23:34:42 
 Re: 4 гига озу   Victor Krapivin   26 Jan 2007 02:17:40 
 Re: 4 ____ __   Sergey Vlasov   26 Jan 2007 00:30:49 
 Re: 4 гига озу   Victor Wagner   24 Jan 2007 21:16:00 
 4 гига озу   Anton Shuko   25 Jan 2007 23:45:41 
 Re: 4 ____ __   Sergey Vlasov   24 Jan 2007 21:56:29 
 Re: 4 гига озу   Alexandr Burachewskij   22 Feb 2007 05:42:36 
 Re: 4 гига озу   Sergey Zhumatiy   26 Feb 2007 15:31:55 
 Re: 4 гига озу   Sergey Vlasov   24 Jan 2007 16:39:29 
Архивное /ru.linux/1517884923f05.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional