FreeNAS not using all installed RAM

memorytruenas

I have just installed FreeNAS 7.3 in an Alix.2 board with 256 MB physical RAM on-board. Nothing configured, nor hard disks attached.

The problem is the OS is only using 51MB of that amount. The graph of the status page says that:

Memory usage: 78% of 51MiB

The output of sysctl confirms the previous value:

hw.physmem: 53604352
hw.usermem: 35471360
hw.realmem: 268435456

And is consistent whith data in /var/run/dmesg.boot (this one drifted a little bit):

real memory  = 268435456 (256 MB)
avail memory = 47779840 (45 MB)

How can I tell FreeNAS to use all available 256MB? Or what can be wrong with the FreeNAS-Alix mix?

I have tested with Voyage Linux and it seems to use all:

root@voyage:~# free -m
             total       used       free     shared    buffers     cached
Mem:           249         53        196          0          0         40
-/+ buffers/cache:         11        237
Swap:            0          0          0

From boot:

[    0.000000] Memory: 251716k/262144k available (2719k kernel code, 9980k reserved, 1111k data, 344k init, 0k highmem)

Best Answer

It seems to be solved in version 8.0.4 of FreeNAS. (i386 one, x64 does not seem to work for some reason...)

The problem with the newer version was I have a 1GB CF and the image is 2GB. I've solved it installing from the ISO onto the CF (using my PC).

It now kmows about all available memory!

real memory  = 268435456 (256 MB)
avail memory = 247967744 (236 MB)

Data from sysctl:

hw.physmem: 255295488
hw.usermem: 247279616
hw.realmem: 268435456

So the problem is with 7.3