<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    honzeland

    記錄點滴。。。

    常用鏈接

    統計

    Famous Websites

    Java

    Linux

    P2P

    最新評論

    RAM percentage utilised in Linux

    --zz: http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230261484567+28353475&threadId=1213960

    Question:
    We are planning to calculate the percentage of physical memory utilised as below:

    System Page Size: 4Kbytes
    Memory: 5343128K (1562428K) real, 13632356K (3504760K) virtual, 66088K free Page# 1/604

    Now the formula goes as below:

    (free memory / actual active real memory) * 100
    (66088/1562428) * 100 = 4.22 %

    Please let us know if its the correct formula .

    Mainly we are interested in RAM percentage utilised

    Reply 1:
    Red Hat/Centos v 5 take spare ram and use it for a buffer cache.

    100% memory allocation is pretty meaningless because allocation is almost always near 100%. The 2.6.x kernel permits rapid re-allocation of buffer to other purposes eliminating a performance penalty that you see on an OS like HP-UX

    I'm not thrilled with your formula because it includes swap(virtual memory). If you start digging too deep into virtual memory, your system start paging processes from memory to disk and back again and slows down badly.

    The formula is however essentially correct.

    Reply 2:
    Here, a quick example from the machine under my desk:
    Mem:   3849216k total,  3648280k used,   200936k free,   210960k buffers
    Swap:  4194296k total,       64k used,  4194232k free,  2986460k cached

    If the value of 'Swap used' is up (i.e. hundreds of megabytes), then you've got an issue, but as you can see, it's only 64k here.
    Your formula for how much memory is used is something along the lines of this:

    (Used - (Buffers + Cached) / Total) * 100 = Used-by-programs%
    (Free + Buffers + Cached / Total) * 100 = Free%

    .. Roughly ..



    posted on 2008-12-26 12:08 honzeland 閱讀(271) 評論(0)  編輯  收藏 所屬分類: Linux

    主站蜘蛛池模板: 亚洲人成免费网站| 无码av免费网站| 久久精品亚洲男人的天堂| 亚洲第一成人在线| 国产精品成人免费福利| 在线a毛片免费视频观看| 亚洲福利一区二区精品秒拍| 日本xxxx色视频在线观看免费| 亚洲精品字幕在线观看| 亚洲免费视频一区二区三区| 红杏亚洲影院一区二区三区| eeuss免费影院| 亚洲爆乳无码一区二区三区| 无码一区二区三区免费| 亚洲成AV人片久久| 岛国av无码免费无禁网站| 亚洲欧洲国产精品香蕉网| 免费看成人AA片无码视频吃奶| 亚洲AV综合色一区二区三区| 日韩免费无码视频一区二区三区| 亚洲综合一区二区精品久久| 日本亚洲免费无线码| 亚洲AV色欲色欲WWW| 亚洲国产免费综合| 在线观看免费播放av片| 亚洲精品福利网站| 永久免费bbbbbb视频| 一个人免费观看视频在线中文| 亚洲一区爱区精品无码| 1000部啪啪未满十八勿入免费| 中文字幕亚洲精品无码| 亚洲精品WWW久久久久久| 日韩成人免费视频| 国产.亚洲.欧洲在线| 亚洲色偷偷狠狠综合网| 嫩草成人永久免费观看| 最新亚洲春色Av无码专区| 国产AV无码专区亚洲AWWW| 亚洲国产中文字幕在线观看| 国产午夜免费高清久久影院| 激情内射亚洲一区二区三区爱妻|