Gå til innhold

Mangler 1.2gb ram i slackware current


Anbefalte innlegg

Videoannonse
Annonse

For å aktivere High Memory Support (kernel 2.4.x) :

 

cd /usr/src/linux

make menuconfig

 

Gå til "Processor type and features" og videre til "High Memory Support", velg hvor mye minne du vil ha støtte for.

 

Gå ut og skriv følgende:

 

make bzImage

cp arch/i386/boot/bzImage /boot

ln -sf /boot/bzImage /boot/vmlinuz

lilo

 

restart maskinen.

Endret av olear
Lenke til kommentar
hva er grunnen til at det er slik?

http://gentoo-wiki.com/FAQ_Linux_Memory_Management

By default, the Linux kernel runs in and manages only low memory. This makes managing the page tables slightly easier, which in turn makes memory accesses slightly faster. 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.

...

Turning on high memory support theoretically slows down accesses slightly, but according to Joseph_sys and log, there is no practical difference.

Og fra hjelp til Hig Memory Support:

  │ Linux can use up to 64 Gigabytes of physical memory on x86 systems.                                                              │

  │ However, the address space of 32-bit x86 processors is only 4                                                                    │

  │ Gigabytes large. That means that, if you have a large amount of                                                                  │

  │ physical memory, not all of it can be "permanently mapped" by the                                                                │

  │ kernel. The physical memory that's not permanently mapped is called                                                              │

  │ "high memory".                                                                                                                    │

  │                                                                                                                                  │

  │ If you are compiling a kernel which will never run on a machine with                                                              │

  │ more than 1 Gigabyte total physical RAM, answer "off" here (default                                                              │

  │ choice and suitable for most users). This will result in a "3GB/1GB"                                                              │

  │ split: 3GB are mapped so that each process sees a 3GB virtual memory                                                              │

  │ space and the remaining part of the 4GB virtual memory space is used                                                              │

  │ by the kernel to permanently map as much physical memory as                                                                      │

  │ possible.                                                                                                                        │

  │           

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...