SUMMARY: How to make a program sharable?

From: Denis Beauchemin (beauchem@DMI.USherb.CA)
Date: Mon Dec 23 1991 - 12:22:19 CST


Hi everybody (and Happy Holidays),

The general consensus is that program code is automatically shared by the OS
and that the sticky bit is no longer needed. Its use was to prevent some
programs from being removed from the swap after their invocation so that they
could be fetched more rapidly at the next invocation. Since Sun pages programs
directly from the filesystem, the sticky bit is no longer needed.

Thanks to all who replied:

 Matt Crawford <matt@oddjob.uchicago.edu>
  Anthony A. Datr <datri@lovecraft.convex.com>
   dan@BBN.COM <dan@BBN.COM>
    Steve Harris <etnibsd!vsh@uunet.UU.NET>
     Gregory Higgins <higgins@math.niu.edu>
      Birger Wathne <birger@vest.sdata.no>
       Meg Grice <mlg@cstp.umkc.edu>
        J. Matt Landrum <cypress!cypress.com!mdl@decwrl.dec.com>
         vanandel@rsf.atd.ucar.ED <vanandel@rsf.atd.ucar.EDU>
          Mike Raffety <miker@sbcoc.com>
           Hal Stern - NE Area Systems Engin <stern@sunne.East.Sun.COM>
            Dean Grover <grover@vulcan1.hac.com>
             Michael Sullivan
             <tellab5!balr!vpnet!trdlnk!mike@delta.eecs.nwu.edu>
              Barry Margolin <barmar@Think.COM>

(sorry, vi was in auto-indent... it looks good, though!)

My original posting was:

> Hi Sun-managers,
>
> I am trying to find out if an executable can be "shared" among
> different users. It used to be possible using the "sticky bit", but
> doens't seem to be supported since SunOS 4.1.
>
> We have many users using big Informix programs (around 1.5MB) and it
> would be nice if the code portion could be shared by all users.
>
> Could someone tell me how to do this? I looked at many manuals, but
> couldn't find one that gave me the solution.
>
> Thanks! I will summarize.

-- 
=== Denis Beauchemin,  === beauchem@DMI.USherb.CA ===
=== Dir. R&D           =================================
=== Sisca Informatique === Sun, AT&T and networks  ===
=== (819) 564-4003.    ==============================



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:21 CDT