Jump to content
Sign in to follow this  
Tee_Kay

Mangler 1.2gb ram i slackware current

Recommended Posts

Slackware-kjerna kjem med støtte for 1GB RAM. Du må kompilere inn støtte for meir om du har meir.

Jeg har 2gb, men får bare 880mb. Om jeg komplimerer kernel 2.6 får jeg alt da?

Share this post


Link to post

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.

Edited by olear

Share this post


Link to post

Kernelen i Slackware kan ikke tilfredstille alle ;)

 

EDIT: Tolket kanskje spørsmålet ditt litt feil, se hva P@rm@nn skrev.

Edited by olear

Share this post


Link to post
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.                                                                                                                        │

  │           

Share this post


Link to post
Hmm. Nå har jeg gjort det. Men jeg fikk http://teekay.ws/error2.png denne erroren etter på. Alt funka før jeg gjorde det.

Hvilken kjerne bruker du?

Har 2.4.31. viss det var den du mente

Ville hevet inn en 2.6-kjerne. Selv bruker jeg 2.6.12.4, og det fungerer helt fint. 2.4-kjernen er foreldet.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...