home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8881 < prev    next >
Encoding:
Text File  |  1992-08-17  |  4.4 KB  |  138 lines

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!gumby!yale!mintaka.lcs.mit.edu!eswu
  2. From: eswu@expo.lcs.mit.edu (Eng-Shien Wu)
  3. Newsgroups: comp.unix.aix
  4. Subject: MIT X11R5 Performance Patches
  5. Summary: Additional patches to improve skyway Xserver performance
  6. Keywords: X11R5 Skyway Xserver
  7. Message-ID: <eswu.714103518@rsx.lcs.mit.edu>
  8. Date: 18 Aug 92 02:05:18 GMT
  9. Sender: news@mintaka.lcs.mit.edu
  10. Organization: X Consortium, MIT Laboratory for Computer Science
  11. Lines: 125
  12.  
  13. -------------------------------------------------------------------------
  14. Updated to include info on patching UNIX domain sockets for AIX 3.2.
  15. If you grabbed these files before, they are still the same... no
  16. further enhancements have been made since January 24, 1992.
  17. -------------------------------------------------------------------------
  18.  
  19.              X11R5 Skyway Performance Patch 1
  20.                January 24, 1992
  21.               README updated August 17, 1992
  22.  
  23.  
  24. This distribution contains new files and patches to the MIT X11R5
  25. sample Xserver for the RISC System/6000 colorgda adapter (also
  26. known as "skyway").  There are three parts to the distribution:
  27.  
  28.     sky.README        - Instructions you are reading
  29.     sky-perf-1.tar.Z    - Tar of entire skyway directory
  30.     sky-cfb.patch        - Patches to servermd.h, cfbblt.c,
  31.                     ibmInit.c, and ibmUtils.c
  32.  
  33.     sky-aix32.patch        - Patch to XConnDis.c to make UNIX
  34.                   domain sockets work on AIX3.2
  35.                   (BSD4.3 -> BSD4.4 networking)
  36.  
  37. These files are available for anonymous ftp in the contrib
  38. directory of export.lcs.mit.edu.
  39.  
  40.  
  41. #include <std/disclaimer.h>
  42.  
  43.     IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  44.     INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS, AND
  45.     NONINFRINGEMENT OF THIRD PARTY RIGHTS, IN NO EVENT SHALL IBM BE
  46.     LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
  47.     DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  48.     WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  49.     ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  50.     PERFORMANCE OF THIS SOFTWARE.
  51.  
  52.  
  53. Prerequisites: MIT public fixes 0 thru 16
  54.  
  55.     It is recommended that you apply this performance patch after
  56.     applying MIT public fixes 0 thru 16 to the original MIT X11R5
  57.     release.  Specifically, public fixes 1 and 7 must not be applied
  58.     after applying this performance enhancement. These fixes can be
  59.     obtained via anonomous ftp from export.lcs.mit.edu in the
  60.     directory /pub/R5/fixes.
  61.  
  62.  
  63. Instructions to apply performance patch:
  64.  
  65.     In the instructions, replace MITSRC with the top of your source tree
  66.     (the directory containing the "mit" and "contrib" subdirectories).
  67.  
  68.     1. Uncompress tar file, and move tar and patch file
  69.  
  70.     uncompress sky-perf-1.tar.Z
  71.  
  72.     mv sky-perf-1.tar MITSRC/mit/server/ddx/ibm
  73.     mv sky-cfb.patch MITSRC
  74.  
  75.     2. Apply patches to servermd.h, cfbblt.c, ibmInit.c, and ibmUtils.c
  76.  
  77.     cd MITSRC
  78.     patch -p -s < sky-cfb.patch
  79.  
  80.     3. Untar skyway directory
  81.  
  82.     cd MITSRC/mit/server/ddx/ibm
  83.     mv skyway skyway.old
  84.     tar xvf sky-perf-1.tar
  85.  
  86.     4. Rebuild Xibm
  87.  
  88.     cd MITSRC/mit/server
  89.     make Xibm
  90.  
  91.  
  92. What should be faster:
  93.  
  94.     GetImage, PutImage, CopyArea (window to/from pixmap, pixmap to
  95.     pixmap), FillRectangles, and redrawing tiled window backgrounds
  96.     should be much faster. BackingStore save and restoring should
  97.     be much faster. Text should be a little bit faster. The IBM
  98.     X11R4 Xserver will still be faster on average.
  99.  
  100.  
  101. Note for AIX V3.2:
  102.  
  103.     Because AIX3.2 switched to BSD4.4 socket address structures,
  104.     a patch to lib/X/XConnDis.c is neccessary for the UNIX domain
  105.     sockets to work.
  106.  
  107.     To patch XConnDis.c:
  108.  
  109.     mv sky-aix32.patch MITSRC/mit/lib/X
  110.     cd MITSRC/mit/lib/X
  111.     cp XConnDis.c XConnDis.c.save
  112.     patch -p -s < sky-aix32.patch
  113.     make libX11.a
  114.  
  115.  
  116.     Note:
  117.  
  118.     1. This does not fix all the places where socket addresses
  119.        are used, so do *not* turn off the network option "compat_43"
  120.        (by the "no" command).
  121.  
  122.     2. A full fix will be released someday, but do not hold your
  123.        breath because it affects a lot of files in the MIT tree,
  124.        which have previous changes that also affects more files.
  125.        When a full fix comes, you will have to back out the
  126.        changes to XConnDis.c then.
  127.  
  128.  
  129. Where do I send bug reports?
  130.  
  131.     Bug reports should be sent to xbugs@expo.lcs.mit.edu using the
  132.     form provided in MITSRC/bug-report. Specify area as ibmddx.
  133.     Specify version as "R5, public-patch-?? + sky-perf-1".
  134.  
  135. --
  136. Eng-Shien Wu (eswu@expo.lcs.mit.edu)
  137. IBM Graphic Systems/MIT X Consortium
  138.