#178 Only 248MB available (from 512MB)

9.2.0.1
closed
nobody
None
1
2015-05-11
2014-06-12
Petr Slansky
No

NAS4Free 9.2.0.1 (revision 972) x86-embedded
Intel Pentium III 512MiB RAM

Intel 82371AB/EB (PIIX4) USB controller Intel PIIX4 UDMA33 controller
PLIP network interface
[hr]1[/hr]

[b]Subject:[/b]
Only 248MB available (from 512MB)[hr]1[/hr]

[b]Description:[/b]
This is older box, Pentium PIII@733, i440BX chipset, 512MB of SDRAM and several
disks.

I noticed that NAS4FREE reports that system have only about 256MB RAM. That is
not correct, PC is loaded with 512MB and this memory passes memtest86+. Linux
runining on this legacy box reports about 512MB, as expected. Something is wrong
with FreeBSD kernel...

I tried to boot FreeBSD 10.0 and it is better, it reports that 479MB from 512MB
is available, that is OK.

Motherboard is MSI MS-6163 Pro...

[hr]1[/hr][code]
$ dmesg | grep memory
real memory = 536870912 (512 MB)
avail memory = 260255744 (248 MB)

$ vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr md0 md1 in sy cs us sy id
1 0 0 211M 203M 191 0 1 0 244 0 0 0 1718 340 865 1 62 36

$ uname -a
FreeBSD nas.home 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0 r264986M: Sun Apr 27
13:37:21 CEST 2014
root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-i386 i386

[/code]

Related

Code: code

Discussion

  • Petr Slansky
    Petr Slansky
    2014-06-12

    Update, memory reported by Linux (Slax LiveCD); it is a little bit more than reported by FreeBSD 10.0...:

    $ dmesg | grep MB

    SMBIOS 2.1 present.
    0MB HIGHMEM available.
    512MB LOWMEM available.
    vmalloc : 0xe0800000 - 0xff7fe000 ( 495 MB)
    lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    Last level iTLB entries: 4KB 32, 2MB 0, 4MB 2
    Last level dTLB entries: 4KB 64, 2MB 0, 4MB 8

    $ free
    total used free shared buffers cached
    Mem: 506624 128400 378224 0 19312 64912
    -/+ buffers/cache: 44176 462448
    Swap: 524284 0 524284

    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    0 0 0 378100 19332 64920 0 0 199 24 1023 443 1 9 89 0

    $ uname -a
    Linux slax 3.8.2 #1 SMP Tue Mar 12 09:53:39 CDT 2013 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

     
    Last edit: Petr Slansky 2014-06-12
  • Petr Slansky
    Petr Slansky
    2014-06-13

    Update. I try FreeNAS-9.2.1.5. The same PC and memory is found, 478MB from 512MB...

    $ dmesg | grep memory
    real memory = 536870912 (512 MB)
    avail memory = 501563392 (478 MB)

    $ vmstat
    procs memory page disks faults cpu
    r b w avm fre flt re pi po fr sr md0 md1 in sy cs us sy id
    5 0 0 434M 146M 521 0 2 3 396 0 0 0 2013 1244 4143 9 6 85

    $ uname -a
    FreeBSD fnas.home 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0 r262572+17a4d3d: Wed Apr 23 10:09:11 PDT 2014 root@build3.ixsystems.com:/tank/home/jkh/build/9.2.1/freenas/os-base/i386/i386.i386/fusion/jkh/9.2.1/freenas/FreeBSD/src/sys/FREENAS.i386 i386

     
    Last edit: Petr Slansky 2014-06-13
  • Daisuke Aoyama
    Daisuke Aoyama
    2014-11-29

    This is not a bug. Your memory is reserved for System Memory disk name as /dev/md0.
    By default, over 200MB is allocated. You can see used size from:
    "Diagnostics|Information|Space Used"

    This layout will change next 9.3.X.X. Please check with 9.3 version.
    Thanks.

     
  • Daisuke Aoyama
    Daisuke Aoyama
    2014-11-29

    • status: open --> wont-fix
     
  • zoon01
    zoon01
    2015-05-11

    • Status: wont-fix --> closed