P5B + 4Gb ram + debian = 3.5G ram lathato

Fórumok

Adott a kovetkezo gep:
- P5B alaplap (rajta legfrissebb nem beta bios)
- Core2Quad Q6600 CPU
- 2* 320 GB WD SATA vinyo
- 4*1 GB PQI DDR800 RAM

Amiket eddig allitottam:
- Biosban Memory Remap Feature: Enable
- Kernelben: - CONFIG_HIGHMEM64G=y
- CONFIG_HIGHMEM=y
- CONFIG_X86_PAE=y

A Bios csak 3584MB ramot lat, de gondoltam hogy csak `rosszul irja ki` mert a dmesg szerint ott van az osszes ram:

3712MB HIGHMEM available.
896MB LOWMEM available.

Viszont a cat /proc/meminfo mar mast mutat:
MemTotal: 3628464 kB
MemFree: 3593556 kB
Buffers: 3240 kB
Cached: 14408 kB
SwapCached: 0 kB
Active: 12628 kB
Inactive: 7964 kB
HighTotal: 2752064 kB
HighFree: 2731392 kB
LowTotal: 876400 kB
LowFree: 862164 kB
SwapTotal: 947824 kB
SwapFree: 947824 kB
Dirty: 164 kB
Writeback: 0 kB
AnonPages: 2956 kB
Mapped: 3292 kB
Slab: 5772 kB
SReclaimable: 1672 kB
SUnreclaim: 4100 kB
PageTables: 284 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 2762056 kB
Committed_AS: 10844 kB
VmallocTotal: 118776 kB
VmallocUsed: 720 kB
VmallocChunk: 117984 kB

Hogy tudom ravenni/raeroltetni hogy lassa az osszes ramot?

A teljes dmesg:

Linux version 2.6.23-rc3 (root@hosting-test) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #2 SMP Fri Sep 21 20:47:23 CEST 2007
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000bff90000 (usable)
BIOS-e820: 00000000bff90000 - 00000000bff9e000 (ACPI data)
BIOS-e820: 00000000bff9e000 - 00000000bffe0000 (ACPI NVS)
BIOS-e820: 00000000bffe0000 - 00000000c0000000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000120000000 (usable)
3712MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000ff780
Entering add_active_range(0, 0, 1179648) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 1179648
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 1179648
On node 0 totalpages: 1179648
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 1760 pages used for memmap
Normal zone: 223520 pages, LIFO batch:31
HighMem zone: 7424 pages used for memmap
HighMem zone: 942848 pages, LIFO batch:31
Movable zone: 0 pages used for memmap
DMI 2.4 present.
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: P5B Product ID: APIC at: 0xFEE00000
Processor #0 6:15 APIC version 20
Processor #1 6:15 APIC version 20
Processor #2 6:15 APIC version 20
Processor #3 6:15 APIC version 20
I/O APIC #4 Version 32 at 0xFEC00000.
Enabling APIC mode: Flat. Using 1 I/O APICs
Processors: 4
Allocating PCI resources starting at c4000000 (gap: c0000000:3ee00000)
Built 1 zonelists in Zone order. Total pages: 1170432
Kernel command line: root=/dev/sda1 ro
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2401.940 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 3627604k/4718592k available (1972k kernel code, 40940k reserved, 645k data, 212k init, 2752064k highmem)
virtual kernel memory layout:
fixmap : 0xfff51000 - 0xfffff000 ( 696 kB)
pkmap : 0xffc00000 - 0xffe00000 (2048 kB)
vmalloc : 0xf8800000 - 0xffbfe000 ( 115 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc0395000 - 0xc03ca000 ( 212 kB)
.data : 0xc02ed263 - 0xc038e6c4 ( 645 kB)
.text : 0xc0100000 - 0xc02ed263 (1972 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4805.73 BogoMIPS (lpj=2402868)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000e3bd 00000000 00000001 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU: After all inits, caps: bfebfbff 20000000 00000000 00003940 0000e3bd 00000000 00000001 00000000
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
Freeing SMP alternatives: 11k freed
CPU0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz stepping 0b
Booting processor 1/1 eip 2000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4803.15 BogoMIPS (lpj=2401575)
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000e3bd 00000000 00000001 00000000
monitor/mwait feature present.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU: After all inits, caps: bfebfbff 20000000 00000000 00003940 0000e3bd 00000000 00000001 00000000
CPU1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz stepping 0b
Booting processor 2/2 eip 2000
Initializing CPU#2
Calibrating delay using timer specific routine.. 4803.18 BogoMIPS (lpj=2401592)
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000e3bd 00000000 00000001 00000000
monitor/mwait feature present.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 2
CPU: After all inits, caps: bfebfbff 20000000 00000000 00003940 0000e3bd 00000000 00000001 00000000
CPU2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz stepping 0b
Booting processor 3/3 eip 2000
Initializing CPU#3
Calibrating delay using timer specific routine.. 4803.18 BogoMIPS (lpj=2401592)
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000e3bd 00000000 00000001 00000000
monitor/mwait feature present.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 3
CPU: After all inits, caps: bfebfbff 20000000 00000000 00003940 0000e3bd 00000000 00000001 00000000
CPU3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz stepping 0b
Total of 4 processors activated (19215.25 BogoMIPS).
ExtINT not setup in hardware but reported by MP table
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=0 pin2=0
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
checking TSC synchronization [CPU#0 -> CPU#2]: passed.
checking TSC synchronization [CPU#0 -> CPU#3]: passed.
Brought up 4 CPUs
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=4
PCI: Using configuration type 1
Setting up standard PCI resources
SCSI subsystem initialized
libata version 2.21 loaded.
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
PCI quirk: region 0480-04bf claimed by ICH6 GPIO
PCI: Transparent bridge - 0000:00:1e.0
PCI: Using IRQ router PIIX/ICH [8086/2810] at 0000:00:1f.0
PCI->APIC IRQ transform: 0000:00:01.0[A] -> IRQ 16
PCI->APIC IRQ transform: 0000:00:1c.0[A] -> IRQ 16
PCI->APIC IRQ transform: 0000:00:1c.3[D] -> IRQ 19
PCI->APIC IRQ transform: 0000:00:1f.2[B] -> IRQ 19
PCI->APIC IRQ transform: 0000:00:1f.3[C] -> IRQ 18
PCI->APIC IRQ transform: 0000:00:1f.5[B] -> IRQ 19
PCI->APIC IRQ transform: 0000:02:00.0[A] -> IRQ 19
PCI->APIC IRQ transform: 0000:04:00.0[A] -> IRQ 21
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: ff800000-ff8fffff
PCI: Bridge: 0000:00:1c.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: ff900000-ff9fffff
PCI: Bridge: 0000:00:1c.3
IO window: c000-cfff
MEM window: f6900000-f69fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
IO window: disabled.
MEM window: f6a00000-feafffff
PREFETCH window: c4000000-c40fffff
Time: tsc clocksource has been installed.
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Setting latency timer of device 0000:00:1c.0 to 64
PCI: Setting latency timer of device 0000:00:1c.3 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
highmem bounce pool size: 64 pages
io scheduler noop registered
io scheduler cfq registered (default)
Boot video device is 0000:04:00.0
Real Time Clock Driver v1.12ac
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
Probing IDE interface ide1...
ata_piix 0000:00:1f.2: version 2.11
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0x0001ec00 ctl 0x0001e882 bmdma 0x0001e400 irq 19
ata2: SATA max UDMA/133 cmd 0x0001e800 ctl 0x0001e482 bmdma 0x0001e408 irq 19
ata1.00: ATA-7: WDC WD3200YS-01PGB0, 21.00M21, max UDMA/133
ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/1)
ata1.00: configured for UDMA/133
ata2.00: ATA-7: WDC WD3200YS-01PGB0, 21.00M21, max UDMA/133
ata2.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/1)
ata2.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA WDC WD3200YS-01P 21.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Direct-Access ATA WDC WD3200YS-01P 21.0 PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1
sd 1:0:0:0: [sdb] Attached SCSI disk
sd 1:0:0:0: Attached scsi generic sg1 type 0
ata_piix 0000:00:1f.5: MAP [ P0 P2 P1 P3 ]
PCI: Setting latency timer of device 0000:00:1f.5 to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0x0001e000 ctl 0x0001dc02 bmdma 0x0001d480 irq 19
ata4: SATA max UDMA/133 cmd 0x0001d880 ctl 0x0001d802 bmdma 0x0001d488 irq 19
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
Starting balanced_irq
Using IPI Shortcut mode
input: AT Translated Set 2 keyboard as /class/input/input0
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 212k freed
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
PCI: Setting latency timer of device 0000:02:00.0 to 64
eth0: RTL8168b/8111b at 0xf8800000, 00:1d:60:25:ce:78, XID 38000000 IRQ 19
PCI: Enabling device 0000:00:1f.3 (0001 -> 0003)
Adding 947824k swap on /dev/sda2. Priority:-1 extents:1 across:947824k
EXT3 FS on sda1, internal journal
loop: module loaded
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
r8169: eth0: link down
r8169: eth0: link down
r8169: eth0: link up

Hozzászólások

A jelenseget ugy hivjak, hogy 'pci hole' - a hw eszkozok a 0-4G tartomanyra vannak mappelve, ezert nem latod a full memoriat. A biosban van egy 'pci hole remapping' opcio, ami a lefedett memoriateruletet at tudja mappelni 4G feletti cimekre (de valoszinuleg csak 64biten).

Dude, Where's My 4 Gigabytes of RAM?
http://www.codinghorror.com/blog/archives/000811.html

Ha 64 bites debiant raknek fel akkor mennyivel jarnek jobban/rosszabbul?
A gepen foleg jatekszerverek mennenek (UT, UT2004, kesobb U3 engines jatekok is, shoutcast, icecast2 (ices, ices2 autodj miatt), TeamSpeak, stb...

Mivel tobbseguk 32 bites, mennyivel lenne lassabb/gyorsabb 64 bites rendszeren?

Siman elerheto a 4G feletti (remappelt) fizikai RAM terulet is, a technikat ugy hivjak hogy PAE. High Memory Support-ot 64G-ra allitva csodak csodajara nalam is megjelent az elveszett RAM.


compi@arwen-d32:~$ uname -a
Linux arwen-d32 2.6.23-rc6-k8i-h #1 SMP PREEMPT Fri Sep 21 22:15:55 CEST 2007 i686 GNU/Linux
compi@arwen-d32:~$ free
             total       used       free     shared    buffers     cached
Mem:       4151104     144936    4006168          0      15092      66016
-/+ buffers/cache:      63828    4087276
Swap:            0          0          0

akkor vagy az alaplap/bios ennyire ratyi (nem lennek meglepve, a legutolso ASUS lapom biosanak igencsak veres a nyaka, es a kedves megbizhatoalaplap(tm) gyarto b@szik javitani a hibat ugy bo masfel eve) vagy pedig megsincs PAE

nalam a config relevans resze igy fest:


# CONFIG_NOHIGHMEM is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_3G_OPT is not set
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_2G_OPT is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HIGHMEM=y
CONFIG_X86_PAE=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_RESOURCES_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_NR_QUICK=1
CONFIG_VIRT_TO_BUS=y
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y

latom van 64g himem meg pae support. neke igy latta a 4g-t a gep, deviszont mindig agp/pci-os es mtrr problemak jottek elo, mertugye 3.5-4g tartomanyba vannak mappelve a pci stuffok. erre opciot nem talaltam a biosban :(

Probakepp felraktam egy 64 bites debiant. Es ezzel se latja az egeszet.


hosting-test:/usr/src/linux# uname -a
Linux hosting-test 2.6.23-rc7 #1 SMP Fri Sep 21 23:07:16 CEST 2007 x86_64 GNU/Linux
hosting-test:/usr/src/linux# free
             total       used       free     shared    buffers     cached
Mem:       3528944      55632    3473312          0       4836      21412
-/+ buffers/cache:      29384    3499560
Swap:       947824          0     947824
hosting-test:/usr/src/linux#

Nállunk is ugyanez a probléma állt fenn.
Az alaplap leírásának böngészése közben a következő kedves információra leltünk.
Nem szó szerint idézve, csak a lényegét tekintve:
4*1G ram esetén 3.5G ig látja a ramot a gép, 4*2G ram esetén pedig csak 7 G-ig.
És mindezt arra fogták, hogy architektúrális problémát okoz a 4 modul egyszerre történő használata.

Kedves :D

Erdekessegkent megneztem hogy az XP mit lat.
Annal meg rosszabb a helyzet, csak 3 gigat lat a 4bol.