real memory falsely reports 8G, BIOS & avail memory reports 1G

Julian H. Stacey jhs at berklix.com
Mon Aug 9 12:44:42 UTC 2010


> A laptop here emits a puzzlingly dmesg to both 8.1-RC2 & 8.1-RELEASE:
> 	real memory  = 8572108800 (8175 MB)
> 	avail memory = 1018789888 (971 MB)
> BIOS reckons it has 1G. No panel to unscrew to inspect memory. 
> I don't beleive 8G.

PS
sysctl -a | grep mem
  vm.kmem_size_scale: 3
  vm.kmem_size_max: 329853485875
  vm.kmem_size_min: 0
  vm.kmem_size: 342405120
  vfs.ufs.dirhash_lowmemcount: 4
  vfs.ufs.dirhash_mem: 77734
  vfs.ufs.dirhash_maxmem: 2097152
  debug.fwmem_debug: 0
  hw.physmem: 1059000320
  hw.usermem: 812683264
  hw.realmem: 1073676288
  hw.firewire.fwmem.speed: 2
  hw.firewire.fwmem.eui64_lo: 0
  hw.firewire.fwmem.eui64_hi: 0
  hw.cbb.start_memory: 2281701376
  hw.pci.host_mem_start: 2147483648
  p1003_1b.memlock: 0
  p1003_1b.memlock_range: 0
  p1003_1b.memory_protection: 0
  p1003_1b.shared_memory_objects: 1
  compat.ia32.maxvmem: 0
  compat.linux32.maxvmem: 0

top:
  last pid: 49679;  load averages:  1.23,  1.18,  0.90  up 0+03:52:44  14:42:40
  91 processes:  2 running, 88 sleeping, 1 stopped
  CPU: 91.4% user,  0.0% nice,  8.6% system,  0.0% interrupt,  0.0% idle
  Mem: 186M Active, 444M Inact, 237M Wired, 5564K Cache, 111M Buf, 107M Free
  Swap: 3072M Total, 3072M Free

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail in plain text,  Not HTML, quoted-printable & base 64 dumped with spam.
	Avoid top posting, It cripples itemised cumulative responses.


More information about the freebsd-hackers mailing list