* How to get the average/max process scheduling latency
@ 2014-06-16 16:23 Teto
2014-06-19 20:16 ` Valdis.Kletnieks at vt.edu
0 siblings, 1 reply; 4+ messages in thread
From: Teto @ 2014-06-16 16:23 UTC (permalink / raw)
To: kernelnewbies
Hi,
I would like to retrieve the average latency between 2 schedulings of
an application. The purpose is to model the service time of the
application (ie. How fast it can empty the TCP buffer).
I could not find an answer yet. I've found that on latest kernel
latency is on average around 3us with a max at 64us (I consider a
moderate load). Is that correct ?
Regards
Matt
^ permalink raw reply [flat|nested] 4+ messages in thread
* How to get the average/max process scheduling latency
2014-06-16 16:23 How to get the average/max process scheduling latency Teto
@ 2014-06-19 20:16 ` Valdis.Kletnieks at vt.edu
2014-06-20 13:36 ` Teto
0 siblings, 1 reply; 4+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-06-19 20:16 UTC (permalink / raw)
To: kernelnewbies
On Mon, 16 Jun 2014 18:23:56 +0200, Teto said:
> I could not find an answer yet. I've found that on latest kernel
> latency is on average around 3us with a max at 64us (I consider a
> moderate load). Is that correct ?
Depends on your hardware and system load. I'd hardly expect the same numbers
from a busy Beaglebone or Raspberry Pi as from a idle high-end Intel i7 system....
(And things like processors that drop into sleep states when idle, with
a latency hit to wake up, just add to the confusion....)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140619/64ad0214/attachment.bin
^ permalink raw reply [flat|nested] 4+ messages in thread
* How to get the average/max process scheduling latency
2014-06-19 20:16 ` Valdis.Kletnieks at vt.edu
@ 2014-06-20 13:36 ` Teto
2014-06-20 18:12 ` Valdis.Kletnieks at vt.edu
0 siblings, 1 reply; 4+ messages in thread
From: Teto @ 2014-06-20 13:36 UTC (permalink / raw)
To: kernelnewbies
Thanks for the answer.
Do you know any tool/software to retrieve the average latency for a
specific program on a specific platform. This is to modelize the
application rate for data processing.
2014-06-19 22:16 GMT+02:00 <Valdis.Kletnieks@vt.edu>:
> On Mon, 16 Jun 2014 18:23:56 +0200, Teto said:
>
>> I could not find an answer yet. I've found that on latest kernel
>> latency is on average around 3us with a max at 64us (I consider a
>> moderate load). Is that correct ?
>
> Depends on your hardware and system load. I'd hardly expect the same numbers
> from a busy Beaglebone or Raspberry Pi as from a idle high-end Intel i7 system....
>
> (And things like processors that drop into sleep states when idle, with
> a latency hit to wake up, just add to the confusion....)
^ permalink raw reply [flat|nested] 4+ messages in thread
* How to get the average/max process scheduling latency
2014-06-20 13:36 ` Teto
@ 2014-06-20 18:12 ` Valdis.Kletnieks at vt.edu
0 siblings, 0 replies; 4+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-06-20 18:12 UTC (permalink / raw)
To: kernelnewbies
On Fri, 20 Jun 2014 15:36:47 +0200, Teto said:
> Do you know any tool/software to retrieve the average latency for a
> specific program on a specific platform. This is to modelize the
> application rate for data processing.
You need to add "while running under a specific application load", because
latencies can be different if you're under high enough load to keep the CPU
running at high clock rate, versus if it's dropping to a low clock rate and
then into a sleep state....
The 'latencytop' utility may help here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140620/23daa1f4/attachment.bin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-20 18:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 16:23 How to get the average/max process scheduling latency Teto
2014-06-19 20:16 ` Valdis.Kletnieks at vt.edu
2014-06-20 13:36 ` Teto
2014-06-20 18:12 ` Valdis.Kletnieks at vt.edu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).