All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: thockin@sun.com
Cc: "Ogden, Aaron A." <aogden@unocal.com>,
	autofs@linux.kernel.org, Ian Kent <raven@themaw.net>
Subject: Re: RE: autofs scalability
Date: Thu, 04 Dec 2003 15:09:15 -0800	[thread overview]
Message-ID: <3FCFBE9B.6080807@zytor.com> (raw)
In-Reply-To: <20031204223733.GJ10772@sun.com>

Tim Hockin wrote:
> 
> You either allocate 2^20 bits for every user, or you allocate it as needed
> (and handle alloc failures when they are least expected) or you sysctl it
> and let the admin decide early on whether she wants to allow large numbers
> of pseudo-devs.
> 

I can't imagine that these are allocated left and center... it should
pretty much be mount and nothing else.  So yes, it's some more
complexity but not really significant.

2^20 bits = 128K, which falls in the "it's a bit on the expensive side,
but doable" class.

Fixed limits suck.  And yes, I'm also guilty of having put them in in
the past.  They still suck.

	-hpa

  reply	other threads:[~2003-12-04 23:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 19:19 autofs scalability Ogden, Aaron A.
2003-12-03 19:43 ` Tim Hockin
2003-12-04  1:37   ` Ian Kent
2003-12-04 19:12     ` Tim Hockin
2003-12-04 20:04       ` H. Peter Anvin
2003-12-04 22:37         ` Tim Hockin
2003-12-04 23:09           ` H. Peter Anvin [this message]
2003-12-04 23:12             ` Tim Hockin
2003-12-03 20:01 ` Mike Waychison
2003-12-04  1:35 ` Ian Kent

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=3FCFBE9B.6080807@zytor.com \
    --to=hpa@zytor.com \
    --cc=aogden@unocal.com \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    --cc=thockin@sun.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.