Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

  1. #1
    Join Date
    Sep 2013
    Beans
    6

    Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    output of uname -a
    Code:
    Linux linux 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    output free -m

    Code:
                 total       used       free     shared    buffers     cached
    Mem:          3088        944       2143          0         29        398
    -/+ buffers/cache:        516       2571
    Swap:         3280          0       3280
    Taken from hardinfo:

    Code:
    -Memory-
        Total Memory        : 3162692 kB
        Free Memory     : 2171192 kB
        Buffers     : 31496 kB
        Cached      : 426468 kB
        Cached Swap     : 0 kB
        Active      : 447472 kB
        Inactive        : 309820 kB
        Active(anon)        : 300092 kB
        Inactive(anon)      : 1100 kB
        Active(file)        : 147380 kB
        Inactive(file)      : 308720 kB
        Unevictable     : 0 kB
        Mlocked     : 0 kB
        Virtual Memory      : 3359740 kB
        Free Virtual Memory     : 3359740 kB
        Dirty       : 52 kB
        Writeback       : 144 kB
        AnonPages       : 299324 kB
        Mapped      : 161220 kB
        Shmem       : 1868 kB
        Slab        : 38996 kB
        SReclaimable        : 18784 kB
        SUnreclaim      : 20212 kB
        KernelStack     : 2656 kB
        PageTables      : 14680 kB
        NFS_Unstable        : 0 kB
        Bounce      : 0 kB
        WritebackTmp        : 0 kB
        CommitLimit     : 4941084 kB
        Committed_AS        : 1579588 kB
        VmallocTotal        : 34359738367 kB
        VmallocUsed     : 302256 kB
        VmallocChunk        : 34359433468 kB
        HardwareCorrupted       : 0 kB
        AnonHugePages       : 0 kB
        HugePages_Total     : 0
        HugePages_Free      : 0
        HugePages_Rsvd      : 0
        HugePages_Surp      : 0
        Hugepagesize        : 2048 kB
        DirectMap4k     : 98300 kB
        DirectMap2M     : 2236416 kB
        DirectMap1G     : 1048576 kB
    lspci output for the intergrated GPU on my CPU

    Code:
    Subsystem: Micro-Star International Co., Ltd. Device 7721
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=256]
        Memory at fef00000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: fglrx_pci

    The CPU is an AMD A8-5600K.
    My mother board is a MSI fm2-a55m-e33 which can use up to 16GB of memory. Windows 7 64bit and my BIOS both show 4GB of memory.

  2. #2
    Join Date
    Dec 2011
    Beans
    684
    Distro
    Ubuntu Studio 20.04 Focal Fossa

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    My mother board is a MSI fm2-a55m-e33 which can use up to 16GB of memory.
    How many sticks of RAM did you install on your mobo?


    When I installed Black Opal which is built on Ubuntu 12.04 I allocated 20 GB for the /journaling file system but when I view those partitions it shows as 18 GB's.
    Not sure what this discrepancy is about.

    Maybe another member will know more.
    -Check yourself before you wreck yourself-


    Devuan, MX Linux, Debian 12 & Slackware 15


  3. #3
    Join Date
    Sep 2013
    Beans
    6

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    I currently have 2 ram modules.

  4. #4
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    Windows and Linux report RAM in different ways. I know nothing about your particular APU/MB combo, but does it reserve 1GB as VRAM for graphics? If so, on older MBs, this will be permanently carved out of your DRAM pool (it has to come from somewhere). On newer systems, I believe that VRAM allocation is dynamic and will change depending on graphics needs, but I'm not sure how the system would report DRAM in such cases. Your system documentation should tell you, or a Google query of your CPU/MB combo could as well. Your BIOS may even allow you to define how much VRAM you want allocated.

  5. #5
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    Run this script, and it will tell you all:

    Code:
    wget http://www.appelboor.com/dump/check-my-memory.py
    sudo python check-my-memory.py

  6. #6
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    AMD A8-5600K
    that's an APU. does the GPU chip on it perhaps take 1GB of RAM?

    i have 2GB ram on notebook, yet Kubuntu is showing 1,5 GB. 512MB is taken by GPU part of APU.
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
    User friendly full disk backup: Rescuezilla

  7. #7
    Join Date
    May 2013
    Location
    Hamunaptra
    Beans
    623
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    I have AMD A4 APU and it reserves 512 MB for Graphics, perhaps your A8 is reserving 1GB for graphics.

    Use Duckhook & Sanderj's ways to check out if the APU is reserving 1GB for Graphics.
    bhatta

    May the Source be with you !
    Ash nazg durbatulûk, ash nazg gimbatul, ash nazg thrakatulûk, agh
    'Buntu-ishi krimpatul !

  8. #8
    Join Date
    Sep 2013
    Beans
    6

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    Quote Originally Posted by sanderj View Post
    Run this script, and it will tell you all:

    Code:
    wget http://www.appelboor.com/dump/check-my-memory.py
    sudo python check-my-memory.py


    Here is what I got:

    Code:
    ANALYSIS:
    Total of physical memory modules found 4096 MB in 2 memory module(s)
    BIOS offers 3279 MB as usable
    Memory seen by OS 3088 MB
    BIOS version 05/02/2013
    CPU is PAE enabled
    CPU is x86_64 64-bit enabled
    OS is x86_64 64-bit
    
    SUMMARY:
    Memory difference between DIMM hardware and BIOS offering 817 MB
    Memory difference between BIOS offering and memory seen by OS 191 MB
    Memory difference between DIMM hardware and memory seen by OS 1008 MB
    
    ADVICE:
    Your BIOS is not offering all of your physical memory. Try to update your BIOS, and/or enable 'memory hole remapping / hoisting' in your BIOS to get more usable memory
    
    Finally: show more detailed memory info from lshw. This can take up to 30 seconds ...
           description: System Memory
           size: 4GiB
              description: SODIMM DDR3 [empty]
              description: DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
              size: 2GiB
              description: SODIMM DDR3 [empty]
              description: DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
              size: 2GiB
    
    Finished

    I don't really understand in my BIOS it shows 4GIG being available and there isn't an optiton for 'memory hole remapping / hoisting'.

  9. #9
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    There may be nothing at all wrong with your system and 1GB has just been set aside for video memory. You must check out how much DRAM your APU reserves for VRAM before making any changes willy-nilly to your computer. Otherwise, you may risk destabilizing a perfectly normal system for the wrong reasons. Please check out previous posts from mastablasta, bhattabhishek and me, all of which point to the same conclusion.

    The script you ran cannot tell you how much DRAM has been set aside for VRAM. BTW, on a separate note, did you review the python script before running it? Especially as root? Not to cast any aspersions on sanderj (who I'm sure is a fine fellow) but it is risky to just run any script you download unless you understand exactly what it will do.

  10. #10
    Join Date
    Sep 2013
    Beans
    6

    Re: Ubuntu 13.04 64bit only see 3GB out of 4GB memory.

    Quote Originally Posted by DuckHook View Post
    Snip

    I ran

    Code:
    grep -i --color memory /var/log/Xorg.0.log
    When looking through I found

    Code:
    [    23.018] (II) fglrx(0): AMD Video BIOS revision 9 or later detected
    [    23.018] (--) fglrx(0): Video RAM: 786432 kByte, Type: DDR3
    The system sees 3088MB of ram and 786MB is being used for the GPU. 3088 + 786 = 3874MB, there is suppose to be 4096MB. I don't know if the 786MB is taken out of the 3088MB or out of 3874MB. But I do know two things, it is still less than 4GB and that the GPU shares system memory since it doesn't have much of its own. Is there a command to see how much memory the kernel is keeping locked away?
    Last edited by dusty254; September 30th, 2013 at 10:06 PM. Reason: Spelling

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •