From: Rik van Riel <riel@phys.uu.nl>
Subject: Re: Lots of Threads = Death?
Date: 1998/05/06 [thread overview]
Message-ID: <Pine.LNX.3.91.980506092851.28146D-100000@mirkwood.dummy.home> (raw)
In-Reply-To: 355120c7.4143478@149.174.211.108
On Tue, 5 May 1998, Ron Heiby wrote:
> After receiving the advice here on the other tunables to increase, I decided
> that I wanted to push things a bit, and try up to 6000 threads. So, I
> re-configured max-proc-per-user to 8000. When I again did a "/sbin/sysconfig
> -q proc", I expected to see 8000 for max-proc-per-user and
> max-threads-per-user, but I did not. Instead, each was set to 4107.
>
> Now, I think that 4107 is an interesting number for two reasons.
>
> 1) It isn't what I asked for.
> 2) It isn't a power of 2 (loved by us computer types).
>
> Instead, it's (37 * 37 * 3). I don't get it.
>
> 1) Why isn't my system getting tuned for the values I'm setting?
> 2) How do I tune my system for more than 4107 threads?
The hardware has support for 8192 LDT entries on one
page. Unless the OS supports soft switching (there was
a softswitching patch for Linux) you can't have more
threads.
Each thread uses two entries and the other ones are used
by the system...
Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.phys.uu.nl/~riel/ | <H.H.vanRiel@phys.uu.nl> |
+-------------------------------------------+--------------------------+
next prev parent reply other threads:[~1998-05-06 4:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-28 4:00 Lots of Threads = Death? Ron Heiby
1998-04-28 4:00 ` Dirk Grunwald
1998-04-29 4:00 ` Jeff Denham
1998-04-29 4:00 ` Charles M Richmond
1998-04-30 4:00 ` Ron Heiby
1998-04-30 4:00 ` Darron Shaffer
1998-05-01 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-05-01 4:00 ` Jeff Denham
1998-05-05 4:00 ` Ron Heiby
1998-05-06 4:00 ` Rik van Riel [this message]
1998-05-06 4:00 ` Ron Heiby
1998-05-06 4:00 ` Rik van Riel
1998-05-07 4:00 ` Ron Heiby
1998-05-08 4:00 ` Lots of Threads = Digital Unix. Period Srikanth Throvagunta
1998-05-11 4:00 ` Ron Heiby
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox