linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: "Martin J. Bligh" <Martin.Bligh@us.ibm.com>
Cc: lse-tech@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: 10.31 second kernel compile
Date: Thu, 14 Mar 2002 22:27:26 +1100	[thread overview]
Message-ID: <20020314112725.GA2008@krispykreme> (raw)
In-Reply-To: <20020313085217.GA11658@krispykreme> <460695164.1016001894@[10.10.2.3]>
In-Reply-To: <460695164.1016001894@[10.10.2.3]>

 
> Wow! Is this box NUMA (what latency ratio, mem access speeds, etc?), or
> can you really build a straight SMP that big?

The system has two cpus on a chip sharing a l2 cache, 4 of these chips
built into a multichip module and up to 4 of these modules connected
together. The l3 and memory is distributed amongst the modules.

As you can imagine there is a hierarchy of latencies but the ratio is
quite low.

> OK, now I'm going to have to build a bigger system ;-)

I've got 8 more cpus in store too :)

> I have some strange plans for the lru stuff, but it'll take me a while.
> I'm curious as to why lru_cache_del is so much lower in your list than
> add, whereas the ratio for me is about:
> 
>    719 lru_cache_add                              7.8152
>    477 lru_cache_del                             21.6818

Not sure about that.

> >   6714 .local_flush_tlb_range                  ppc64 specific
> >   2773 .local_flush_tlb_page                   ppc64 specific
> 
> Do you know what's causing the tlb flushes? Just context switches?

Thats due to the way we manipulate the ppc hashed page table. Every
time we update the linux page tables we have to update the hashed
page table. There are some obvious optimisations we need to make,
hopefully then this will go away. The tlb flushes here are probably
process exits and things like COW faults.

> >    554 .d_lookup                               
> 
> Did you try the dcache patches?

Not for this, I did do some benchmarking of the RCU dcache patches a
while ago which I should post.

> Can you publish lockmeter stats?

I didnt get a chance to run lockmeter, I tend to use the kernel profiler
and use a hacked readprofile (originally from tridge) that displays
profile hits vs assembly instruction. Thats usually good enough to work
out which spinlocks are a problem.

Anton

  parent reply	other threads:[~2002-03-14 12:52 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13  8:52 10.31 second kernel compile Anton Blanchard
2002-03-13 14:44 ` Martin J. Bligh
2002-03-13 21:44   ` [Lse-tech] " Dave Hansen
2002-03-14  1:07     ` Keith Owens
2002-03-14 11:27   ` Anton Blanchard [this message]
2002-03-14 13:16     ` Dipankar Sarma
2002-03-17 13:12       ` some RCU dcache and ratcache results Anton Blanchard
2002-03-14 13:21     ` [Lse-tech] Re: 10.31 second kernel compile Momchil Velikov
2002-03-14 18:33       ` Daniel Phillips
2002-03-15 12:16         ` Chris Wedgwood
2002-03-16  5:12           ` Anton Blanchard
2002-03-15 18:20         ` Linus Torvalds
2002-03-16 15:24           ` Daniel Phillips
2002-03-16 19:01             ` Linus Torvalds
2002-03-16 22:25               ` Daniel Phillips
2002-03-19 16:35                 ` Bill Davidsen
2002-03-18  3:07           ` David S. Miller
2002-03-16 11:55         ` Paul Mackerras
2002-03-16 17:25           ` Rik van Riel
2002-03-16 17:57           ` yodaiken
2002-03-16 18:06           ` Linus Torvalds
2002-03-16 18:35             ` yodaiken
2002-03-16 18:45               ` Linus Torvalds
2002-03-16 18:57                 ` yodaiken
2002-03-16 19:16                   ` Linus Torvalds
2002-03-16 19:53                     ` yodaiken
2002-03-16 20:02                       ` Linus Torvalds
2002-03-16 20:25                         ` yodaiken
2002-03-27  1:07                     ` Richard Henderson
2002-03-16 19:43                   ` David Mosberger
2002-03-16 19:58                     ` Linus Torvalds
2002-03-16 20:08                       ` yodaiken
2002-03-16 20:23                         ` Linus Torvalds
2002-03-16 20:36                     ` David Mosberger
2002-03-16 20:46                       ` Linus Torvalds
2002-03-17  1:09                       ` Paul Mackerras
2002-03-17  2:08                         ` Linus Torvalds
2002-03-16 20:53             ` Alan Cox
2002-03-14 19:05       ` Linus Torvalds
2002-03-19 16:40         ` Bill Davidsen
2002-03-14 18:21   ` Hanna Linder
2002-03-16  5:27     ` Anton Blanchard
2002-03-15  7:12   ` Chris Wedgwood
2002-03-16  6:15 ` 7.52 " Anton Blanchard
2002-03-16  6:42   ` [Lse-tech] " Gerrit Huizenga
2002-03-17 12:34     ` Anton Blanchard
2002-03-17 22:09       ` Theodore Tso
2002-03-18  7:04         ` Jeff Garzik
2002-03-19 18:28           ` Theodore Tso
2002-03-16  8:05   ` Linus Torvalds
2002-03-16 11:54     ` yodaiken
2002-03-16 11:04   ` Paul Mackerras
2002-03-16 18:32     ` Linus Torvalds
2002-03-17  2:00     ` Paul Mackerras
2002-03-17  2:40       ` Linus Torvalds
2002-03-17  2:50         ` M. Edward Borasky
2002-03-18 15:08           ` 0.73 " snpe
2002-03-18 19:42       ` 7.52 " Cort Dougan
2002-03-18 20:04         ` Linus Torvalds
2002-03-18 20:23           ` Linus Torvalds
2002-03-18 21:50             ` Rene Herman
2002-03-18 22:36             ` Cort Dougan
2002-03-18 22:47               ` Linus Torvalds
2002-03-18 22:56                 ` Cort Dougan
2002-03-18 23:52                 ` Paul Mackerras
2002-03-19  0:57                   ` Dave Jones
2002-03-19  3:35                     ` Jeff Garzik
2002-03-19  0:22                 ` David S. Miller
2002-03-19  0:27                   ` Cort Dougan
2002-03-19  0:27                     ` David S. Miller
2002-03-19  0:36                       ` Cort Dougan
2002-03-19  0:38                         ` David S. Miller
2002-03-19  1:28                           ` Davide Libenzi
2002-03-19  2:42             ` Paul Mackerras
2002-03-27  2:53             ` Richard Henderson
2002-04-02  4:32               ` Linus Torvalds
2002-04-02 10:50             ` Pablo Alcaraz
2002-03-18 21:34           ` Cort Dougan
2002-03-18 22:00             ` Linus Torvalds
2002-03-18 19:37     ` Cort Dougan
2002-03-16 17:37   ` [Lse-tech] " Martin J. Bligh
2002-03-17  1:45     ` Keith Owens
2002-03-17 13:54     ` David Woodhouse
2002-03-19 16:49     ` Bill Davidsen
2002-03-16 18:57   ` Daniel Egger
2002-03-17  8:18     ` Mike Galbraith
2002-03-17 15:29       ` Martin J. Bligh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020314112725.GA2008@krispykreme \
    --to=anton@samba.org \
    --cc=Martin.Bligh@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lse-tech@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).