[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Memoria



Em Seg, 2007-05-21 às 11:28 -0300, Renato S. Yamane escreveu:
> paulobruck1 escreveu:
> >> Aproventando essa dúvida: Alguém poderia me explicar o que ocorre com os 
> >> 104Mb restantes? Porque ao compilar o kernel para suporte ATÉ 1Gb de 
> >> memória ele não reconhece 1Gb e sim 896Mb?
> > 
> > Veja os sites:
> > http://gentoo-wiki.com/FAQ_Linux_Memory_Management
> > http://kerneltrap.org/node/2450
> 
> O problema é que as informações são diferentes:
> 
> <http://gentoo-wiki.com/FAQ_Linux_Memory_Management>
> "The downside is that it can't use all of the memory once the amount of 
> total RAM reaches the neighborhood of 880 MB. This has historically not 
> been a problem, especially for desktop machines."
> 
> Comentando o link acima: Eu discordo da informação de que esse fato não 
> é um problema, pois se eu comprei 1Gb eu quero usar 1Gb e não 880Mb!

hehehe ok é só enviar um email para o pessoal do gentoo dicordando da
frase acima...80)

> 
> <http://kerneltrap.org/node/2450>
> "Some area of memory is reserved for storing several kernel data 
> structures that store information about the memory map and page tables. 
> This on x86 is 128 MB. Hence, of the 1 GB physical memory the kernel can 
> access, 128MB is reserved. This means that the kernel virtual address in 
> this 128 MB is not mapped to physical memory. This leaves a maximum of 
> 896 MB for ZONE_NORMAL. So, even if one has 1 GB of physical RAM, just 
> 896 MB will be actually available."
> 
> Comentando o link acima: 128Mb são reservados para o Kernel? Tudo isso?
> 

pelo visto sim

> Comentário geral: Então no make do kernel deveria aparecer a opção "até 
> 896Mb de RAM" e não "até 1Gb de RAM".
> 
concordo, passe um email para o responsável colocando sua sugestão de
mudar a caixa de diálogo.


> Dúvida: Qual a melhor opção a ser utilizada em máquinas que possuem 
> exatamente 1Gb de RAM?
> 
aptitude search linux-kernel 
i   linux-image-2.6.18-4-486                              - Linux 2.6.18
image on x86
p   linux-image-2.6.18-4-686                              - Linux 2.6.18
image on PPro/Celeron/PII/PIII/P4
p   linux-image-2.6.18-4-686-bigmem                       - Linux 2.6.18
image on PPro/Celeron/PII/PIII/P4
p   linux-image-2.6.18-4-amd64                            - Linux 2.6.18
image on AMD64
p   linux-image-2.6.18-4-k7                               - Linux 2.6.18
image on AMD K7
p   linux-image-2.6.18-4-vserver-686                      - Linux 2.6.18
image on PPro/Celeron/PII/PIII/P4
p   linux-image-2.6.18-4-vserver-k7                       - Linux 2.6.18
image on AMD K7
p   linux-image-2.6.18-4-xen-686                          - Linux 2.6.18
image on i686
p   linux-image-2.6.18-4-xen-vserver-686                  - Linux 2.6.18
image on i686


e no etch escolha o padrão de sua máquina.
se for pentium IV :linux-image-2.6.18-4-686
se for amd:linux-image-2.6.18-4-k7
se for amd64 bits: linux-image-2.6.18-4-amd64

[]s


> Att,
> Renato
> 
> 



Reply to: