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]
Message-ID: <20090910073317.GP18599@kernel.dk>
Date:	Thu, 10 Sep 2009 09:33:17 +0200
From:	Jens Axboe <jens.axboe@...cle.com>
To:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc:	Mike Galbraith <efault@....de>, Ingo Molnar <mingo@...e.hu>,
	Con Kolivas <kernel@...ivas.org>, linux-kernel@...r.kernel.org
Subject: Re: BFS vs. mainline scheduler benchmarks and measurements

On Thu, Sep 10 2009, Jens Axboe wrote:
> On Thu, Sep 10 2009, Peter Zijlstra wrote:
> > On Wed, 2009-09-09 at 14:20 +0200, Jens Axboe wrote:
> > > 
> > > One thing I also noticed is that when I have logged in, I run xmodmap
> > > manually to load some keymappings (I always tell myself to add this to
> > > the log in scripts, but I suspend/resume this laptop for weeks at the
> > > time and forget before the next boot). With the stock kernel, xmodmap
> > > will halt X updates and take forever to run. With BFS, it returned
> > > instantly. As I would expect.
> > 
> > Can you provide a little more detail (I'm a xmodmap n00b), how does one
> > run xmodmap and maybe provide your xmodmap config?
> 
> Will do, let me get the notebook and strace time it on both bfs and
> mainline.

Here's the result of running perf stat xmodmap .xmodmap-carl on the
notebook. I have attached the .xmodmap-carl file, it's pretty simple. I
have also attached the output of strace -o foo -f -tt xmodmap
.xmodmap-carl when run on 2.6.31-rc9.

2.6.31-rc9-bfs210

 Performance counter stats for 'xmodmap .xmodmap-carl':

     153.994976  task-clock-msecs         #      0.990 CPUs   (scaled from 99.86%)
              0  context-switches         #      0.000 M/sec  (scaled from 99.86%)
              0  CPU-migrations           #      0.000 M/sec  (scaled from 99.86%)
            315  page-faults              #      0.002 M/sec  (scaled from 99.86%)
  <not counted>  cycles                  
  <not counted>  instructions            
  <not counted>  cache-references        
  <not counted>  cache-misses            

    0.155573406  seconds time elapsed

2.6.31-rc9

 Performance counter stats for 'xmodmap .xmodmap-carl':

       8.529265  task-clock-msecs         #      0.001 CPUs 
             23  context-switches         #      0.003 M/sec
              1  CPU-migrations           #      0.000 M/sec
            315  page-faults              #      0.037 M/sec
  <not counted>  cycles                  
  <not counted>  instructions            
  <not counted>  cache-references        
  <not counted>  cache-misses            

   11.804293482  seconds time elapsed


-- 
Jens Axboe


View attachment ".xmodmap-carl" of type "text/plain" (1365 bytes)

View attachment "strace-xmodmap.txt" of type "text/plain" (20481 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ