On Fri, Jul 3, 2015 at 8:47 PM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

> I've put in two 2G memory modules running 32-bit kernel with 'free'
> showing:
>
> free -h
>              total       used       free     shared    buffers     cached
> Mem:          3.5G       885M       2.6G       9.1M        67M       345M
> -/+ buffers/cache:       471M       3.0G
> Swap:         511M         0B       511M
>
> CPUINFO
> sed '/model name/!d;/model name/q' /proc/cpuinfo
> model name    : Intel(R) Core(TM)2 Duo CPU     E4600  @ 2.40GHz
>
> With HIGHMEM kernel config on:
>
> grep '^[^#].*HIGH.*MEM' /usr/src/linux/.config
> CONFIG_HIGHMEM4G=y
> CONFIG_HIGHMEM=y
>
> grep '^[^#].*3G' /usr/src/linux/.config
> CONFIG_VMSPLIT_3G=y
>
> Does this claim still hold true today?
> http://osdir.com/ml/kernel.ck/2005-02/msg00081.html
>
> Or perhaps it is I who did not fit the memory modules properly?
>
> Thanks.
>
>
Did some more googling on this.

Stumbled upon this thread,
http://www.gossamer-threads.com/lists/linux/kernel/778495.

Enabled PAE support in the kernel:
CONFIG_HIGHMEM64G=y

Recompiled the kernel. And voila!

grep MemTotal /proc/meminfo
MemTotal:        4144484 kB

free -h
             total       used       free     shared    buffers     cached
Mem:          4.0G       828M       3.1G       9.0M        64M       307M
-/+ buffers/cache:       455M       3.5G
Swap:         511M         0B       511M

Reply via email to