From mboxrd@z Thu Jan 1 00:00:00 1970 From: rolf.freitag@email.de Subject: RE: Variance, Standard Deviation, Skewness and Kurtosis for cyclictest results? Date: Mon, 26 Jun 2017 19:12:54 +0200 Message-ID: References: <20170626143035.kir3ym6so6yifrza@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT To: linux-rt-users@vger.kernel.org Return-path: Received: from mout.web.de ([217.72.192.78]:57453 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751697AbdFZRM4 (ORCPT ); Mon, 26 Jun 2017 13:12:56 -0400 In-Reply-To: Sender: linux-rt-users-owner@vger.kernel.org List-ID: Hi, yes, at voltages the mean is the DC part, the standard deviation is the AC part and usually no one asks for the peak values. And these values (mean, stddev.) can also be used to characterize soft real-time behavior. Regards, Rolf   >Gesendet: Montag, 26. Juni 2017 um 17:59 Uhr >Von: "Piotr Gregor" >An: "Sebastian Andrzej Siewior" , "rolf.freitag@email.de" >Cc: "r t" >Betreff: RE: Variance, Standard Deviation, Skewness and Kurtosis for cyclictest results? >Hi Sebastian, > >I think Rolf understands that but he is simply interested in deviation anyway. >I can agree deviation gives some more insight into nature of latency observed even if it is clear >then max peak is what determines real-timeness of the setup. One may be interested in distribution >of latency - you may have two setups with same average and max peak while there is much less >meaningful peaks on one than on the other. > >cheers, >Piotr > >-----Original Message----- >From: linux-rt-users-owner@vger.kernel.org [mailto:linux-rt-users-owner@vger.kernel.org] On Behalf Of Sebastian Andrzej Siewior >Sent: 26 June 2017 15:31 >To: rolf.freitag@email.de >Cc: r t >Subject: Re: Variance, Standard Deviation, Skewness and Kurtosis for cyclictest results? > >On 2017-06-24 00:38:49 [+0200], rolf.freitag@email.de wrote: >> Hi, >Hi, > >> many programs, e. g. ping also print the standard deviation of the measured times, so i would like get the standard deviation(s) also from cyclictest. >> It's easy to also calculate Variance, Skewness and Kurtosis in the >> same pass: https://www.johndcook.com/blog/skewness_kurtosis/ >> Has someone planned to implement this in cyclictest? > >cyclictest prints min/avg/max. min and avg are nice to look at. The important part is the max value. If you have avg at 30us and max at 500us then you know, that you can't meet your deadline for a cycle of 400us. > >> Regards, >> >> Rolf > >Sebastian >-- >To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html[http://vger.kernel.org/majordomo->info.html]