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

Re: Memoria



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!

<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?

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".

Dúvida: Qual a melhor opção a ser utilizada em máquinas que possuem exatamente 1Gb de RAM?

Att,
Renato



Reply to: