PageRenderTime 94ms CodeModel.GetById 16ms app.highlight 74ms RepoModel.GetById 1ms app.codeStats 0ms

/share/doc/papers/sysperf/a2.t

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 117 lines | 117 code | 0 blank | 0 comment | 0 complexity | be82176d8566b3c872a38a19816e5ef7 MD5 | raw file
  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. All advertising materials mentioning features or use of this software
 13.\"    must display the following acknowledgement:
 14.\"	This product includes software developed by the University of
 15.\"	California, Berkeley and its contributors.
 16.\" 4. Neither the name of the University nor the names of its contributors
 17.\"    may be used to endorse or promote products derived from this software
 18.\"    without specific prior written permission.
 19.\"
 20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 30.\" SUCH DAMAGE.
 31.\"
 32.\"	@(#)a2.t	5.1 (Berkeley) 4/17/91
 33.\"
 34.SH
 35run (shell script)
 36.LP
 37.vS
 38#! /bin/csh -fx
 39# Script to run benchmark programs.
 40#
 41date
 42make clean; time make
 43time syscall 100000
 44time seqpage -p 7500 10
 45time seqpage -v -p 7500 10
 46time randpage -p 7500 30000
 47time randpage -v -p 7500 30000
 48time gausspage -p 7500 -s 1 30000
 49time gausspage -p 7500 -s 10 30000
 50time gausspage -p 7500 -s 30 30000
 51time gausspage -p 7500 -s 40 30000
 52time gausspage -p 7500 -s 50 30000
 53time gausspage -p 7500 -s 60 30000
 54time gausspage -p 7500 -s 80 30000
 55time gausspage -p 7500 -s 10000 30000
 56time csw 10000
 57time signocsw 10000
 58time pipeself 10000 512
 59time pipeself 10000 4
 60time udgself 10000 512
 61time udgself 10000 4
 62time pipediscard 10000 512
 63time pipediscard 10000 4
 64time udgdiscard 10000 512
 65time udgdiscard 10000 4
 66time pipeback 10000 512
 67time pipeback 10000 4
 68time udgback 10000 512
 69time udgback 10000 4
 70size forks
 71time forks 1000 0
 72time forks 1000 1024
 73time forks 1000 102400
 74size vforks
 75time vforks 1000 0
 76time vforks 1000 1024
 77time vforks 1000 102400
 78countenv
 79size nulljob
 80time execs 1000 0 nulljob
 81time execs 1000 1024 nulljob
 82time execs 1000 102400 nulljob
 83time vexecs 1000 0 nulljob
 84time vexecs 1000 1024 nulljob
 85time vexecs 1000 102400 nulljob
 86size bigjob
 87time execs 1000 0 bigjob
 88time execs 1000 1024 bigjob
 89time execs 1000 102400 bigjob
 90time vexecs 1000 0 bigjob
 91time vexecs 1000 1024 bigjob
 92time vexecs 1000 102400 bigjob
 93# fill environment with ~1024 bytes
 94setenv a 012345678901234567890123456789012345678901234567890123456780123456789
 95setenv b 012345678901234567890123456789012345678901234567890123456780123456789
 96setenv c 012345678901234567890123456789012345678901234567890123456780123456789
 97setenv d 012345678901234567890123456789012345678901234567890123456780123456789
 98setenv e 012345678901234567890123456789012345678901234567890123456780123456789
 99setenv f 012345678901234567890123456789012345678901234567890123456780123456789
100setenv g 012345678901234567890123456789012345678901234567890123456780123456789
101setenv h 012345678901234567890123456789012345678901234567890123456780123456789
102setenv i 012345678901234567890123456789012345678901234567890123456780123456789
103setenv j 012345678901234567890123456789012345678901234567890123456780123456789
104setenv k 012345678901234567890123456789012345678901234567890123456780123456789
105setenv l 012345678901234567890123456789012345678901234567890123456780123456789
106setenv m 012345678901234567890123456789012345678901234567890123456780123456789
107setenv n 012345678901234567890123456789012345678901234567890123456780123456789
108setenv o 012345678901234567890123456789012345678901234567890123456780123456789
109countenv
110time execs 1000 0 nulljob
111time execs 1000 1024 nulljob
112time execs 1000 102400 nulljob
113time execs 1000 0 bigjob
114time execs 1000 1024 bigjob
115time execs 1000 102400 bigjob
116.vE
117.bp