[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2502.0. "VMS server arc performance" by DECWIN::NORCROSS () Thu Mar 22 1990 17:36

I'm trying to get some feedback on some work that I have been doing
in the VMS server related to arcs.  

In many cases arcs do not conform to the X specification in the current 
VMS V2.1 server - in other words the correct pixels are not
always lit.  MIT did some work on arcs in release 4 which addresses 
this problem and which speeds up the rendition in many cases as well.
I have fitted these changes into the VMS server along with some minor 
performance improvements of my own.  

Some of the results on monochrome VS 2000 and VAXstation II/GPX are 
posted at the end of this memo.  In most cases arc drawing performance has 
increased, however there are some cases where performance has decreased.
The most serious performance degradation occurs on the GPX displaying :
   * large circles and ellipses (500 pixel diameter) with zero-line-width
   * ellipses with non-zero-line-width 
   * dashed ellipses with non-zero-line-width

What I want to know is: are these types of arcs used very often where
performance is very critical? Are people willing to take a decrease in 
speed for these cases in order to get both "correctness" and a speed 
increase for the smaller, more common cases.

The performance numbers are from X11perf.  These tests were done on 
standalone systems...Your mileage may vary. The first set of numbers are 
from a monochrome VS2000; the second set from a VAXstation/GPX.   The first 
column of numbers contains the results in operations per second (ops/sec) 
that occured running the new arc improvements.  The second column contains 
the results on the current DECwindows V2.1 (ops/sec).  The third contains 
the ratio of the new arc performance to the current server performance.   
For example, 10-pixel circles are 6.6 times faster for the r4 arc 
algorithms than the current V2.1 server.

Results ratios on SCANPROC are similar to the results on the GPX.

Please note that these numbers are not final and we are still looking 
at ways to improve performance.  

					-AnnMarie

================================================================================
Monochrome VS2000

          Test			    MIT r4          DECW V2.1    Ratio
				    arc code
				    (ops/sec)	   (ops/sec)     r4 : V2.1

  1-pixel circle		    2410.0	    NA	        NA
 10-pixel circle		    1430.0          217.0       6.6 : 1
100-pixel circle		     325.0          112.0       2.9 : 1
500-pixel circle		      73.7	     52.1       1.4 : 1
100-pixel dashed circle		      37.9           31.8       1.2 : 1
100-pixel dbl-dash circle             26.4           20.4       1.3 : 1
 10-pixel wide circle		      44.5           21.3 	2.1 : 1
100-pixel wide circle		      10.1            4.9	2.1 : 1
500-pixel wide circle		       2.2            0.8	2.8 : 1	
100-pixel wide dashed circle	       3.2	      4.0         1 : 1.25
100-pixel wide dbl-dash circle         2.7	      2.3       1.2 : 1
 10-pixel partial circle	     727.0          239.0       3.1 : 1
100-pixel partial circle	     192.0          151.0	1.3 : 1
  1-pixel solid circle	           50000.0         8210.0       6.1 : 1
 10-pixel solid circle	             650.0          189.0       3.4 : 1
100-pixel solid circle	              79.2           58.8       1.3 : 1
500-pixel solid circle	              14.8           27.8         1 : 1.9
 10-pixel fill chord partial circle  338.0          177.0       1.9 : 1
100-pixel fill chord partial circle   78.4           83.8         1 : 1.1
 10-pixel fill slice partial circle  316.0          140.0       2.3 : 1
100-pixel fill slice partial circle   71.2           67.5       1.1 : 1
 10-pixel ellipse		    1240.0          250.0       5.0 : 1
100-pixel ellipse		     225.0          117.0       2.0 : 1
500-pixel ellipse		      45.1           54.9         1 : 1.2
100-pixel dashed ellipse	      46.3           37.8       1.2 : 1
100-pixel dbl-dashed ellipse	      32.3           24.1       1.3 : 1
 10-pixel wide ellipse		      21.8           23.8         1 : 1.1
100-pixel wide ellipse		       3.4            5.2         1 : 1.6
500-pixel wide ellipse		       0.7            1.1         1 : 1.5
100-pixel wide dashed ellipse          1.4            4.7         1 : 3.4
100-pixel wide dbl-dashed ellipse      0.9            2.8         1 : 3.1
 10-pixel partial ellipse            734.0          242.0       3.0 : 1
100-pixel partial ellipse            222.0          156.0       1.4 : 1
 10-pixel filled ellipse             661.0          196.0       3.4 : 1
100-pixel filled ellipse             105.0           59.7       1.7 : 1
500-pixel filled ellipse              20.6           21.2         1 : 1
 10-pixel fill chord partial ellipse 370.0          189.0       2.0 : 1
100-pixel fill chord ellipse         110.0          103.0       1.1 : 1
 10-pixel fill slice partial ellipse 350.0          152.0       2.3 : 1
100-pixel fill slice ellipse         101.0           81.2       1.2 : 1

================================================================================

VAXstation II/GPX

          Test			    MIT r4         DECW V2.1    Ratio
				    (ops/sec)	   (ops/sec)     r4 : V2.1

  1-pixel circle		    1630.0	    NA	        NA
 10-pixel circle		    1130.0	    287.0       3.9 : 1
100-pixel circle		     226.0          208.0       1.1 : 1
500-pixel circle		      45.2	    132.0         1 : 2.9
100-pixel dashed circle		      71.8          171.0         1 : 2.4
100-pixel dbl-dash circle             57.8          171.0         1 : 3.0
 10-pixel wide circle		      48.3           21.6 	2.2 : 1	
100-pixel wide circle		      12.3            5.3	2.3 : 1	
500-pixel wide circle		       2.8            1.0	2.8 : 1
100-pixel wide dashed circle	       3.4            4.2         1 : 1.2
100-pixel wide dbl-dash circle         2.9            3.7         1 : 1.3
 10-pixel partial circle	     652.0          274.0       2.4 : 1
100-pixel partial circle	     192.0          227.0	  1 : 1.2
  1-pixel solid circle	           50900.0         7550.0       6.7 : 1
 10-pixel solid circle	             841.0           72.3      11.6 : 1
100-pixel solid circle	             248.0           58.8       4.2 : 1
500-pixel solid circle	              30.8           30.7	  1 : 1
 10-pixel fill chord partial circle  394.0          186.0       2.1 : 1
100-pixel fill chord partial circle  148.0           99.7       1.5 : 1
 10-pixel fill slice partial circle  375.0          148.0       2.5 : 1
100-pixel fill slice partial circle  144.0           78.5       1.8 : 1
 10-pixel ellipse		     987.0          287.0       3.4 : 1
100-pixel ellipse		     219.0          208.0       1.1 : 1
500-pixel ellipse		      48.1          131.0         1 : 2.7
100-pixel dashed ellipse	      87.4          172.0         1 : 2.0
100-pixel dbl-dashed ellipse	      69.2          172.0         1 : 2.5
 10-pixel wide ellipse		      27.9           23.8       1.1 : 1
100-pixel wide ellipse		       3.6            5.7         1 : 1.6
500-pixel wide ellipse		       0.8            1.3         1 : 1.6
100-pixel wide dashed ellipse          1.4            5.0         1 : 3.57
100-pixel wide dbl-dashed ellipse      0.9            4.3         1 : 4.7
 10-pixel partial ellipse            657.0          273.0       2.4 : 1
100-pixel partial ellipse            224.0          226.0         1 : 1
 10-pixel filled ellipse             861.0          205.0       4.2 : 1
100-pixel filled ellipse             285.0           74.5	3.8 : 1
500-pixel filled ellipse              54.3           33.7       1.6 : 1
 10-pixel fill chord partial ellipse 413.0          197.0       2.1 : 1
100-pixel fill chord ellipse         182.0          115.0       1.6 : 1
 10-pixel fill slice partial ellipse 392.0          159.0       2.5 : 1
100-pixel fill slice ellipse         177.0           90.2       2.0 : 1
          
          
T.RTitleUserPersonal
Name
DateLines