Received: by ATHENA-PO-2.MIT.EDU (5.45/4.7) id AA28295; Thu, 13 Jul 89 09:21:28 EDT
From: <geer@ATHENA.MIT.EDU>
Received: by ATHENA.MIT.EDU (5.45/4.7) id AA23986; Thu, 13 Jul 89 09:18:33 EDT
Received: by E40-342F-2.MIT.EDU (5.61/4.7) id AA06464; Thu, 13 Jul 89 09:18:27 -0400
Message-Id: <8907131318.AA06464@E40-342F-2.MIT.EDU>
To: sysdev@ATHENA.MIT.EDU
Cc: staff@ATHENA.MIT.EDU
Subject: re: R4 alpha server performance
Date: Thu, 13 Jul 89 09:18:25 EDT

fyi on the future.

--dan

------- Forwarded Message

From: rws@expo.lcs.mit.edu (Bob Scheifler)
To: advisory@expo.lcs.mit.edu
Subject: R4 alpha server performance
Date: Wed, 12 Jul 89 19:17:49 -0400

The following is some performance information for the R4 alpha server. 
For those planning to track us
and use our code, this message is to assure you that the gain will be
worth the pain.  For those not
planning to track us, this is to hopefully give you something to worry
about. :-)  (For those on the
Intrinsics list, this is a followup on messages about whether
client-side gadgets are necessary.)

Basic window objects have been reduced in size from 368 bytes in R3 to
132 bytes in R4.  Basic GC
objects have been reduced in size from 408 bytes to 116 bytes.

Here are some selected performance numbers, using Digital's x11perf
tool.  The tests were run on a
Sun 3/60 running SunOS 4.0.1.  The servers were built with the standard
Sun compiler.  The mfb ddx
graphics are essentially unchanged between the two servers tested, so
the performance improvements
should all be from dix and mi changes (although there may be some
improvements due to a complete
reimplementation of software cursors).

					  R3	   R4	(operations per second)
Create and map subwindows (4 kids)	  84.1	  243.0
Create and map subwindows (50 kids)	  65.1	  200.0
Create unmapped window (4 kids)		 434.0	  978.0
Create unmapped window (50 kids)	 423.0	  971.0
Map window via parent (4 kids)		  65.6	  450.0
Map window via parent (50 kids)		 199.0	  813.0
Unmap window via parent (4 kids)	  80.0	 2190.0
Unmap window via parent (50 kids)	2280.0	11600.0
Destroy window via parent (4 kids)	 136.0	  315.0
Destroy window via parent (50 kids)	 322.0	 1420.0
Hide/expose window via popup (4 kids)	 108.0	  177.0
Hide/expose window via popup (50 kids)	 176.0	  410.0
Move window (4 kids)			  97.9	  156.0
Move window (50 kids)			  55.2	   79.9
Moved unmapped window (4 kids)		1200.0	 2270.0
Moved unmapped window (50 kids)		1220.0	 2280.0
Resize window (4 kids)			  96.0	  159.0
Resize window (50 kids)			  58.7	   89.0
Resize unmapped window (4 kids)		1170.0	 2150.0
Resize unmapped window (50 kids)	1170.0	 2160.0
Circulate window (4 kids)		  40.5	   61.6
Circulate window (50 kids)		   9.2	   33.2
Circulate Unmapped window (4 kids)	4070.0	 6700.0
Circulate Unmapped window (50 kids)	2970.0	 4420.0

The space and time improvements are the result of considerable efforts
(rather equally divided) by
Joel McCormack at Digital, and Keith Packard and Bob Scheifler at MIT.


------- End of Forwarded Message

