[8351] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: SD_EXTRA_DEVS (was Problem)

daemon@ATHENA.MIT.EDU (Kurt Garloff)
Fri Mar 10 05:04:33 2000

Date:   Fri, 10 Mar 2000 11:00:45 +0100
From: Kurt Garloff <garloff@suse.de>
To: sjbuller@us.ibm.com
Cc: linux-scsi@vger.rutgers.edu
Message-ID: <20000310110045.L15075@mobil.tue.nl>
Mail-Followup-To: sjbuller@us.ibm.com, linux-scsi@vger.rutgers.edu
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
	protocol="application/pgp-signature"; boundary="R8CP7fzfAHpwDIZp"
In-Reply-To: <8725689D.006576BA.00@d53mta02h.boulder.ibm.com>; from sjbuller@us.ibm.com on Thu, Mar 09, 2000 at 11:28:13AM -0700


--R8CP7fzfAHpwDIZp
Content-Type: text/plain; charset=us-ascii

On Thu, Mar 09, 2000 at 11:28:13AM -0700, sjbuller@us.ibm.com wrote:
> To get to a "Linux for the masses" situation, its gotta work out of box.
> As releases "fix" things like SD_EXTRA_DEVS, the straight-jacket starts to
> fit a little more comfortably.

We are considering our installation support to be very important and see
that it's under heavy load.
So, making things work out of the box for most people without the need for
custom changes is a concern.
Just as a data point, here is what we shipped in SuSE 6.3 and 6.4 kernels:
(2.2.12 resp. 2.2.14 patched with fixes from Andrea's and Alan's prerelease
 series ...)

#ifdef CONFIG_SCSI_PLUTO_MODULE
#define SD_EXTRA_DEVS 40
#else
#define SD_EXTRA_DEVS 21
#endif
#define ST_EXTRA_DEVS 3
#define SR_EXTRA_DEVS 8
#define SG_EXTRA_DEVS (SD_EXTRA_DEVS + SR_EXTRA_DEVS + ST_EXTRA_DEVS)

I remember, I once calculated the amount of memory that is being "wasted" by
this, but I only remember it did not seem a lot to me. IIRC, it was just one
page.
I'd suggest, 2.2.15 gets numbers like that in stock kernel, so anybody can
rely on it.

Regards,
-- 
Kurt Garloff  <garloff@suse.de>                          Eindhoven, NL
GPG key: See mail header, key servers         Linux kernel development
SuSE GmbH, Nuernberg, FRG                               SCSI, Security

--R8CP7fzfAHpwDIZp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1c- (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4yMfNxmLh6hyYd04RAUJdAKCo2HTR4028cz0/52wfe4tuhnfIcACgwENd
vUTyLYYfammEs7cckKYGerE=
=g52b
-----END PGP SIGNATURE-----

--R8CP7fzfAHpwDIZp--

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post