How do you determine the amount of system memory?
Dave Johnson
dave-gnhlug-list at davej.org
Thu Jul 17 08:54:05 EDT 2008
> Paul Lussier writes:
> >
> > Hi all,
> >
> > Recent Linux kernels have had a minor bug in that the amount of memory
> > reported in /proc/meminfo is incorrect. I'm trying to find a way to
> > determine whether the amount reported is correct or not.
> >
> > I need some means of reliably knowing whether this value is accurate
> > or not. Does anyone have any ideas? "Physically looking" is
> > insufficient, given that I a) need to test 400+ systems, and b) I may
> > need to run this test on boxes to which I have no physical access.
You can also just go to the source and read the SPD EEPROM off each
DIMM.
This is hit-or-miss depending on how well the i2c and eeprom kernel
modules find your hardware, plus SPD addresses aren't guaranteed to be
at the expected addresses (typically 0x50-0x5f) as that's up to the
motherboard menufacturer.
$ sensors
eeprom-i2c-0-52
Adapter: SMBus I801 adapter at e8a0
Memory type: DDR2 SDRAM DIMM
Memory size (MB): 2048
eeprom-i2c-0-50
Adapter: SMBus I801 adapter at e8a0
Memory type: DDR2 SDRAM DIMM
Memory size (MB): 2048
--
Dave
More information about the gnhlug-discuss
mailing list