Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

1GB RAM-a prijavljen kao 905512kB

[es] :: Linux hardware :: 1GB RAM-a prijavljen kao 905512kB

[ Pregleda: 2518 | Odgovora: 4 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

kule
Beograd

Član broj: 18372
Poruke: 47
212.200.52.*



Profil

icon 1GB RAM-a prijavljen kao 905512kB21.02.2007. u 11:12 - pre 159 meseci
Nedavno sam, dodao jos 512MB RAM-a i sada imam 2x512MB u dual chanel-u.
Kad udjem u winxp on mi kaze da imam 1GB RAM-a, ali problem je sto u linuxu kad pokrenem:

Code:
# cat /proc/meminfo


ispise mi:

Code:
MemTotal:      905512 kB


Mislim da ovo nije normalno, da mi prijavljuje da imam oko 100MB manje RAM-a nego sto imam?


Open Source - Open Possibilities
 
Odgovor na temu

Tyler Durden
Tyler Durden
Beograd

Član broj: 4312
Poruke: 3379
*.vdial.verat.net.



+1365 Profil

icon Re: 1GB RAM-a prijavljen kao 905512kB21.02.2007. u 12:19 - pre 159 meseci
Moras u kernel da dodas high memory support
Beneath civilization's fragile crust, cold chaos churns...
 
Odgovor na temu

kule
Beograd

Član broj: 18372
Poruke: 47
212.200.52.*



Profil

icon Re: 1GB RAM-a prijavljen kao 905512kB21.02.2007. u 12:39 - pre 159 meseci
Upravo sam to uradio :)
Open Source - Open Possibilities
 
Odgovor na temu

slacker

Član broj: 14720
Poruke: 1049
*.adsl.net.t-com.hr.



+1 Profil

icon Re: 1GB RAM-a prijavljen kao 905512kB21.02.2007. u 20:49 - pre 159 meseci
Zapravo se to ne preporuča s aspekta performansi ako imaš do gigu rama.

Citat:
In Linux, the memory available from all banks is classified into "nodes". These nodes indicate how much memory each bank has. This classification is mainly useful for NUMA architectures, but it's also used for UMA architectures, where the number of nodes is just 1.

Memory in each node is divided into "zones". The zones currently defined are ZONE_DMA, ZONE_NORMAL and ZONE_HIGHMEM.

ZONE_DMA is used by some devices for data transfer and is mapped in the lower physical memory range (up to 16 MB).

Memory in the ZONE_NORMAL region is mapped by the kernel in the upper region of the linear address space. Most operations can only take place in ZONE_NORMAL; so this is the most performance critical zone. ZONE_NORMAL goes from 16 MB to 896 MB.

To address memory from 1 GB onwards, the kernel has to map pages from high memory into ZONE_NORMAL.

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.

....

Should I enable CONFIG_HIGHMEM for my 1 GB RAM system?

It is advised to not enable CONFIG_HIGHMEM in the kernel to utilize the extra 128 MB you get for your 1 GB RAM system. I/O Devices cannot directly address high memory from PCI space, so bounce buffers have to be used. Plus the virtual memory management and paging costs come with extra mappings.


Iz vrlo dobrog članka:
http://kerneltrap.org/node/2450
 
Odgovor na temu

risk
Srdjan Rosic
moj radni sto / freelancing
Dublin, Ireland

Član broj: 5723
Poruke: 278
*.adsl.verat.net.

Jabber: srdjan.rosic@gmail.com
ICQ: 92276228
Sajt: www.sietf.org


+2 Profil

icon Re: 1GB RAM-a prijavljen kao 905512kB05.04.2007. u 06:19 - pre 158 meseci
ja imam giga rama ali sam pomerio split da ne bude 1g/3g nego 2g/2g.
kazu ljudi da moze da dodje do problema sa matorim kernel modulima, medjutim meni sve radi ok.
 
Odgovor na temu

[es] :: Linux hardware :: 1GB RAM-a prijavljen kao 905512kB

[ Pregleda: 2518 | Odgovora: 4 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.