Pagina 1 di 1

Espansione a 1024 MB [RISOLTO]

Inviato: ven 13 ott 2006, 12:33
da pino.giaquinto
Ho aggiunto 512 MB al mio portatile... quindi ora ho 1024 MB.
Ho dovuto ricompilare il kernel perche' non avevo previsto highmem e quindi ne vedeva, se ricordo bene, solo 907 MB.
Pero' adesso comunque ne vede un po' in meno... con free -m mi dice che ho 1012 MB di memoria.
Stessa output con cat /proc/meminfo: MemTotal 1036836
Premesso che la scheda video non utilizza memoria condivisa... quale puo' essere il motivo? Dove sono finiti i 12 MB mancanti?

Inviato: ven 13 ott 2006, 12:49
da pino.giaquinto
Ho trovato la risposta su http://gentoo-wiki.com/FAQ_Linux_Memory_Management

Codice: Seleziona tutto

free -m 
               total       used       free     shared    buffers     cached 
Mem:             503        451         52          0         14        293 
-/+ buffers/cache:          143        360 
Swap:           1027          0       1027
Notice that I have 512 MB of memory in my machine, but only 503 is listed as available by free. This is mainly because the kernel can't be swapped out, so the memory it occupies could never be freed. There may also be regions of memory reserved for/by the hardware for other purposes as well, depending on the system architecture.
Adesso e' chiaro il motivo... pero' non dovrebbero metterci 'total'... io lo interpretavo come 'totale RAM presente nel sistema'.
Ciao e grazie lo stesso :-)