Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Lubuntu does not use all of my RAM

  1. #11
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,909
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Lubuntu does not use all of my RAM

    also
    to check the memeory of the videocard:
    Code:
    lspci -v -s $(lspci | grep VGA | cut -d " " -f 1)

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  2. #12
    Join Date
    Aug 2010
    Beans
    17

    Re: Lubuntu does not use all of my RAM

    Quote Originally Posted by fdrake View Post
    but he said he is running ubunut 64bit.

    @OP
    can you provide us with the
    Code:
    uname -a
    sudo apt-get install dmidecode
    sudo dmidecode --type memory
    free -mh
    This is the output:

    Code:
    uname -a
    Linux martin-HPnx7400 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    Code:
    sudo dmidecode --type memory
    # dmidecode 2.11
    SMBIOS 2.4 present.
    
    Handle 0x000A, DMI type 16, 15 bytes
    Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 4 GB
        Error Information Handle: No Error
        Number Of Devices: 2
    
    Handle 0x000B, DMI type 17, 27 bytes
    Memory Device
        Array Handle: 0x000A
        Error Information Handle: No Error
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: SODIMM
        Set: None
        Locator: DIMM #1
        Bank Locator: Not Specified
        Type: DDR2
        Type Detail: Synchronous
        Speed: 975 MHz
        Manufacturer: 7F7F9E0000000000
        Serial Number: 00000000
        Asset Tag: Not Specified
        Part Number: VS2GSDS800D2      
    
    Handle 0x000C, DMI type 17, 27 bytes
    Memory Device
        Array Handle: 0x000A
        Error Information Handle: No Error
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: SODIMM
        Set: None
        Locator: DIMM #2
        Bank Locator: Not Specified
        Type: DDR2
        Type Detail: Synchronous
        Speed: 975 MHz
        Manufacturer: 7F7F9E0000000000
        Serial Number: 00000000
        Asset Tag: Not Specified
        Part Number: VS2GSDS800D2
    Code:
    free -mh
                 total       used       free     shared    buffers     cached
    Mem:          3.3G       1.5G       1.8G         0B       100M       574M
    -/+ buffers/cache:       843M       2.5G
    Swap:         4.7G         0B       4.7G
    Code:
    cat /proc/meminfo 
    MemTotal:        3462244 kB
    MemFree:         1820584 kB
    Buffers:          104636 kB
    Cached:           591624 kB
    SwapCached:            0 kB
    Active:           914628 kB
    Inactive:         529276 kB
    Active(anon):     754284 kB
    Inactive(anon):    56484 kB
    Active(file):     160344 kB
    Inactive(file):   472792 kB
    Unevictable:       31260 kB
    Mlocked:           31260 kB
    SwapTotal:       4881404 kB
    SwapFree:        4881404 kB
    Dirty:               320 kB
    Writeback:             0 kB
    AnonPages:        778912 kB
    Mapped:           116680 kB
    Shmem:             57304 kB
    Slab:              97716 kB
    SReclaimable:      77064 kB
    SUnreclaim:        20652 kB
    KernelStack:        2648 kB
    PageTables:        16824 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:     6612524 kB
    Committed_AS:    2145120 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:      356884 kB
    VmallocChunk:   34359373584 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:         0 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    DirectMap4k:       71488 kB
    DirectMap2M:     3459072 kB
    I also tried booting up from a lubuntu 12.04 64 bit live usb (this was what I initially installed a while ago, then I upgraded to 12.10, after that I upgraded the memory from 1GB to 4GB). There was no difference in memory usage, also only 3.3GB was used.

  3. #13
    Join Date
    Aug 2010
    Beans
    17

    Re: Lubuntu does not use all of my RAM

    Quote Originally Posted by fdrake View Post
    also
    to check the memeory of the videocard:
    Code:
    lspci -v -s $(lspci | grep VGA | cut -d " " -f 1)
    This is the result:

    Code:
    lspci -v -s $(lspci | grep VGA | cut -d " " -f 1)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 30a2
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at f4400000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 4000 [size=8]
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        Memory at f4480000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: intelfb, i915
    As far as I understand this, the video card is using 256MB right?
    But I have no idea whether this is shared memory or not....

  4. #14
    Join Date
    Aug 2010
    Beans
    17

    Re: Lubuntu does not use all of my RAM

    Quote Originally Posted by matt_symes View Post
    Hi

    Yes, that article was for 32 bit.

    Can we take a look at what Ubuntu is actually seeing ?

    Open a terminal and type (these are all case sensitive)

    Code:
    dmesg | grep Mem
    Code:
    grep MemTotal /proc/meminfo
    Code:
    free -m
    Code:
    sudo dmidecode -t 6
    Please post the results back here.

    Kind regards
    This is the result:

    Code:
    dmesg | grep Mem
    [    0.000000] Memory: 3443856k/3530560k available (6718k kernel code, 452k absent, 86252k reserved, 6452k data, 932k init)
    Code:
     grep MemTotal /proc/meminfo
    MemTotal:        3462244 kB
    Code:
    free -m
                 total       used       free     shared    buffers     cached
    Mem:          3381       1618       1763          0        103        585
    -/+ buffers/cache:        928       2452
    Swap:         4766          0       4766
    Code:
     sudo dmidecode -t 6
    # dmidecode 2.11
    SMBIOS 2.4 present.

  5. #15
    Join Date
    Aug 2010
    Beans
    17

    Re: Lubuntu does not use all of my RAM

    I found out another interesting detail. I have a second laptop (a hp nc6320, which has almost the same specs as my hp nx7400). This laptop runs linux mint 10.4 64 bit (based on the ubuntu lucid LTS).
    The same problem arised there!

  6. #16
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,909
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Lubuntu does not use all of my RAM

    show us also the rest of the per memory
    Code:
    lspci -v |grep Memory

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  7. #17
    Join Date
    Aug 2010
    Beans
    17

    Re: Lubuntu does not use all of my RAM

    Quote Originally Posted by fdrake View Post
    show us also the rest of the per memory
    Code:
    lspci -v |grep Memory
    This is the output:

    Code:
    lspci -v |grep Memory
    00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
        Memory at f4400000 (32-bit, non-prefetchable) [size=512K]
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        Memory at f4480000 (32-bit, non-prefetchable) [size=256K]
        Memory at f4500000 (32-bit, non-prefetchable) [size=512K]
        Memory at f4580000 (64-bit, non-prefetchable) [size=16K]
        Memory behind bridge: d7800000-d79fffff
        Memory behind bridge: f4000000-f40fffff
        Memory behind bridge: f0000000-f3ffffff
        Memory at f4584000 (32-bit, non-prefetchable) [size=1K]
        Memory behind bridge: f4100000-f43fffff
        Memory at f4585000 (32-bit, non-prefetchable) [size=1K]
        Memory at f4100000 (32-bit, non-prefetchable) [size=4K]
        Memory window 0: d8000000-dbffffff (prefetchable)
        Memory window 1: dc000000-dfffffff
        Memory at f4101000 (32-bit, non-prefetchable) [size=2K]
        Memory at f4104000 (32-bit, non-prefetchable) [size=16K]
        Memory at f4108000 (32-bit, non-prefetchable) [size=8K]
        Memory at f4000000 (32-bit, non-prefetchable) [size=4K]

  8. #18
    Join Date
    May 2010
    Location
    uk
    Beans
    8,250
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Lubuntu does not use all of my RAM

    Hi

    It looks like your video card may be pinching the missing memory.

    Please post the output of

    Code:
     
    head -n 150 /var/log/dmesg
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  9. #19
    Join Date
    Aug 2010
    Beans
    17

    Re: Lubuntu does not use all of my RAM

    Quote Originally Posted by matt_symes View Post
    Hi

    It looks like your video card may be pinching the missing memory.

    Please post the output of

    Code:
     
    head -n 150 /var/log/dmesg
    Kind regards

    This is the output!
    I must say I understand very little of this one, what does it do?


    Code:
    head -n 150 /var/log/dmesg
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.5.0-21-generic (buildd@allspice) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 (Ubuntu 3.5.0-21.32-generic 3.5.7.1)
    [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.5.0-21-generic root=UUID=9a1ec54f-9bb5-462e-b832-6c3160785aca ro quiet splash vt.handoff=7
    [    0.000000] KERNEL supported cpus:
    [    0.000000]   Intel GenuineIntel
    [    0.000000]   AMD AuthenticAMD
    [    0.000000]   Centaur CentaurHauls
    [    0.000000] e820: BIOS-provided physical RAM map:
    [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
    [    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
    [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000d77cffff] usable
    [    0.000000] BIOS-e820: [mem 0x00000000d77d0000-0x00000000d77e55ff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000d77e5600-0x00000000d77f7fff] ACPI NVS
    [    0.000000] BIOS-e820: [mem 0x00000000d77f8000-0x00000000d77fffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed9afff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000feda0000-0x00000000fedbffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000ffb00000-0x00000000ffbfffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000fff00000-0x00000000ffffffff] reserved
    [    0.000000] NX (Execute Disable) protection: active
    [    0.000000] DMI 2.4 present.
    [    0.000000] DMI: Hewlett-Packard HP Compaq nx7400 (RU425ET#ABH)/30A2, BIOS 68YGU Ver. F.0E 08/27/2008
    [    0.000000] e820: update [mem 0x00000000-0x0000ffff] usable ==> reserved
    [    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
    [    0.000000] No AGP bridge found
    [    0.000000] e820: last_pfn = 0xd77d0 max_arch_pfn = 0x400000000
    [    0.000000] MTRR default type: uncachable
    [    0.000000] MTRR fixed ranges enabled:
    [    0.000000]   00000-9FFFF write-back
    [    0.000000]   A0000-BFFFF uncachable
    [    0.000000]   C0000-D3FFF write-protect
    [    0.000000]   D4000-EFFFF uncachable
    [    0.000000]   F0000-FFFFF write-protect
    [    0.000000] MTRR variable ranges enabled:
    [    0.000000]   0 base 000000000 mask F80000000 write-back
    [    0.000000]   1 base 080000000 mask FC0000000 write-back
    [    0.000000]   2 base 0C0000000 mask FF0000000 write-back
    [    0.000000]   3 base 0D0000000 mask FF8000000 write-back
    [    0.000000]   4 base FD7800000 mask FFF800000 uncachable
    [    0.000000]   5 base 0FEDA0000 mask FFFFE0000 uncachable
    [    0.000000]   6 disabled
    [    0.000000]   7 disabled
    [    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    [    0.000000] original variable MTRRs
    [    0.000000] reg 0, base: 0GB, range: 2GB, type WB
    [    0.000000] reg 1, base: 2GB, range: 1GB, type WB
    [    0.000000] reg 2, base: 3GB, range: 256MB, type WB
    [    0.000000] reg 3, base: 3328MB, range: 128MB, type WB
    [    0.000000] reg 4, base: 64888MB, range: 8MB, type UC
    [    0.000000] reg 5, base: 4175488KB, range: 128KB, type UC
    [    0.000000] total RAM covered: 3456M
    [    0.000000] Found optimal setting for mtrr clean up
    [    0.000000]  gran_size: 64K     chunk_size: 1G     num_reg: 3      lose cover RAM: 0G
    [    0.000000] New variable MTRRs
    [    0.000000] reg 0, base: 0GB, range: 4GB, type WB
    [    0.000000] reg 1, base: 3456MB, range: 128MB, type UC
    [    0.000000] reg 2, base: 3584MB, range: 512MB, type UC
    [    0.000000] initial memory mapped: [mem 0x00000000-0x1fffffff]
    [    0.000000] Base memory trampoline at [ffff880000099000] 99000 size 24576
    [    0.000000] init_memory_mapping: [mem 0x00000000-0xd77cffff]
    [    0.000000]  [mem 0x00000000-0xd75fffff] page 2M
    [    0.000000]  [mem 0xd7600000-0xd77cffff] page 4k
    [    0.000000] kernel direct mapping tables up to 0xd77cffff @ [mem 0x1fffa000-0x1fffffff]
    [    0.000000] RAMDISK: [mem 0x362e4000-0x37169fff]
    [    0.000000] ACPI: RSDP 00000000000f7c00 00024 (v02 HP    )
    [    0.000000] ACPI: XSDT 00000000d77e57c4 00074 (v01 HPQOEM SLIC-MPC 00000001 HP   00000001)
    [    0.000000] ACPI: FACP 00000000d77e5684 000F4 (v04 HP     30A2     00000003 HP   00000001)
    [    0.000000] ACPI: DSDT 00000000d77e5ac0 0F9C8 (v01 HP       nx7400 00010000 MSFT 0100000E)
    [    0.000000] ACPI: FACS 00000000d77f7e80 00040
    [    0.000000] ACPI: SLIC 00000000d77e5838 00176 (v01 HPQOEM SLIC-MPC 00000001 HP   00000001)
    [    0.000000] ACPI: HPET 00000000d77e59b0 00038 (v01 HP     30A2     00000001 HP   00000001)
    [    0.000000] ACPI: APIC 00000000d77e59e8 00068 (v01 HP     30A2     00000001 HP   00000001)
    [    0.000000] ACPI: MCFG 00000000d77e5a50 0003C (v01 HP     30A2     00000001 HP   00000001)
    [    0.000000] ACPI: TCPA 00000000d77e5a8c 00032 (v02 HP     30A2     00000001 HP   00000001)
    [    0.000000] ACPI: SSDT 00000000d77f5488 00326 (v01 HP       HPQSAT 00000001 MSFT 0100000E)
    [    0.000000] ACPI: SSDT 00000000d77f5fc1 0025F (v01 HP      Cpu0Tst 00003000 INTL 20060317)
    [    0.000000] ACPI: SSDT 00000000d77f6220 000A6 (v01 HP      Cpu1Tst 00003000 INTL 20060317)
    [    0.000000] ACPI: SSDT 00000000d77f62c6 004D7 (v01 HP        CpuPm 00003000 INTL 20060317)
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] No NUMA configuration found
    [    0.000000] Faking a node at [mem 0x0000000000000000-0x00000000d77cffff]
    [    0.000000] Initmem setup node 0 [mem 0x00000000-0xd77cffff]
    [    0.000000]   NODE_DATA [mem 0xd77cc000-0xd77cffff]
    [    0.000000]  [ffffea0000000000-ffffea00035fffff] PMD -> [ffff8800d3800000-ffff8800d6dfffff] on node 0
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x00010000-0x00ffffff]
    [    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x00010000-0x0009efff]
    [    0.000000]   node   0: [mem 0x00100000-0xd77cffff]
    [    0.000000] On node 0 totalpages: 882527
    [    0.000000]   DMA zone: 64 pages used for memmap
    [    0.000000]   DMA zone: 6 pages reserved
    [    0.000000]   DMA zone: 3913 pages, LIFO batch:0
    [    0.000000]   DMA32 zone: 13728 pages used for memmap
    [    0.000000]   DMA32 zone: 864816 pages, LIFO batch:31
    [    0.000000] ACPI: PM-Timer IO Port: 0x1008
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
    [    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    [    0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
    [    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
    [    0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    [    0.000000] ACPI: IRQ0 used by override.
    [    0.000000] ACPI: IRQ2 used by override.
    [    0.000000] ACPI: IRQ9 used by override.
    [    0.000000] Using ACPI (MADT) for SMP configuration information
    [    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
    [    0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
    [    0.000000] nr_irqs_gsi: 40
    [    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
    [    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
    [    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
    [    0.000000] e820: [mem 0xd7800000-0xfebfffff] available for PCI devices
    [    0.000000] Booting paravirtualized kernel on bare hardware
    [    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:2 nr_node_ids:1
    [    0.000000] PERCPU: Embedded 28 pages/cpu @ffff8800d7400000 s83584 r8192 d22912 u1048576
    [    0.000000] pcpu-alloc: s83584 r8192 d22912 u1048576 alloc=1*2097152
    [    0.000000] pcpu-alloc: [0] 0 1 
    [    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 868729
    [    0.000000] Policy zone: DMA32
    [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.5.0-21-generic root=UUID=9a1ec54f-9bb5-462e-b832-6c3160785aca ro quiet splash vt.handoff=7
    [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.000000] __ex_table already sorted, skipping sort
    [    0.000000] Checking aperture...
    [    0.000000] No AGP bridge found
    [    0.000000] Calgary: detecting Calgary via BIOS EBDA area
    [    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
    [    0.000000] Memory: 3443856k/3530560k available (6718k kernel code, 452k absent, 86252k reserved, 6452k data, 932k init)
    [    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]     RCU dyntick-idle grace-period acceleration is enabled.
    [    0.000000] NR_IRQS:16640 nr_irqs:512 16
    [    0.000000] Extended CMOS year: 2000
    [    0.000000] vt handoff: transparent VT on vt#7
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [tty0] enabled
    [    0.000000] allocated 14155776 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] hpet clockevent registered
    [    0.000000] Fast TSC calibration using PIT
    [    0.000000] Detected 1828.836 MHz processor.
    I also tried a different brand memory modules by switching them with the laptop of someone else... it made no difference and again only 3.3GB was visible!

  10. #20
    Join Date
    Aug 2010
    Beans
    17

    Re: Lubuntu does not use all of my RAM

    Does anyone have a clue, the problem still persists....

    What I especially want to figure out is how much shared video memory is taken away from the RAM.

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

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
  •