Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1249021
| From | Jason Low <jason.low@hpe.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/4] timer: Improve itimers scalability |
| Date | 2015-10-16 19:40 +0200 |
| Message-ID | <qkh90-4PP-13@gated-at.bofh.it> (permalink) |
| References | <qjzAZ-7Ge-5@gated-at.bofh.it> <qjMox-1d8-17@gated-at.bofh.it> <qjW4y-7c7-17@gated-at.bofh.it> <qk7t1-7sj-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 2015-10-16 at 09:12 +0200, Ingo Molnar wrote: > * Jason Low <jason.low@hpe.com> wrote: > > > > > With this patch set (along with commit 1018016c706f mentioned above), > > > > the performance hit of itimers almost completely goes away on the > > > > 16 socket system. > > > > > > > > Jason Low (4): > > > > timer: Optimize fastpath_timer_check() > > > > timer: Check thread timers only when there are active thread timers > > > > timer: Convert cputimer->running to bool > > > > timer: Reduce unnecessary sighand lock contention > > > > > > > > include/linux/init_task.h | 3 +- > > > > include/linux/sched.h | 9 ++++-- > > > > kernel/fork.c | 2 +- > > > > kernel/time/posix-cpu-timers.c | 63 ++++++++++++++++++++++++++++----------- > > > > 4 files changed, 54 insertions(+), 23 deletions(-) > > > > > > Is there some itimers benchmark that can be used to measure the effects of these > > > changes? > > > > Yes, we also wrote a micro benchmark which generates cache misses and measures > > the average cost of each cache miss (with itimers enabled). We used this while > > writing and testing patches, since it takes a bit longer to set up and run the > > database. > > Mind posting it, so that people can stick it into a new 'perf bench timer' > subcommand, and/or reproduce your results with it? Yes, sure. At the moment, this micro benchmark is written in C++ and integrated with the database code. We can look into rewriting it into a more general program so that it can be included in perf. Thanks, Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/4] timer: Improve itimers scalability Jason Low <jason.low2@hp.com> - 2015-10-14 21:10 +0200
[PATCH v2 3/4] timer: Convert cputimer->running to bool Jason Low <jason.low2@hp.com> - 2015-10-14 21:10 +0200
[tip:timers/core] posix_cpu_timer: Convert cputimer-> running to bool tip-bot for Jason Low <tipbot@zytor.com> - 2015-10-15 11:30 +0200
Re: [PATCH v2 0/4] timer: Improve itimers scalability "George Spelvin" <linux@horizon.com> - 2015-10-14 23:20 +0200
Re: [PATCH v2 0/4] timer: Improve itimers scalability Frederic Weisbecker <fweisbec@gmail.com> - 2015-10-15 14:40 +0200
Re: [PATCH v2 0/4] timer: Improve itimers scalability Jason Low <jason.low@hpe.com> - 2015-10-15 21:10 +0200
Re: [PATCH v2 0/4] timer: Improve itimers scalability Ingo Molnar <mingo@kernel.org> - 2015-10-15 10:50 +0200
Re: [PATCH v2 0/4] timer: Improve itimers scalability Jason Low <jason.low@hpe.com> - 2015-10-15 21:10 +0200
Re: [PATCH v2 0/4] timer: Improve itimers scalability Ingo Molnar <mingo@kernel.org> - 2015-10-16 09:20 +0200
Re: [PATCH v2 0/4] timer: Improve itimers scalability Jason Low <jason.low@hpe.com> - 2015-10-16 19:40 +0200
Re: [PATCH v2 0/4] timer: Improve itimers scalability Hideaki Kimura <hideaki.kimura@hpe.com> - 2015-10-16 20:10 +0200
csiph-web