On 1/18/2011 10:12 AM, Wietse Venema wrote:

alpha smoothing should do the trick, in this case we can start with

        t_0 = 0,

and set

        t_{n+1} = 0.95*t_{n} + 0.05*delta
There are many ways to arrive at a moving average.  Where do these
magic numbers come from?

        Wietse


how to simulate psc_cache_update function? so i can perform real write latency test on btree.
lookup test using postmap give me this result

# time postmap -q 66.163.168.134 btree:/var/lib/postfix/postscreen_cache
1;1295320805;1;1;1;0

real    0m0.005s
user    0m0.001s
sys     0m0.003s

this is  my disk iostats (iostat -x -d sda 1)
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.72 50.82 4.36 17.10 101.99 544.35 30.13 0.04 2.06 4.11 8.83

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 10.89 3.96 68.32 8.91 887.13 95.05 12.72 0.77 6.44 3.85 29.70

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 137.00 106.00 19.00 960.00 1256.00 17.73 0.81 8.70 4.49 56.10
----


TIA

Powered By http://www.3g-net.net

Reply via email to