Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Not seeing all my RAM

  1. #11
    Join Date
    Dec 2009
    Beans
    11
    Distro
    Kubuntu

    Re: Not seeing all my RAM

    Yep just did a simple apt-get install linux-generic-pae and rebooted..
    outputs below:

    "python script"
    OK, you're root
    ANALYSIS:
    Total of physical memory modules found 4096 MB in 2 memory module(s)
    BIOS offers 4093 MB as usable
    Memory seen by OS 4017 MB
    BIOS version 07/11/2008
    CPU is PAE enabled
    CPU is x86_64 64-bit enabled
    OS is 32-bit
    ADVICE:
    Sorry, no advice for you

    "uname -r"
    2.6.31-17-generic-pae

  2. #12
    Join Date
    Dec 2009
    Beans
    9
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Not seeing all my RAM

    If you want you system to be faster, you can use Con Colivas patches for kernel. (BFS)

  3. #13
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,460

    Re: Not seeing all my RAM

    Can you post "uname -a"? I want to see whether there's still "i686", or something else.

    Code:
    sander@quirinius:~$ uname -a
    Linux quirinius 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux
    sander@quirinius:~$ 
    sander@quirinius:~$ uname -r
    2.6.31-16-generic
    sander@quirinius:~$

  4. #14
    Join Date
    Dec 2009
    Beans
    11
    Distro
    Kubuntu

    Re: Not seeing all my RAM

    ard@ard-desktop:~$ uname -a
    Linux ard-desktop 2.6.31-17-generic-pae #54-Ubuntu SMP Thu Dec 10 17:23:29 UTC 2009 i686 GNU/Linux
    ard@ard-desktop:~$ uname -r
    2.6.31-17-generic-pae
    ard@ard-desktop:~$

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

    Re: Not seeing all my RAM

    Quote Originally Posted by doadesweb View Post
    ard@ard-desktop:~$ uname -a
    Linux ard-desktop 2.6.31-17-generic-pae #54-Ubuntu SMP Thu Dec 10 17:23:29 UTC 2009 i686 GNU/Linux
    ard@ard-desktop:~$ uname -r
    2.6.31-17-generic-pae
    ard@ard-desktop:~$
    Thanks. That means that my script also has to look for 'pae' in uname.

  6. #16
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,460

    Re: Not seeing all my RAM

    New version of my script: it takes care of PAE-kernels, and will advice to use it, even on x86_64-bit CPUs


    Feedback / Review welcome

    Code:
    sander@quirinius:~$ sudo python check-my-hardware.py 
    OK, you're root
    ANALYSIS:
    Total of physical memory modules found 1024 MB in 1 memory module(s)
    BIOS offers 1013 MB as usable
    Memory seen by OS 993 MB
    BIOS version 04/14/2009
    CPU is PAE enabled
    CPU is 32-bit, and not x86_64 enabled
    OS is 32-bit with PAE
    ADVICE:
    Your physical memory is less than 3200 MB, and your system does not need special memory treatment
    sander@quirinius:~$
    Attached Files Attached Files

  7. #17
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,460

    Re: Not seeing all my RAM

    Quote Originally Posted by doadesweb View Post
    Yep just did a simple apt-get install linux-generic-pae and rebooted..
    outputs below:

    "python script"
    OK, you're root
    ANALYSIS:
    Total of physical memory modules found 4096 MB in 2 memory module(s)
    BIOS offers 4093 MB as usable
    Memory seen by OS 4017 MB
    BIOS version 07/11/2008
    CPU is PAE enabled
    CPU is x86_64 64-bit enabled
    OS is 32-bit
    ADVICE:
    Sorry, no advice for you

    "uname -r"
    2.6.31-17-generic-pae
    It makes me think why the PAE kernel is not installed by default; it will give access to the full 4+ GB RAM, and thus will take care of a lot of questions in this forum ...

    EDIT:
    To answer my own question: not all CPU's are PAE-enabled, so I guess a PAE kernel won't work on those CPU's.
    Last edited by sanderj; December 20th, 2009 at 06:05 PM.

  8. #18
    Join Date
    Dec 2009
    Beans
    11
    Distro
    Kubuntu

    Re: Not seeing all my RAM

    it would be nice if Ubuntu could tell/check then install that kernel if the CPU type is PAE enabled?

  9. #19
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,460

    Re: Not seeing all my RAM

    Quote Originally Posted by doadesweb View Post
    it would be nice if Ubuntu could tell/check then install that kernel if the CPU type is PAE enabled?
    Indeed! If the Ubuntu live boot and/or install procedure could run my script, and then advice and/or install the best kernel: plain 32-bit, 32-bit with PAE, or x86_64 bit.

    It seems that the PAE-kernel is quite safe for recent hardware: there is of course a correlation between 3.2+ GB RAM and modern-and-thus-PAE-enabled CPU's. Or, the other way round: very old hardware won't be PAE enabled, but you won't find 3+ GB RAM there neither, so PAE won't be useful anyway.

    So:
    Default kernel for 32-bit CPU would be 32-bit with PAE, unless the CPU can't handle PAE.
    My personal opinion is to run x86_64 if your CPU can handle that; I run x86_64 without any problems since 2007. However, it seems that others think differently about that. In that case the 32-bit with PAE seems good there too.

  10. #20
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,460

    Re: Not seeing all my RAM

    I ran my script on my 4GB machine live-booted with a 32-bit Ubuntu, and here's the output:
    Code:
    ubuntu@ubuntu:~$ sudo python check-my-hardware-2.py 
    OK, you're root
    ANALYSIS:
    Total of physical memory modules found 4096 MB in 4 memory module(s)
    BIOS offers 4029 MB as usable
    Memory seen by OS 3465 MB
    BIOS version 10/22/2008
    CPU is PAE enabled
    CPU is x86_64 64-bit enabled
    OS is 32-bit without PAE
    ADVICE:
    You're running a 32-bit OS on a x86_64 CPU. Use a x86_84 64-bit OS to get access to more memory.
    Or, probably easier: Upgrade to the 32-bit kernel 'linux-generic-pae' to get acces to more memory.
    ubuntu@ubuntu:~$

    And note the last line: "Or, probably easier: Upgrade to the 32-bit kernel 'linux-generic-pae' to get acces to more memory."

Page 2 of 3 FirstFirst 123 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
  •