Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I had the opportunity to load Arch Linux/Gnome on a 32bit box and was surprised at the memory usage...With Gnome up and running and the system monitor open...I was ...
  1. #1
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714

    32bit vs 64bit Distro

    Hi,

    I had the opportunity to load Arch Linux/Gnome on a 32bit box and was surprised at the memory usage...With Gnome up and running and the system monitor open...I was getting a reading of 118MB. Now this is low especially when you consider on my Arch Linux/Gnome 64bit box I get a reading of 188Mb with Gnome running and the system monitor open...Why the discrepancy? The best I can figure:
    1. Memory pointers are now 8 bytes instead of 4 bytes.
    2. Memory alignment/padding may be out to 8 bytes in some circumstances.
    These two reasons may be enough for the higher readings on the 64bit box.

    Has anyone else noticed this phenomenon..
    Make mine Arch Linux

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    Does arch linux use precompiled binaries, like Yum or Apt? or do you compile stuff for your system like Portage?

    are you using the same system? or are there differences in physical ram between the boxes?
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,955
    All addressses are 64-bits in size, including function addresses, etc. This will make a big difference in memory footprint as far as the basic OS and UI is concerned, and that is probably what is causing the difference in memory usage between the 32-bit and 64-bit versions of the same OS. Compiler options are also important, but I think not the likely cause that you see here. A lot has to do also with what services are running. I know that when I run Windows XP in a non-VM environment, it takes at least 200MB to run in 32-bit mode, usually more. Shutting down unnecessary services helps, in any system case.

    One other thing to consider is that how you measure system memory usage also matters. Tools such as 'top' and 'free' show how much memory is utilized, but a lot of that is buffer/cache data that the OS holds onto in order to speed performance (accessing data and starting applications) but are not really part of the resident set size of the system at that time. My general experience is that a Linux desktop running the same number and types of services and applications as Windows takes a bit less, and sometimes a lot less, memory than Windows.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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