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]
Date:	Fri, 16 Oct 2015 09:12:02 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Jason Low <jason.low@....com>
Cc:	Jason Low <jason.low2@...com>,
	Peter Zijlstra <peterz@...radead.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	linux-kernel@...r.kernel.org, Oleg Nesterov <oleg@...hat.com>,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Davidlohr Bueso <dave@...olabs.net>,
	Steven Rostedt <rostedt@...dmis.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	George Spelvin <linux@...izon.com>, hideaki.kimura@....com,
	terry.rudd@....com, scott.norton@....com
Subject: Re: [PATCH v2 0/4] timer: Improve itimers scalability


* Jason Low <jason.low@....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?

Thanks,

	Ingo
--
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