Results 1 to 6 of 6

Thread: How are so many resources used on my box?

  1. #1

    Default How are so many resources used on my box?

    I have a OpenSuSE 11.1 box that is running mysql and apache. My database is only about a megabyte in size and I only have a few users per day on my site.

    How is it that with 8GB of RAM over 5GB is being used?


  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: How are so many resources used on my box?

    But 3.4 is in the buffer
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How are so many resources used on my box?

    abacabb wrote:
    > How is it that with 8GB of RAM over 5GB is being used?


    Linux programmers think that RAM not being used is a waste of
    resources....some other operating system programmers are taught to
    dump stuff out of memory as fast as they can...linux dumps it when the
    space is needed for something new..

    this machine has been running about 10.24 hours with one user (and
    background stuff) and right not the RAM is 97.8% used...which fine
    with me because anytime the system needs something that IS in RAM it
    won't have to hit the MUCH slower hard drive..

    there are probably fifty threads in these fora on how Linux and other
    systems use RAM differently....so, if you don't believe me, read
    around.. ;-)

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  4. #4
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: How are so many resources used on my box?

    In buffers there are only 0.34GB.

    Linux doesn't like to leave large amounts of memory unused and so-called "wasted". Your programs and data will only occupy a relatively small percentage of the ram. The stat for "cached" memory, here 4.54GB, includes large pages that have been accessed maybe only once from browsing, and data file access for example. If the pages are required again, the cached memory access is much faster than disk access, to improve your overall performance. When your running programs/tasks demand more ram, cached memory will be released to accommodate that.

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: How are so many resources used on my box?

    Quote Originally Posted by consused View Post
    In buffers there are only 0.34GB.

    Linux doesn't like to leave large amounts of memory unused and so-called "wasted". Your programs and data will only occupy a relatively small percentage of the ram. The stat for "cached" memory, here 4.54GB, includes large pages that have been accessed maybe only once from browsing, and data file access for example. If the pages are required again, the cached memory access is much faster than disk access, to improve your overall performance. When your running programs/tasks demand more ram, cached memory will be released to accommodate that.
    Dude
    Thanks for putting me right.
    I don't know what I was on. When I typed it I thought twice.
    You are perfectly correct and it's blatantly obvious to me now I look again on return from my tea.
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How are so many resources used on my box?

    On 2010-11-02 17:36, abacabb wrote:
    >
    > I have a OpenSuSE 11.1 box that is running mysql and apache. My database
    > is only about a megabyte in size and I only have a few users per day on
    > my site.
    >
    > How is it that with 8GB of RAM over 5GB is being used?


    Only? >:-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Posting Permissions

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