🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.std.unix
Article #68

Re: limits; V4N8

#68
From: Moderator, John Quarterman
Date: Tue, 10 Dec 1985 04:53
27 lines
1859 bytes
From: seismo!gatech!hplabs!fortune!mats (Mats Wichmann)
Date: Monday,  9 Dec 1985 14:28-PST

The size of the environment certainly matters to fork/exec; the
reason is that all that data in user space has to be transferred
to kernel space somehow, then copied back out as part of the new
process. This is typically done through a series of fubyte()
calls, which vary in inefficiency with the type of MMU being
used in the machine. For someone running, say, a Motorola 68451
there is a horrible cost because the kernel has to do a lot
of calculation before knowing the virtual-to-physical translation
(Although by being clever and "caching" translations you can speed
it up quite a bit). Other MMUs make it easier - I think the VAX
scheme is a major improvement (although I am not intimately
familiar with it) and the Motorola 68851 is even better, and if
I am not mistaken, the National MMU chips even have an instruction
which basically moves data between user space and kernel space.

Whatever the exact numbers, transporting environments (and argument
lists, for that matter) across execs is a costly operation compared 
to most others.

    Mats Wichmann
    Fortune Systems
    {ihnp4,hplabs,dual}!fortune!mats

Volume-Number: Volume 4, Number 8
Technical Details
Message-ID: <3760@ut-sally.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!decvax!decwrl!pyramid!ut-sally!std-unix

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ut-sally.UUCP
Path: arc1-ca.pugleaf.net!utzoo!decvax!decwrl!pyramid!ut-sally!std-unix
From: std-unix@ut-sally.UUCP (Moderator, John Quarterman)
Newsgroups: mod.std.unix
Subject: Re: limits; V4N8
Message-ID: <3760@ut-sally.UUCP>
Date: Mon, 9-Dec-85 23:53:07 EST
Article-I.D.: ut-sally.3760
Posted: Mon Dec  9 23:53:07 1985
Date-Received: Tue, 10-Dec-85 21:19:17 EST
Organization: IEEE/P1003 Portable Operating System Environment Committee
Lines: 27
Approved: jsq@sally.UUCP