64-bit kubuntu only rocognizes 2.75Gb out of 6Gb memory

Discussion in 'CPU, Motherboards and Memory' started by memius, May 3, 2009.

  1. memius

    memius Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    i have an asus pq5 motherboard which i assume is capable of 64 bit, and i know kubuntu 64-bit is.

    i have 6Gb of memory installed, and it is recognized by the bios, but not by report-hw or System Monitor, which reports that i'm only using 2.75Gb of it. the machine is also noticably slower than it was before i changed the motherboard.

    this is the beginning and the cpu-section of the output of lshw (notice how it says witdth = 64 for the cpu, but only width = 32 in the intro, ('box' is the name of my tabletop system btw)):

    box
    description: Desktop Computer
    product: System Product Name
    vendor: System manufacturer
    version: System Version
    serial: System Serial Number
    width: 32 bits
    capabilities: smbios-2.5 dmi-2.5 smp-1.4 smp
    configuration: boot=normal chassis=desktop cpus=4 uuid=E0A5FB01-54D0-DD11-8C6D-00248C031C33

    *-cpu:0
    description: CPU
    product: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
    vendor: Intel Corp.
    physical id: 4
    bus info: cpu@0
    version: 6.15.11
    serial: 0000-06FB-0000-0000-0000-0000
    slot: LGA 775
    size: 2400MHz
    capacity: 3800MHz
    width: 64 bits
    clock: 266MHz
    capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
    configuration: id=2
     
  2. tuxified

    tuxified Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Ah, I remember was encountring the same issue. This is in fact due to the generic kernels that come out with most of Linux distros. Actually supposed to deal with a tremendous number of architecture specifications. So in order to bypass this, you gotta recompile the kernel, preferably your distro tuned version or get the last update from The Linux Kernel Archives and make sure you move CONFIG_HIMEM4G=y to CONFIG_HIMEM64G=y in your kernel .config file in order to work arround your prob.

    By the way, you can get an already configured .config file from your distro community and save your self the whole hassle.

    If you encounter any trouble please feel free to contact me.
     
  3. memius

    memius Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    thanks!

    i found a line that said CONFIG_HIGHMEM4G=y, which is pretty much the same as the HIMEM you describe.

    as for recompiling the kernel with this config file, all the tutorials focus on getting a new kernel and kompiling that. i'm guessing i only need to recompile my existing kernel, which should be a much easier process.
     
  4. memius

    memius Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    i couldn't find anything about recompiling the kernel i already had, so i used this howto

    How To Compile A Kernel - The Ubuntu Way - Page 2 | HowtoForge - Linux Howtos and Tutorials

    to compile a new kernel with the options i wanted.

    all 6Gb of memory are now recognized by system monitor.

    however, i'm wondering. i always assumed that the cpu capacity would be measured in % up to 100, so that 100% was the grand total of cpu capacity. but i've now seen several mentions of quad-core systems using 400% of the cpu capacity.

    my system monitor only goes to 100%. shoud it go all the way to 400%?
     
  5. tuxified

    tuxified Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Well, let me guess, 100% for each core ?

    I'm not pretty sure about neither the specifications nore the used tools, since I'm using a very old computer with a stable debian build.

    Nonetheless, you gotta make sure all the cores are actually correctly handled by the actual kernel. I would use sth like
    Code:
    cat /proc/cpuinfo
    but an
    Code:
    sudo lshw -class cpu
    gonna be more detailed. And oboviously, in your case you must see 4 cores. If this is not the case, I'm pretty sure that SMP is either not activated or not have been compiled in the kernel.
     

Share This Page