A sessão de perguntas e respostas de hoje nos é oferecida por cortesia do SuperUser, uma subdivisão do Stack Exchange, um agrupamento de sites de perguntas e respostas conduzido pela comunidade.
Foto cedida por Daniel Dionne (Flickr).
A questão
Leitor de Superusuário O Keavon quer saber se um computador com mais RAM seria mais rápido se toda a sua memória não estivesse normalmente em uso:
Suppose I have a computer with 16 GB of memory. If my computer is usually using about 4 GB of memory and never reaches 8 GB, is it any faster than a computer with only 8 GB of (the same type of) memory? Would my computer run as equally fast by removing half of the 16 GB and working with only 8 GB or memory?
Keavon notaria uma diferença no desempenho se ele removesse metade da RAM do seu computador?
A resposta
Contribuidores do SuperUser Wyzard e Jason têm a resposta para nós. Primeiro, Wyzard:
Yes, because the operating system can use the extra RAM as disk cache, which speeds up access to data on the disk. Extra RAM will not make CPU-bound computations (not involving much disk I/O) faster though.
Seguido pela resposta de Jason:
Since every operating system manages memory differently, and none was listed in the original question, I will answer in the context of Windows 7.
Below is an example from a computer with 24 GB of RAM. Even though only 7 GB is currently allocated as “In Use” memory, another 10 GB is allocated as “Standby” memory and contains data that may or may not be read again. If it is read, it will make your computer faster. The “Free” memory is not being utilized whatsoever at the moment.
- “Available” memory includes Standby and Free
- “Cached” memory also includes Standby and Modified
- “Total” memory is all memory except Hardware Reserved
If you would like to learn more about memory usage in Windows 7, TechRepublic has a great article.
Tem algo a acrescentar à explicação? Som desligado nos comentários. Quer ler mais respostas de outros usuários do Stack Exchange com experiência em tecnologia? Confira o tópico de discussão completo aqui.