[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian latency test



Reco, on 2019-08-16:
> On Fri, Aug 16, 2019 at 02:31:38PM +0200, danwe wrote:
> > is there any program to test the intern latency of Debian? So
> > I just need
> > to know how much time the Linux Kernel needs to response to a
> > request.
[...]
> bpftrace definitely can do it, but some learning is required.

Yes, I confirm that is a great tool!

The following page is a nice kick starter to begin to proceed to
measures and various data acquisition, teaching by example:

	https://github.com/iovisor/bpftrace/blob/master/docs/tutorial_one_liners.md

Just be careful with the injection of code at trace points or
kprobes: the more you inject code for your measure, the more the
targeted kernel operation will take time, thus slowing the
machine et providing you with underestimated results.

Have fun,  :)
-- 
Étienne Mollier <etienne.mollier@mailoo.org>
              5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: