Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Real memory question

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    14 Posts 3 Posters 929 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JonathanLeeJ
      JonathanLee
      last edited by

      Hello fellow Netgate community members,

      Is this correct for the 2100?

      I thought the real memory was 4GB the values are showing this on boot up…

      IMG_0115.jpeg

      Make sure to upvote

      1 Reply Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee
        last edited by

        I know ARC and top show the actual full memory but I can never get them to add up to the correct binary memory value.

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • JonathanLeeJ
          JonathanLee
          last edited by

          IMG_0116.png

          Make sure to upvote

          1 Reply Last reply Reply Quote 0
          • JonathanLeeJ
            JonathanLee
            last edited by

            My goal is to get it to add up to 4GB binary value. Anyone ever try to do that?

            Make sure to upvote

            1 Reply Last reply Reply Quote 0
            • JonathanLeeJ
              JonathanLee
              last edited by

              IMG_0117.png

              Make sure to upvote

              1 Reply Last reply Reply Quote 0
              • JonathanLeeJ
                JonathanLee
                last edited by

                IMG_0118.png

                Make sure to upvote

                1 Reply Last reply Reply Quote 0
                • JonathanLeeJ
                  JonathanLee
                  last edited by

                  IMG_0119.jpeg

                  Make sure to upvote

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Yes, that's the expected value in the 2100:

                    real memory = 3602862080 (3435 MB)
                    avail memory = 3462533120 (3302 MB)
                    

                    The memory map from the SoC provides 32bit access so it sees 3.6GB.

                    Steve

                    1 Reply Last reply Reply Quote 1
                    • JonathanLeeJ
                      JonathanLee
                      last edited by

                      Anyone else know any wicked ram memory commands for freeBSD let me know.

                      Make sure to upvote

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        serbus @JonathanLee
                        last edited by

                        @JonathanLee

                        Hello!

                        Something like...

                        dmidecode -t memory | egrep "Maximum Capacity|Number Of Devices|Size|Type:"
                        

                        ...can be useful.

                        John

                        Lex parsimoniae

                        JonathanLeeJ 1 Reply Last reply Reply Quote 0
                        • JonathanLeeJ
                          JonathanLee
                          last edited by

                          Oooo this one is good too

                          Screenshot 2024-01-25 at 08.50.22.png

                          grep memory off of a sysctl -a....

                          Make sure to upvote

                          1 Reply Last reply Reply Quote 0
                          • JonathanLeeJ
                            JonathanLee @serbus
                            last edited by JonathanLee

                            @serbus said in Real memory question:

                            dmidecode -t memory | egrep "Maximum Capacity|Number Of Devices|Size|Type:"

                            Dang that one didn't work on arm for me

                            Screenshot 2024-01-25 at 08.53.39.png

                            Screenshot 2024-01-25 at 08.55.21.png

                            Make sure to upvote

                            1 Reply Last reply Reply Quote 0
                            • JonathanLeeJ
                              JonathanLee
                              last edited by

                              and you got your GUI monitor nice one..

                              Screenshot 2024-01-25 at 08.58.22.png

                              Make sure to upvote

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by stephenw10

                                There are some things you can see from uboot. Firstly that at boot it reports:

                                Model: Silicom Rogue-2
                                       CPU     1200 [MHz]
                                       L2      800 [MHz]
                                       TClock  200 [MHz]
                                       DDR     750 [MHz]
                                DRAM:  3.4 GiB
                                

                                You can check the board info:

                                Marvell>> bdinfo
                                arch_number = 0x00000000
                                boot_params = 0x00000100
                                DRAM bank   = 0x00000000
                                -> start    = 0x00000000
                                -> size     = 0x04000000
                                DRAM bank   = 0x00000001
                                -> start    = 0x05400000
                                -> size     = 0x7AC00000
                                DRAM bank   = 0x00000002
                                -> start    = 0x80000000
                                -> size     = 0x40000000
                                DRAM bank   = 0x00000003
                                -> start    = 0xC0000000
                                -> size     = 0x10000000
                                DRAM bank   = 0x00000004
                                -> start    = 0xE0000000
                                -> size     = 0x08000000
                                baudrate    = 115200 bps
                                TLB addr    = 0x7FFF0000
                                relocaddr   = 0x7FF36000
                                reloc off   = 0x7FF36000
                                irq_sp      = 0x7F623350
                                sp start    = 0x7F623350
                                Early malloc usage: 228 / 2000
                                fdt_blob = 000000007f623360
                                

                                And adding up those sizes gives 0xD6C00000 = 3602907136 = 3.6GB = 3.35GiB

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.