Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!in1.uu.net!news.fido.net!news.roundabout.org!news.demon.co.uk!demon!microl4.microlise.UUCP!news From: andrewg@microlise.co.uk (Andrew Gierth) Newsgroups: comp.unix.bsd.netbsd.misc,comp.unix.bsd.bsdi.misc,comp.unix.solaris,comp.unix.aix Subject: Re: ISP hardware/software choices (performance comparison) Followup-To: comp.unix.aix Date: 19 Jan 1996 05:47:51 GMT Organization: Microlise Engineering Ltd. Lines: 33 Message-ID: <4dnba7$pjp@microl4.microlise.UUCP> References: <4cmopu$d35@vixen.cso.uiuc.edu> <4cu7t0$mg5@engnews2.Eng.Sun.COM> <4cv8j1$59k@park.uvsc.edu> <4d37d4$j0l@gremlin.backfire.mn.org> <DL29Az.Ax2@ftel.co.uk> <bryDL3r9p.2oq@netcom.com> <4da5nl$8l5@news.voicenet.com> <bryDL5wtq.4Fo@netcom.com> <4dc00a$j2f@park.uvsc.edu> <bryDL7E84.LG3@netcom.com> <4decke$6nh@park.uvsc.edu> <4dg9b0$74d@mail.fwi.uva.nl> <4dh4kc$rnv@park.uvsc.edu> <4di4dc$je@microl4.microlise.UUCP> <4di4qa$jf@microl4.microlise.UUCP> <4dl4ph$29u@mail.fwi.uva.nl> Reply-To: andrewg@microlise.co.uk (Andrew Gierth) NNTP-Posting-Host: andrewg.microlise.uucp X-NNTP-Posting-Host: microl.demon.co.uk X-Newsreader: IBM NewsReader/2 v1.2.5 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:1922 comp.unix.bsd.bsdi.misc:2069 comp.unix.solaris:57081 comp.unix.aix:68597 In <4dl4ph$29u@mail.fwi.uva.nl>, joep@fwi.uva.nl (Joep Vesseur) writes: >andrewg@microlise.co.uk (Andrew Gierth) writes: > >[on AIX the] >>Process table has an upper bound of 131072 (on 3.2.5, anyway). > >No. PIDs can grow to 131072, but the process table is limited >to 512 entries (according to the PROCMASK definition in sys/proc.h) > >Joep Sorry, **WRONG**. I have had more than 512 procs running on a 250 (I stopped at 2100 or so having run out of paging space). While doing so I encountered PIDs over 550000. PIDs can range up to 2^25. Process table can grow to 2^17. You are reading the definitions incorrectly. Where the hell did you get 512 from?? #define PROCSHIFT 17 #define NPROC (1 << PROCSHIFT) extern struct proc proc[NPROC]; seems clear enough to me... -- Andrew (andrewg@microlise.co.uk) [.sig under construction]