linux system load

  • From: "biti_rainy" <biti_rainy@xxxxxxxxx>
  • To: "oracle-l" <oracle-l@xxxxxxxxxxxxx>
  • Date: Sat, 20 Nov 2004 16:20:06 +0800

hi,all


one  or two  days per week,sometimes the  run queue size is close to  20 , many 
 are  close to 1 or 2
but the load-1 is  always  close to 6
i  do  not  know  why, i check the OS  net/IO/ram/cpu load ,and  make  a  lot 
of statspack  report
all  sql  do  not  be slow, the  cpu_time/wait_time/Elapsd_time  are  not  
changed.

i am  vary puzzle.
i  want to  know what is the  formula of  load-1  and  load-5

i read the sar's  source  code  and  find that it  read the  /proc/LOADAVG
i do not  read the  linux  source  code


linux  redhat as2.1 
sar -q 3 2000
    rq size     proc     loda-1     load-5
        1   ,   399   ,   2.69   ,   2.78,
        1   ,   399   ,   2.69   ,   2.78,
        0   ,   399   ,   2.55   ,   2.75,
        4   ,   399   ,   2.35   ,   2.70,
        1   ,   399   ,   2.35   ,   2.70,
        1   ,   399   ,   2.32   ,   2.69,
        2   ,   399   ,   2.32   ,   2.69,
        1   ,   399   ,   2.37   ,   2.70,
        1   ,   399   ,   2.26   ,   2.67,
        0   ,   399   ,   2.26   ,   2.67,
        2   ,   399   ,   2.32   ,   2.67,
        1   ,   398   ,   2.32   ,   2.67,
        1   ,   398   ,   2.14   ,   2.63,
        0   ,   398   ,   2.12   ,   2.62,
        0   ,   398   ,   2.12   ,   2.62,
        0   ,   398   ,   2.27   ,   2.64,
        1   ,   398   ,   2.27   ,   2.64,
        1   ,   398   ,   2.57   ,   2.70,
        2   ,   398   ,   2.45   ,   2.67,
        0   ,   398   ,   2.45   ,   2.67,
        5   ,   398   ,   2.25   ,   2.62,
        0   ,   398   ,   2.25   ,   2.62,
        1   ,   398   ,   2.07   ,   2.58,
        1   ,   398   ,   1.90   ,   2.54,
        1   ,   398   ,   1.90   ,   2.54,
        0   ,   398   ,   1.75   ,   2.50,
        6   ,   398   ,   1.75   ,   2.50,
        0   ,   398   ,   2.01   ,   2.54,
        2   ,   398   ,   2.25   ,   2.58,
        0   ,   398   ,   2.25   ,   2.58,
        3   ,   398   ,   2.31   ,   2.58,
        1   ,   398   ,   2.31   ,   2.58,
        2   ,   398   ,   2.37   ,   2.59,
        1   ,   398   ,   2.26   ,   2.56,
        0   ,   398   ,   2.26   ,   2.56,
        3   ,   398   ,   2.48   ,   2.60,
        1   ,   398   ,   2.48   ,   2.60,
        0   ,   398   ,   2.36   ,   2.58,
        3   ,   398   ,   2.49   ,   2.60,
        0   ,   398   ,   2.49   ,   2.60,
        2   ,   398   ,   2.53   ,   2.61,
        2   ,   398   ,   2.53   ,   2.61,
        2   ,   398   ,   2.33   ,   2.56,
        1   ,   398   ,   2.14   ,   2.52,
        0   ,   398   ,   2.14   ,   2.52,
        2   ,   398   ,   2.05   ,   2.50,
        0   ,   398   ,   2.05   ,   2.50,
        1   ,   398   ,   1.96   ,   2.47,
        1   ,   398   ,   2.05   ,   2.48,
        3   ,   398   ,   2.05   ,   2.48,





 


  

Best regards
msn: biti_rainy@xxxxxxxxxxx
a dba from alibaba(china)


--
//www.freelists.org/webpage/oracle-l

Other related posts: