From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 9 Jan 2014 20:45:40 +1100 Message-ID: From: Bruce Ellis To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b86ebcaf0666504ef8678cb Subject: Re: [9fans] Maximal number of processes Topicbox-Message-UUID: b0e07d88-ead8-11e9-9d60-3106f5b1d025 --047d7b86ebcaf0666504ef8678cb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable suck it and see, the answerers didn't understand the question. add nproc=3DXXX to plan9.ini and use the environment, or hard code code it. i'd like to see your results for nproc=3D50 and nproc=3D5000. brucee On 9 January 2014 19:08, Pavel Klinkovsk=C3=BD = wrote: > Hi Steven, > > > conf.nproc =3D 100 + ((conf.npage*BY2PG)/MB)*5; >> if(cpuserver) >> conf.nproc *=3D 3; >> if(conf.nproc > 2000) >> conf.nproc =3D 2000; >> >> In general, you will find that 2000 is the highest allowable due to >> limits imposed by proc.c. > > > but if I understand it correctly it is just "soft limit", not a "hard" on= e > inborn in CPU architecture. > > By the hard limit I consider something like "maximal capacity of GDT, LDT= " > or something similar, if exists. > > >> At the end of the day, the only way to be sure is to read the source. >> > > I did (of course, I am not an expert on Plan9 kernel), and I did not find > any "hard limit" there. > However to be sure I issued my question here. > > Pavel > --047d7b86ebcaf0666504ef8678cb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
suck it and see, the answerers didn't understand the q= uestion. add nproc=3DXXX to plan9.ini and use the environment, or hard code= code it. i'd like to see your results for nproc=3D50 and nproc=3D5000.=

brucee


On 9 January 2014 19:08, Pavel Klinkovsk=C3=BD <pavel.klinkovsky@gmail.com> wrote:
Hi Steven,


=C2=A0 =C2=A0 conf.nproc =3D 100 + ((conf.npage*BY2PG)/MB)*5;
=C2=A0 =C2=A0 if(cpuserver)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 conf.nproc *=3D 3;
=C2=A0 =C2=A0 if(conf.nproc > 2000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 conf.nproc =3D 2000;

In general, you will find that 2000 is the highest allowable due to
limits imposed by proc.c.

but if I un= derstand it correctly it is just "soft limit", not a "hard&q= uot; one inborn in CPU architecture.

By the hard l= imit I consider something like "maximal capacity of GDT, LDT" or = something similar, if exists.
=C2=A0
At the end of the day, the = only way to be sure is to read the source.

<= /div>
I did (of course, I am not an expert on Plan9 kernel), and I did not f= ind any "hard limit" there.
However to be sure I issued my question here.

Pavel

--047d7b86ebcaf0666504ef8678cb--