[Asterisk-Users] zttool improvement: histogram

tmassey at obscorp.com tmassey at obscorp.com
Sun Oct 2 20:59:12 MST 2005


Hello!

A small suggestion for an improvement to zttest:  some sort of histogram 
to show a broader range of the results that are being returned.  For 
example, on a test machine I ran each of the following items in separate 
infinite loops at the same time:

ssh-keygen -b 8192 -t rsa -f /test.key
dd if=/dev/zero of=/test.file bs=1024k count=5000

while in a third console I ran zttest.

I did this twice each over several hours.  My results were encouraging: 
Best case was 100% (and from watching the output from time to time there 
were lots of those), average was 99.90% for one and 99.98% for the other, 
but the worst-case was troubling:  83% for one, and 68% for the other!

Of course, over several hours, there were tens of thousands of results, 
and even a single bad result will throw off the worst-case result.  Hence, 
the request for some sort of histogram:  something that would show how 
*many* results were way off, and by how far.  Something that would show 
the nature of the bell curve I would expect to get.

Of course, I could probably parse the raw output of the zttest command 
with something to plot this.  However, my unix-fu is not good enough to do 
that.  Does anyone have a suggestion?  Or would this be valuable to have 
in the zttest command internally?

Tim Massey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051002/9b11890e/attachment.htm


More information about the asterisk-users mailing list