[comp.unix.microport] Maximum process size on 2.3

john@wa3wbu.UUCP (John Gayman) (03/08/88)

    I understand that Microport 2.3 (and earlier) has a maximum process
size of 1MB. I tried running pathalias on the world and this exceeds
this limit. So I run that maps on North America only for now. Is this
something thats changable in the linkkit ?  I see Microport has a special
kernel available upon request. Whats the story ?

					John


-- 
John Gayman, WA3WBU              |           UUCP: uunet!wa3wbu!john
1869 Valley Rd.                  |           ARPA: wa3wbu!john@uunet.UU.NET 
Marysville, PA 17053             |           Packet: WA3WBU @ AK3P 

steve@nuchat.UUCP (Steve Nuchia) (03/10/88)

From article <524@wa3wbu.UUCP>, by john@wa3wbu.UUCP (John Gayman):
>     I understand that Microport 2.3 (and earlier) has a maximum process
> size of 1MB. I tried running pathalias on the world and this exceeds
> this limit. So I run that maps on North America only for now. Is this

Isn't it a bitch?

> something thats changable in the linkkit ?  I see Microport has a special
> kernel available upon request. Whats the story ?

It isn't changable in the linkkit, but they will send you the
modified linkkit at no charge, at least if you are on support.
It works fine, I've got mine set for 2 1/2 megs, uname -a says:
    system5 nuchat 2 230.13-I AT

BUT:  pathalias tries to build some kind of data structure, a hash
	table I think, that it rescales dynamically as the input
	comes in.  When it tries to exceed the mallocable size
	(I have a hack that lets it malloc > 65,000 bytes) it
	core dumps.

So I'm still running a subset of the maps, actually the same subset
I was running before.  I'm leaving the large process hack in place
because it lifts the limit on a ihave/sendme optimizer I wrote and
one of my users is working on some games that really want to be on
a vax ...

This is my "mk.paths" script, in case anyone is interrested.
Note that I manage to squeeze in all of the US and the entire
domainized world, which may and may not be better than all
of north america.  Not also the hacks that strip the comments
from the retained copies of the maps and the one that expires
deceased map tables.
-----
find maps -mtime +90 -print -exec rm \{\} \;
cd nmaps
find /files/news/comp/mail/maps -type f -newer ../paths -exec unshar \{\} \;
rm *.hdr
for x in *
do
	(echo 'g/^#/d'; echo w; echo q) | ed - $x
done
mv * ../maps
cd ..
pathalias -f path.input /usr/lib/news/map.entry maps/d.* maps/u.usa.* | pathproc > npaths
rm opaths; mv paths opaths; mv npaths paths
mv analysis oanalysis
cut -f2 paths | cut -f1-2 -d! | sort | uniq -c > analysis

-- 
Steve Nuchia	    | [...] but the machine would probably be allowed no mercy.
uunet!nuchat!steve  | In other words then, if a machine is expected to be
(713) 334 6720	    | infallible, it cannot be intelligent.  - Alan Turing, 1947

mjy@sdti.UUCP (Michael J. Young) (03/10/88)

In article <524@wa3wbu.UUCP> john@wa3wbu.UUCP (John Gayman) writes:
>
>    I understand that Microport 2.3 (and earlier) has a maximum process
>size of 1MB. I tried running pathalias on the world and this exceeds
>this limit. So I run that maps on North America only for now. Is this
>something thats changable in the linkkit ?  I see Microport has a special
>kernel available upon request. Whats the story ?

I haven't talked to Microport directly about this, but someone I know
said he called requesting the 2.3 kernel with 5MB process limit, and they
said it wasn't available yet.  They didn't sound like they were in any
hurry to provide it, either;  they said he was the first person to request
it.

Assuming you do get the special kernel, you have to be willing to give up
20000 blocks for swap space.  I couldn't afford that, so I'm still stuck
with a North America map.
-- 
Mike Young - Software Development Technologies, Inc., Sudbury MA 01776
UUCP     : {decvax,harvard,linus,mit-eddie}!necntc!necis!mrst!sdti!mjy
Internet : mjy%sdti.uucp@harvard.harvard.edu      Tel: +1 617 443 5779