Eu tenho lenovo ideapad Y530. De acordo com dmidecode
, eu deveria ter 3 GB de RAM:
tomasz@tomasz-lenovo-ideapad-Y530:~$ sudo dmidecode --type memory
[sudo] password for tomasz:
# dmidecode 2.9
SMBIOS 2.4 present.
Handle 0x0023, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 4 GB
Error Information Handle: No Error
Number Of Devices: 2
Handle 0x0026, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0023
Error Information Handle: 0x0027
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: None
Locator: DIMM0
Bank Locator: BANK0
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: Manufacturer0
Serial Number: SerNum0
Asset Tag: AssetTagNum0
Part Number: PartNum0
Handle 0x0029, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0023
Error Information Handle: 0x002A
Total Width: 64 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: SODIMM
Set: None
Locator: DIMM1
Bank Locator: BANK1
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: Manufacturer1
Serial Number: SerNum1
Asset Tag: AssetTagNum1
Part Number: PartNum1
Mas a parte superior mostra que eu tenho 2,5 GB:
top - 23:32:07 up 5:49, 3 users, load average: 2.84, 1.71, 1.42
Tasks: 206 total, 7 running, 199 sleeping, 0 stopped, 0 zombie
Cpu(s): 44.4%us, 7.9%sy, 0.0%ni, 45.2%id, 2.4%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2547380k total, 2290924k used, 256456k free, 150608k buffers
Swap: 24411132k total, 80652k used, 24330480k free, 457716k cached
Alguém sabe o que está acontecendo (onde estão faltando os 0,5 GB)?
PS um amigo meu me disse para correr:
sudo sync
sudo echo 3 > /proc/sys/vm/drop_caches
neste caso, mas não sei o que faz e, portanto, não tenho certeza sobre isso ...
mas