]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/doc/papers/sysperf/a2.t
Update lld to trunk r290819 and resolve conflicts.
[FreeBSD/FreeBSD.git] / share / doc / papers / sysperf / a2.t
1 .\" Copyright (c) 1985 The Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the University nor the names of its contributors
13 .\"    may be used to endorse or promote products derived from this software
14 .\"    without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\"     @(#)a2.t        5.1 (Berkeley) 4/17/91
29 .\"
30 .SH
31 run (shell script)
32 .LP
33 .vS
34 #! /bin/csh -fx
35 # Script to run benchmark programs.
36 #
37 date
38 make clean; time make
39 time syscall 100000
40 time seqpage -p 7500 10
41 time seqpage -v -p 7500 10
42 time randpage -p 7500 30000
43 time randpage -v -p 7500 30000
44 time gausspage -p 7500 -s 1 30000
45 time gausspage -p 7500 -s 10 30000
46 time gausspage -p 7500 -s 30 30000
47 time gausspage -p 7500 -s 40 30000
48 time gausspage -p 7500 -s 50 30000
49 time gausspage -p 7500 -s 60 30000
50 time gausspage -p 7500 -s 80 30000
51 time gausspage -p 7500 -s 10000 30000
52 time csw 10000
53 time signocsw 10000
54 time pipeself 10000 512
55 time pipeself 10000 4
56 time udgself 10000 512
57 time udgself 10000 4
58 time pipediscard 10000 512
59 time pipediscard 10000 4
60 time udgdiscard 10000 512
61 time udgdiscard 10000 4
62 time pipeback 10000 512
63 time pipeback 10000 4
64 time udgback 10000 512
65 time udgback 10000 4
66 size forks
67 time forks 1000 0
68 time forks 1000 1024
69 time forks 1000 102400
70 size vforks
71 time vforks 1000 0
72 time vforks 1000 1024
73 time vforks 1000 102400
74 countenv
75 size nulljob
76 time execs 1000 0 nulljob
77 time execs 1000 1024 nulljob
78 time execs 1000 102400 nulljob
79 time vexecs 1000 0 nulljob
80 time vexecs 1000 1024 nulljob
81 time vexecs 1000 102400 nulljob
82 size bigjob
83 time execs 1000 0 bigjob
84 time execs 1000 1024 bigjob
85 time execs 1000 102400 bigjob
86 time vexecs 1000 0 bigjob
87 time vexecs 1000 1024 bigjob
88 time vexecs 1000 102400 bigjob
89 # fill environment with ~1024 bytes
90 setenv a 012345678901234567890123456789012345678901234567890123456780123456789
91 setenv b 012345678901234567890123456789012345678901234567890123456780123456789
92 setenv c 012345678901234567890123456789012345678901234567890123456780123456789
93 setenv d 012345678901234567890123456789012345678901234567890123456780123456789
94 setenv e 012345678901234567890123456789012345678901234567890123456780123456789
95 setenv f 012345678901234567890123456789012345678901234567890123456780123456789
96 setenv g 012345678901234567890123456789012345678901234567890123456780123456789
97 setenv h 012345678901234567890123456789012345678901234567890123456780123456789
98 setenv i 012345678901234567890123456789012345678901234567890123456780123456789
99 setenv j 012345678901234567890123456789012345678901234567890123456780123456789
100 setenv k 012345678901234567890123456789012345678901234567890123456780123456789
101 setenv l 012345678901234567890123456789012345678901234567890123456780123456789
102 setenv m 012345678901234567890123456789012345678901234567890123456780123456789
103 setenv n 012345678901234567890123456789012345678901234567890123456780123456789
104 setenv o 012345678901234567890123456789012345678901234567890123456780123456789
105 countenv
106 time execs 1000 0 nulljob
107 time execs 1000 1024 nulljob
108 time execs 1000 102400 nulljob
109 time execs 1000 0 bigjob
110 time execs 1000 1024 bigjob
111 time execs 1000 102400 bigjob
112 .vE
113 .bp