From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754444AbbJPSBV (ORCPT ); Fri, 16 Oct 2015 14:01:21 -0400 Received: from madara.hpl.hp.com ([204.123.10.143]:46108 "EHLO madara.hpl.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751681AbbJPSBT (ORCPT ); Fri, 16 Oct 2015 14:01:19 -0400 X-Greylist: delayed 795 seconds by postgrey-1.27 at vger.kernel.org; Fri, 16 Oct 2015 14:01:19 EDT Subject: Re: [PATCH v2 0/4] timer: Improve itimers scalability To: Jason Low , Ingo Molnar References: <1444849677-29330-1-git-send-email-jason.low2@hp.com> <20151015084702.GA16953@gmail.com> <1444935676.29506.15.camel@j-VirtualBox> <20151016071202.GA20129@gmail.com> <1445016853.2517.16.camel@j-VirtualBox> Cc: Jason Low , Peter Zijlstra , Thomas Gleixner , linux-kernel@vger.kernel.org, Oleg Nesterov , "Paul E. McKenney" , Frederic Weisbecker , Davidlohr Bueso , Steven Rostedt , Andrew Morton , George Spelvin , terry.rudd@hpe.com, scott.norton@hpe.com From: Hideaki Kimura Message-ID: <562137F6.6080905@hpe.com> Date: Fri, 16 Oct 2015 10:46:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1445016853.2517.16.camel@j-VirtualBox> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removing dependency to the database code is trivial. It's just 100 lines that launch lots of threads and do NUMA-aware memory accesses so that remote NUMA access cost does not affect the benchmark. It's just a bit tedious to convert the C++11 code into C/pthread. C++11 really spoiled me. Still, not much work. Let me know where to post the code. On 10/16/2015 10:34 AM, Jason Low wrote: >> 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 > -- Hideaki Kimura