From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,32c594a83e2d8db X-Google-Attributes: gidf7344,public X-Google-Thread: 111308,32c594a83e2d8db X-Google-Attributes: gid111308,public X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-10-07 08:26:20 PST Xref: gmd.de comp.client-server:1429 comp.os.vms:32052 comp.sys.dec:10620 comp.sys.hp:25757 Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!jsue From: jsue@ncsa.uiuc.edu (Jeffrey L. Sue) Newsgroups: comp.client-server,comp.os.vms,comp.sys.dec,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Date: Thu, 7 Oct 1993 13:40:43 GMT Organization: The Dow Chemical Company Message-ID: <1993Oct7.134043.14581@ncsa.uiuc.edu> References: <28vscu$8br@agate.berkeley.edu> <1993Oct7.023037.18596@gordian.com> NNTP-Posting-Host: space.ncsa.uiuc.edu Originator: jsue@space.ncsa.uiuc.edu In article <1993Oct7.023037.18596@gordian.com> mike@gordian.com (Michael Thomas) writes: > > Er, need I point out the difference between lib$spawn() and fork()? >Unix piping etc, etc, is *painfully* slow under VMS. Believe me, >I've tried and it takes *much* hacking to get the VMS side to >behave respectably. I've heard this stuff about spawning under VMS being slower than Unix a lot. I've worked on VMS systems for quite awhile and I guess I don't understand where this comes from with today's fast CPUs - CPUs which, by the way, are as fast or faster than most of the Unix CPUs I've worked on. There are many things that affect the speed of spawning on a VMS system, and I hardly think it fair to compare the spawn speed on a VAX 11/780, or even a VAX6000-410, with the speed of creating child processes on a Unix system that can be as much as 8 times faster. Another thing I've noticed is that a child process in Unix doesn't seem to inherit any of the parent process' environment variables. Well heck! I can spawn a subprocess on VMS such that symbols, logicals & keypad definitions don't get copied to the subprocess' environment... and guess what! That spawn works *extremely* quickly, even on a 6000-410! Maybe I'm not doing something quite right on the Unix side to copy the environment variables from the parent process. All I know is that if I use "!" to create a subprocess, when using this newsreader (or even mail) on the Unix system, my parent process' environment variables do not get copied. The difference in speed of doing this on a Unix system compared to a VAX 6000-410 isn't even measurable to me (and I'm using my trusty-dusty, neo-atomic, laser time displacement mechanism that has precision down to 1.0342454 x 10^-435983745 of a second ;-). -- ----- Jeff Sue - All opinions are mine - (and you can't have any, nya nya nya)