4GB RAM a 2.6.x

Mirek Vašek vasek na hbnet.cz
Pondělí Únor 13 11:16:57 CET 2006


Martin Kotys napsal(a):
> Zdravim,
> 
> rad by som sa poinformoval ake mate skusenosti s linuxom beziacim s 4GB
> ram. Do servera som dal 4x1GB ramky, bios tuto ramku detekoval v
> poriadku, avsak po nabootovani Linux pouziva len 3,296GB.
> 
> Docital som sa ze je mozne aby Linux spravoval pamat v tzv. 3/1 mode,
> resp aby vyuzival plnych 4GB. Tuto moznost som zakompiloval do jadra,
> avsak nebadat ziadnu zmenu.
> 
> Mojim cielom je spristupnit jednemu procesu viac ako 3GB ramky, kedze sa
> na tom stroji vykonavaju vypocty a mnozstvo dat pomaly presahuje
> pociatocnu specifikaciu (vypocet samozrejme nieje mozne distribuovat na
> viac strojov :)
> 
> Mate s tym nejake skusenosti?
> 
> Pre viac informacii:
> 
> lspci:
> 00:00.0 Host bridge: Intel Corporation 915G/P/GV Processor to I/O
> Controller (rev 04)
> 00:01.0 PCI bridge: Intel Corporation 915G/P/GV PCI Express Root Port
> (rev 04)
> 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) PCI Express Port 1 (rev 03)
> 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) PCI Express Port 2 (rev 03)
> 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB UHCI #1 (rev 03)
> 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB UHCI #2 (rev 03)
> 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB UHCI #3 (rev 03)
> 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB UHCI #4 (rev 03)
> 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB2 EHCI Controller (rev 03)
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
> 00:1e.2 Multimedia audio controller: Intel Corporation
> 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
> 00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC
> Interface Bridge (rev 03)
> 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) IDE Controller (rev 03)
> 00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA
> Controller (rev 03)
> 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
> SMBus Controller (rev 03)
> 01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60
> [Radeon X300 (PCIE)]
> 01:00.1 Display controller: ATI Technologies Inc: Unknown device 5b70
> 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ (rev 10)
> 04:02.0 Communication controller: Conexant: Unknown device 2f20
> 04:03.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev
> 01)
> 
> dmesg:
> Memory: 3374328k/3406368k available (2061k kernel code, 30908k reserved,
> 755k data, 228k init, 2488864k highmem)
> 
> 
> /proc/meminfo:
> MemTotal:      3375304 kB
> MemFree:       3135184 kB
> Buffers:         10284 kB
> Cached:          83352 kB
> SwapCached:          0 kB
> Active:         155756 kB
> Inactive:        61112 kB
> HighTotal:     2488864 kB
> HighFree:      2278484 kB
> LowTotal:       886440 kB
> LowFree:        856700 kB
> SwapTotal:     1959920 kB
> SwapFree:      1959920 kB
> Dirty:             136 kB
> Writeback:           0 kB
> Mapped:         139456 kB
> Slab:            12936 kB
> CommitLimit:   3647572 kB
> Committed_AS:   919152 kB
> PageTables:       1596 kB
> VmallocTotal:   114680 kB
> VmallocUsed:      1152 kB
> VmallocChunk:   113512 kB
> 
> 
> Vdaka.
> 

Na tohle jsem narazil i u IBM, z ofic. podpory se 
nam dostalo sdeleni, ze je to zalezitot platformy 
a ta pamet se pouzije pro jednotliva zarizeni na 
PCI sbernicich, cim vic jich tam je, tim je to horsi..


Cituji:
                                   Symptoms 

 

 

  Whenever 4GB (or more) of memory is installed, 
the BIOS will display the
  total size minus the amount of memory which is 
being reserved for the PCI,
  I/O, and other resources. 

 

 

 

 

                            Additional information 

 

 

 

  Each PCI device is allowed to claim some amount 
of memory resource. BIOS
  gathers the resource requirements of all the PCI 
devices installed and
  reserves the memory for the PCI devices. 

 

  If the memory size is less than 4GB, BIOS will 
display the full amount of
  memory installed in the system. For any memory 
amount of 4GB or greater,
  POST might display less than 4GB of memory 
depending on what resources
  have been reserved for PCI devices. The amount 
of memory displayed will
  vary depending on the system and configuration. 

 

 

  When 4GB or more of memory, physical or logical, 
is installed, some memory
  is reserved for various system resources and is 
unavailable to the
  operating system. The amount of memory that is 
reserved for system
  resources depends on the operating system, the 
configuration of the
  server, and the configured PCI options. 

 


S pozdravem
Mirek Vasek



Další informace o konferenci Linux