% /u/sy/beebe/src/benchmarks/tex/TEXBOOK.TIMING, Wed Sep 8 13:19:50 1993 % Edit by Nelson H. F. Beebe % NB: this file contains lines up to 130 characters long This report records benchmark times for typesetting the TeXbook, @String{pub-AW = "Ad{\-d}i{\-s}on-Wes{\-l}ey"} @String{pub-AW:adr = "Reading, MA, USA"} @Book{Knuth:ct-a, author = "Donald E. Knuth", title = "The {\TeX}book", publisher = pub-AW, address = pub-AW:adr, year = "1986", volume = "{\noopsort{1986a}}A", series = "Computers and Typesetting", ISBN = "0-201-13447-0", } with plain TeX, producing 494 typeset pages and 1857748 bytes in the DVI file. The two files read are: -rw-r--r-- 1 beebe 27900 Sep 7 19:39 /u/sy/beebe/manmac.tex -rw-r--r-- 1 beebe 1374493 Sep 7 19:41 /u/sy/beebe/texman.tex This version of texman.tex has the initial infinite loop code disabled; the file is not intended for producing TeX output, only for exhibiting TeX input. Consequently, at the completion of each test, all associated files were immediately deleted. Nevertheless, because texman.tex is a large complex document that exercises most capabilities of TeX, uses 54 fonts, and is present in every TeX distribution, it is a reasonable candidate for benchmarking of TeX. Some commercial vendors report results for TeXing this document on their implementations of TeX. All tests were run with the files texman.tex and manmac.tex in /usr/tmp, so that disk activity is local, other than for the loading of the binary format file, plain.fmt. For about half of the machines listed below, I personally installed TeX, and used the highest compiler optimization level that resulted in passing of the trip torture test that serves as a validation of a TeX installation. For the others, the compiler optimization levels must be regarded as unknown. Some variations in compiler code quality are to be expected, and consequently, the performance figures for a particular machine could possibly be improved. The benchmark is not particularly I/O intensive, or memory intensive. I/O and paging block counts are given below for some machines. On our Sun SPARCstation systems with SunOS 4.1.3, "size /usr/local/bin/tex" reports: text data bss dec hex 221184 8192 3573272 3802648 3a0618 That is, the executable code is about 0.22 MB, and the run-time data is less than 3.8 MB. Current UNIX TeX implementations do not dynamically allocate memory beyond what is originally compiled in. It is possible to run this test on an IBM PC with 640 KB of RAM. Timing was obtained by running TeX as "nice time tex texman.tex". The Pages/sec figure is obtained by dividing the total of 494 typeset pages by the sum of user and system CPU time. The percent figures in some of the timing results show the ratio of CPU to wall clock time; in most cases, the test machines were essentially idle. Results are ordered alphabetically by vendor and model. Performance ranges over a factor of 17, from 1.1 pages/sec on a system with a 25MHz Intel 386 processor, to 19 pages/sec for a top-end Hewlett-Packard 9000/735 RISC workstation. Top-end IBM, SGI, and Sun workstations reach only about half this performance. I do not yet have figures for any DEC Alpha systems. ================================================================================================================================ Host Vendor Model and O/S Pages/sec Time ================================================================================================================================ uglab30.math.utah.edu DECstation 3100 ULTRIX 4.2 2.73 173.6 user 7.6 sys 192.0 real 94.3% alfred.math.utah.edu DECstation 5000/200 ULTRIX 4.3 4.76 100.743u 2.945s 1:49.27 94.8% 163+521k 113+111io 28pf+0w arzach.fundp.ac.be DECstation 5500 ULTRIX 4.2 5.15 92.6 user 3.2 sys 2344.7 real quick.fundp.ac.be DEC VAX 6220 VMS 5.5-2 0.59 840u (wall clock: stopwatch) cs.utah.edu HP 9000/375 BSD 4.3 2.10 229.1u 6.4s 4:16 91% 43+199k 304+297io 24pf+0w ee.utah.edu HP 9000/850 HP-UX 9.0 1.51 321.27u 5.57s 6:46.42 80.4% math.jpl.nasa.gov HP 9000/720 HP-UX 8.07 6.67 72.7u 1.4s 1:21 91% adam.math.utah.edu HP 9000/735 HP-UX 9.0 19.00 25.38u 0.62s 0:28.47 91.3% cpt14.physics.utah.edu IBM RS/6000-320 AIX 3.2 3.21 152.24u 1.76s 4:35 55% 226+805k 0+0io 52pf+0w osiris.usi.utah.edu IBM RS/6000-560 AIX 3.2 7.16 69.0u 0.0s 1:13 95% 222+822k 0+0io 94pf+0w ces2.cs.utah.edu IBM RS/6000-580 AIX 3.2 11.51 42.2u 0.7s 0:57.9 74.0% risky.wcslc.edu MIPS RC-6280 RISCos 2.1.1 8.27 57.9u 1.8s 1:01 96% 719+0k 65+250io 75pf+0w jabberwocky.math.utah.edu NeXT Mach 3.0 4.93 96.279u 3.939s 1:46.95 93.6% 0+0k 129+248io 0pf+0w vissgi.cvrti.utah.edu SGI 4D/210 VGX IRIX 4.0.5C 2.84 169.6u 4.2s 3:22 85% lotus.utah.edu SGI 4D/240GTX R3000 IRIX 4.0.1 3.87 119.6u 7.9s 2:13 95% eros.math.utah.edu SGI Indigo R3000 IRIX 4.0.5 3.42 142.100u 2.350s 9:08.84 26.3% 0+0k 110+5io 94pf+0w honeycomb.math.utah.edu SGI Indigo-2 R4000 IRIX 4.0.5 6.76 71.200u 1.830s 1:22.00 89.0% 0+0k 56+4io 94pf+0w saturna.math.utah.edu SGI Indigo R4000 IRIX 4.0.5 7.31 66.490u 1.090s 1:50.27 61.2% 0+0k 52+5io 94pf+0w graphics.math.utah.edu Stardent 1520 OS 2.2 1.30 353.020u 27.240s 6:35.76 96.0% 266+759k 179+535io 289pf+0w hetheory.physics.utah.edu Sun 386i SunOS 4.0.2 1.12 431.6u 7.4s 8:06 90% 0+460k 418+294io 417pf+0w adonis.med.utah.edu Sun 4/25 SunOS 4.1.1 3.23 150.0u 2.6s 3:02 83% 0+1144k 147+242io 149pf+0w doug.med.utah.edu Sun 4/260 SunOS 4.1.3 2.04 230.3u 11.5s 4:45 84% 0+1032k 94+274io 89pf+0w linkers.med.utah.edu Sun 4/280 SunOS 4.1.1 3.11 152.9u 6.0s 3:14 81% 0+1080k 153+68io 155pf+0w csc-sun.math.utah.edu Sun 4/380 SunOS 4.1.3 3.08 142.330u 18.320s 3:48.09 70.4% 0+323k 114+74io 117pf+0w mirl.med.utah.edu Sun 4/690 SunOS 4.1.3 4.51 107.7u 1.7s 1:55 94% 0+1000k 49+76io 37pf+0w janus.math.utah.edu Sun SS 1 SunOS 4.1.3 2.66 180.1 user 5.3 sys 194.8 real 94.7% cayley.math.utah.edu Sun SS 1+ SunOS 4.1.3 3.30 145.8 user 3.8 sys 439.8 real 34.0% sandy.math.utah.edu Sun SS SLC SunOS 4.1.3 2.69 179.1 user 4.8 sys 191.0 real 96.3% alta.math.utah.edu Sun SS ELC SunOS 4.1.3 4.42 108.7u 3.0s 1:59 93% 0+1176k 74+71io 75pf+0w athena.math.utah.edu Sun SS IPX SunOS 4.1.3 5.29 90.5 user 2.8 sys 99.0 real 94.2% dendroica.math.utah.edu Sun SS LX Solaris 2.1 3.65 132.88u 2.41s 2:23.68 94.1% silverfork.math.utah.edu Sun SS 2 SunOS 4.1.3 5.34 90.0 user 2.5 sys 97.6 real 94.7% brillig.math.utah.edu Sun SS 10/30 SunOS 4.1.3 8.42 57.220u 1.410s 1:07.06 87.4% 0+593k 101+73io 125pf+0w plot79.math.utah.edu Sun SS 10/41 Solaris 2.2 10.01 47.76u 1.61s 1:01.22 80.6% ================================================================================================================================