Path: utzoo!attcan!uunet!husc6!bbn!uwmcsd1!ig!agate!eos!labrea!cascade!dunwoody From: dunwoody@cascade.STANFORD.EDU (Craig Dunwoody) Newsgroups: comp.windows.x Subject: X benchmarks Message-ID: <407@cascade.STANFORD.EDU> Date: 18 May 88 08:32:09 GMT Organization: Stanford University Computer Systems Laboratory Lines: 61 Since there have been a couple of inquiries recently about X benchmarks, I thought there might be some interest in a benchmarking tool that I recently put together: gbench Version 1.0 Gbench is a graphics benchmark tool. It currently supports 2D immediate-mode graphics and runs on top of the X Window System (both Version 10 and Version 11) and Unix. It is written in C and it directly calls the low-level window system client library; no toolkit is used. It is being developed by Craig Dunwoody and Mark Linton at Stanford University's Computer Systems Lab under the Quantum project, through a gift from Digital Equipment Corporation. It may be freely distributed under the conditions listed in the accompanying copyright notice. Gbench is not a graphics benchmark. Rather, it is a tool that lets you construct and run your own benchmarks. When gbench starts up, it creates an X window and reads commands from standard input, one per line. Each command directs gbench to repeatedly perform a particular drawing operation. Gbench copies the command line to standard output, executes the command, and prints on standard output the host load average, the time for each iteration, and the number of iterations per second. All times are measured in real (wall-clock) time. You can use gbench either interactively, by typing commands and viewing the results immediately, or in batch mode, with standard input redirected to a script file and output redirected to a log file. If you don't want to create your own script file, there is a built-in default script. Gbench is primarily intended as a benchmarking tool. You may also find it useful as a graphics system exerciser. If you are developing an application program, and some graphics operation isn't behaving properly, you may be able to use gbench to find out if the underlying graphics system implementation is doing the right thing. Gbench is NOT, however, intended as a graphics system verification tool. It allows you to exercise most of the drawing functions supported by the graphics server, but for any given function, the only parameters that gbench lets you vary are those (such as size) that we consider to be likely to affect performance. In the future, we hope to extend gbench and provide tools for combining and formatting raw log files. Proposed extensions include 3D graphics and integration with a more comprehensive set of workstation benchmarks. If there is interest, we are willing to act as a clearinghouse for benchmark scripts and results. Version 1.0 of gbench represents our first attempt to address the problem of characterizing graphics performance in a distributed environment. There are many complex issues in this area that remain unresolved, and we expect that we will be able to substantially improve gbench as we learn more. By making gbench widely available, we hope to hasten the process of making it as portable, bug-free, complete, and fair as possible. Gbench source code is available in compressed and uncompressed shar and tar formats through anonymous FTP to lurch.stanford.edu (36.22.0.14). If there is sufficient interest, I will post the source to the net. Craig Dunwoody Internet: dunwoody@horizon.stanford.edu USEnet: {ucbvax,decvax}!decwrl!horizon.stanford.edu!dunwoody Phone: (415) 725-3733