Re: ring-buffer: Kernel threads cpu utilization.

From: Steven Rostedt
Date: Fri Jul 03 2009 - 09:06:17 EST



On Fri, 2009-07-03 at 11:36 +0530, Tej wrote:
> rb_producer and rb_comsumer, kernel thread uses lot of CPU (~100%)
> bandwidth every 10s.
>
> bisection results commit:
> [5092dbc96f3acdac5433b27c06860352dc6d23b9] ring-buffer: add benchmark and tester
> I have read commit logs:
> git log -r 5092dbc96f3acdac5433b27c06860352dc6d23b9
>
> Is it correct behavior for these thread to consume this much cpu
> bandwidth even if someone selects rb benchmarks config options?

Yes, that's a benchmark module, not something to be running on a
production system. It consumes a lot of CPU time, because it is running
a constant benchmark, and tests.

-- Steve


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