[PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-20 Thread Joel Fernandes
If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into multiple zones depending on the number of CPUs. This speeds up the performance of function tracing by about 280% in my tests as we avoid the locking. The trade off being lesser space available per CPU. Let the ramoops user

[PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-20 Thread Joel Fernandes
If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into multiple zones depending on the number of CPUs. This speeds up the performance of function tracing by about 280% in my tests as we avoid the locking. The trade off being lesser space available per CPU. Let the ramoops user

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-18 Thread Kees Cook
On Sun, Oct 16, 2016 at 10:40 AM, Joel Fernandes wrote: > Hi Kees, > > On Mon, Oct 10, 2016 at 4:59 PM, Kees Cook wrote: >> On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: >>> On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-18 Thread Kees Cook
On Sun, Oct 16, 2016 at 10:40 AM, Joel Fernandes wrote: > Hi Kees, > > On Mon, Oct 10, 2016 at 4:59 PM, Kees Cook wrote: >> On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: >>> On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: If FTRACE_PER_CPU flag is passed to ramoops pdata,

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-16 Thread Joel Fernandes
Hi Kees, On Mon, Oct 10, 2016 at 4:59 PM, Kees Cook wrote: > On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: >> On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: >>> If FTRACE_PER_CPU flag is passed to ramoops pdata,

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-16 Thread Joel Fernandes
Hi Kees, On Mon, Oct 10, 2016 at 4:59 PM, Kees Cook wrote: > On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: >> On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: >>> If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into >>> multiple zones depending on the number

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-10 Thread Kees Cook
On Mon, Oct 10, 2016 at 4:59 PM, Kees Cook wrote: > On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: >> On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: >>> If FTRACE_PER_CPU flag is passed to ramoops pdata, split the

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-10 Thread Kees Cook
On Mon, Oct 10, 2016 at 4:59 PM, Kees Cook wrote: > On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: >> On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: >>> If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into >>> multiple zones depending on the number of CPUs.

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-10 Thread Kees Cook
On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: > On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: >> If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into >> multiple zones depending on the number of CPUs. >> >> This speeds up

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-10 Thread Kees Cook
On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: > On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: >> If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into >> multiple zones depending on the number of CPUs. >> >> This speeds up the performance of function tracing

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-09 Thread Joel Fernandes
On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: > If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into > multiple zones depending on the number of CPUs. > > This speeds up the performance of function tracing by about 280% in my tests > as > we avoid

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-09 Thread Joel Fernandes
On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: > If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into > multiple zones depending on the number of CPUs. > > This speeds up the performance of function tracing by about 280% in my tests > as > we avoid the locking. The

[PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-07 Thread Joel Fernandes
If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into multiple zones depending on the number of CPUs. This speeds up the performance of function tracing by about 280% in my tests as we avoid the locking. The trade off being lesser space available per CPU. Let the ramoops user

[PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-07 Thread Joel Fernandes
If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into multiple zones depending on the number of CPUs. This speeds up the performance of function tracing by about 280% in my tests as we avoid the locking. The trade off being lesser space available per CPU. Let the ramoops user