Toon posts:

2.4 kernel en 2 GB ram.

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hallo

Weet iemand toevallig hoe ik linux duidelijk kan maken dat ik 2 GB ram heb ipv 1? lijkt me dat dit met een init= parameter kan. Het betreft hier een standaard installatie van Slackware 10 met de 2.4.26 kernel. Specs zie sig.

Vriendelijk bedankt.

  • Arjan A
  • Registratie: November 2000
  • Laatst online: 19:52

Arjan A

Cenosillicafoob

Ik had het probleem laatst ook: Je moet je kernel opnieuw compilen en HIMEM enablen.

-edit: de optie heet HIGHMEM4G

[ Voor 17% gewijzigd door Arjan A op 12-01-2005 23:13 ]

Canon EOS | DJI M2P
Fotoblog · Mijn werk aan jouw muur


  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

Weet je zeker dat het probleem bij de Linux kernel ligt?
First of all, the IA32 Intel architecture is limited by construction in its memory management to 4 GB. Space which should be divided into virtual memory and physical memory. Which means that if you choose to recognize more RAM, the maximum size for a program decreases.

But Linux can't manage more than 1 GB by default. To go above that, in fact up to 2 GB today, because Linux can't manage more memory for the moment, you need to modify 2 files provided with kernel sources and recompile it. Those 2 sources are /usr/src/linux/include/asm-i386/page.h and /usr/src/linux/arch/i386/vmlinux.lds.

From 2.0.37 and 2.2.12 kernels on, the patch was integrated in the kernel and may be activated when doing a make {menu,x}config.

The maximum Ram managed in the i386 version was ported to 64 GB after 2.3.23.
Oftewel; 2.4 zou gewoon 64Gb moeten ondersteunen? :)

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


  • Zwerver
  • Registratie: Februari 2001
  • Niet online
Niet helemaal waar spider ;) Je moet het wel degelijk aanzetten in je kernel config afaik. Die optie zit er niet voor niks in?
If you are compiling a kernel which will never run on a machine with
more than 960 megabytes of 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.
If the machine has between 1 and 4 Gigabytes physical RAM, then
answer "4GB" here.
Dit verhaal verteld me overigens niet _waarom_ je hier voor die optie moet kiezen, maar ze zeggen dus dat als je 1gb of meer hebt dat je beter die optie aan kan zetten.

Woonachtig Down Under. Ik negeer je insults niet, maar tegen de tijd dat ik ze lees zijn ze meestal niet relevant meer


Verwijderd

Topicstarter
aha.. bedankt ik ga morgen me kernel is compilen en zal de resultaten posten.

  • zeroxcool
  • Registratie: Januari 2001
  • Laatst online: 14-02 11:55
Dat is inderdaad het probleem. Ook als je 1GB aan RAM hebt moet je die optie aanzetten, anders 'ziet' de kernel maar 768MB aan intern geheugen.

zeroxcool.net - curity.eu


  • Kees
  • Registratie: Juni 1999
  • Laatst online: 14-02 12:23

Kees

Serveradmin / BOFH / DoC
nee, hij ziet dan iets van 900+mb ipv 1024 :)

"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan


Verwijderd

Topicstarter
dat was de truuk idd. bedankt! (best simpel als je het maar weet)

  • zeroxcool
  • Registratie: Januari 2001
  • Laatst online: 14-02 11:55
Kees schreef op donderdag 13 januari 2005 @ 15:39:
nee, hij ziet dan iets van 900+mb ipv 1024 :)
Mierenneukert :). Is alweer lange tijd geleden dat ik hier ook tegenaan ben gelopen, dus het zou best kunnen...

zeroxcool.net - curity.eu

Pagina: 1