lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <533A7357.6080708@hitachi.com>
Date:	Tue, 01 Apr 2014 17:05:43 +0900
From:	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
To:	Jovi Zhangwei <jovi.zhangwei@...il.com>
Cc:	Ingo Molnar <mingo@...hat.com>,
	Steven Rostedt <rostedt@...dmis.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Frederic Weisbecker <fweisbec@...il.com>
Subject: Re: [PATCH 14/28] ktap: add runtime/kp_events.[c|h]

(2014/04/01 16:28), Jovi Zhangwei wrote:

>>>>> Note:
>>>>> Why ktap support 'kdebug.kprobe' and 'kdebug.tracepoint' when
>>>>> it already support perf backend event(trace xxx {})?
>>>>>
>>>>> Because benchmark shows raw kprobe and tracpoint interface is faster
>>>>> than perf backed tracing, nearly 10+%, it's more fair to compare
>>>>> with Systemtap by raw tracing syntax, not perf backend tracing.
>>>>>
>>>>
>>>> Do we really need it just for a +10% performance? I doubt that.
>>>> I think the benefit point of ktap is "dynamic & simple programmable
>>>> tracer in kernel", not the good performance at least at this point.
>>>> Thus I think we should start ktap only with perf backend.
>>>>
>>> Yeah, agreed, most people like the perf-backed tracing syntax,
>>> that raw trace interface is just for benchmark when I wanted to look
>>> overhead compare with stap, the result is very inspiring, ktap table
>>> operation overhead is lower than stap.
>>>
>>> On the performance overhead of dynamic tracing tools(ktap/stap/dtrace),
>>> it's interesting enough that dtrace was used in production many year,
>>> _but_ IMO the runtime of dtrace is slow after I checked dtrace source
>>> code :),  system workload does big matter than tracing tool overhead.
>>
>> Yeah, I see that less overhead is also required especially for enterprise
>> people. I just doubt that it is solved by ktap itself. Should we improve
>> perf(or ftrace) to export more effective interfaces for this kind of
>> tracers?
>>
> Yes, I also think it would be better to improve perf/ftrace unified callback
> overhead, not to let each tracer(stap/ktap/lttng) develop its own raw
> trace callback for performance reason.
> 
> Those raw trace interfaces(only designed for benchmark) will be remove
> in next version, if we think it's worth to continue.

Of course, I think ktap scripting flexibility should be merged to upstream :)
I just surprised that the size of this series. If you reform this series
for incremental build (this means that we can do git-bisect on this series),
I think that will be much easier to test and review.

Thank you,

-- 
Masami HIRAMATSU
IT Management Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@...achi.com


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ