mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jose R. Santos" <jrsantos@austin.ibm.com>
To: David Howells <dhowells@redhat.com>
Cc: "Jose R. Santos" <jrsantos@austin.ibm.com>,
	akpm@osdl.org, linux-kernel@vger.kernel.org, slprat@us.ibm.com
Subject: Re: [PATCH] Making i/dhash_entries cmdline work as it use to.
Date: Tue, 13 Jul 2004 08:17:15 -0500	[thread overview]
Message-ID: <20040713131715.GE9149@rx8.austin.ibm.com> (raw)
In-Reply-To: <2443.1089714553@redhat.com> (from dhowells@redhat.com on Tue, Jul 13, 2004 at 05:29:13 -0500)

On 07/13/04 05:29:13, David Howells wrote:
> 
> Jose R. Santos <jrsantos@austin.ibm.com> wrote:
> > Also, any particular reason why MAX_SYS_HASH_TABLE_ORDER was set to 14?
> > I am already seeing the need to go higher on my 64GB setup and was 
> > wondering if this could be bumped up to 19.
> 
> Yes. IBM did some testing and found that was about optimal. No significant
> gain was found with anything greater.

On a single setup.  What about people that want to use Linux on a 128way with
over a terabyte of memory.  Certainly ORDER 14 might be to small for them.

> > I'm sending a patch that get the cmdline options working as the did before
> > where the could override the kernel calculations and increases 
> > MAX_SYS_HASH_TABLE_ORDER to 19.  Only tested on PPC64 at the moment.
> 
> You need to be careful increasing the maximum order - you have to remember
> that this affects several tables (well, at least two at the moment), and so
> the effect is multiplied.

Only if I use the cmdline option.  With no command line arguments this allocate
the kernels sain calculated defaults.
 
> It may be reasonable to let the kernel cmdline override the maximum number of
> buckets calculated on the scaling factor provided to the function (effectively
> number of buckets per unit memory), but consider that the number of objects
> that can be allocated and linked into the table is in effect governed by such
> a factor.

It seems easier to specify a the number of buckets you want than specifying a 
scaling factor, which some people may have problems figuring out.

-JRS

      reply	other threads:[~2004-07-13 13:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-12 17:56 Jose R. Santos
2004-07-13  2:37 ` Jose R. Santos
2004-07-13  2:56   ` Jose R. Santos
2004-07-13  6:25   ` Dave Hansen
2004-07-13 12:59     ` Jose R. Santos
2004-07-13 12:33   ` David Howells
2004-07-13 12:54     ` Jose R. Santos
2004-07-13 10:29 ` David Howells
2004-07-13 13:17   ` Jose R. Santos [this message]

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=20040713131715.GE9149@rx8.austin.ibm.com \
    --to=jrsantos@austin.ibm.com \
    --cc=akpm@osdl.org \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=slprat@us.ibm.com \
    /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

all inboxes | Powered by JetHome®