• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..22-Sep-201416

apple/H22-Sep-201442

AppleReadMeH A D13-Apr-20117.7 KiB

atomic.cH A D22-Jul-20081.8 KiB

bench.shH A D22-Sep-201429.9 KiB

benchDS.shH A D22-Sep-201411.3 KiB

benchmark_fini.cH A D22-Jul-20081.1 KiB

benchmark_finibatch.cH A D22-Jul-20081.1 KiB

benchmark_finirun.cH A D22-Jul-20081.1 KiB

benchmark_finiworker.cH A D22-Jul-20081.1 KiB

benchmark_init.cH A D22-Jul-20081.1 KiB

benchmark_initbatch.cH A D22-Jul-20081.1 KiB

benchmark_initrun.cH A D22-Jul-20081.1 KiB

benchmark_initworker.cH A D22-Jul-20081.1 KiB

benchmark_optswitch.cH A D22-Jul-20081.1 KiB

benchmark_result.cH A D22-Jul-20081.1 KiB

bind.cH A D22-Jul-20083.2 KiB

cachetocache.cH A D22-Jul-20084.4 KiB

cascade_cond.cH A D03-Jan-20095.9 KiB

cascade_fcntl.cH A D03-Jan-20094.6 KiB

cascade_flock.cH A D03-Jan-20094.7 KiB

cascade_lockf.cH A D03-Jan-20094.6 KiB

cascade_mutex.cH A D03-Jan-20094.7 KiB

chdir.cH A D22-Jul-20082.4 KiB

close.cH A D22-Jul-20082.4 KiB

close_tcp.cH A D22-Jul-20084.5 KiB

connection.cH A D22-Jul-20085.6 KiB

coreos_bench.shH A D22-Sep-201430.2 KiB

create_stuff.shH A D22-Jul-2008101

dup.cH A D22-Jul-20082.3 KiB

elided.cH A D22-Jul-20081.4 KiB

embd_bench.shH A D22-Sep-201429.3 KiB

exec.cH A D22-Jul-20081.9 KiB

exec_bin.cH A D22-Jul-20081.3 KiB

exit.cH A D22-Jul-20082.6 KiB

exp.cH A D22-Feb-20102.2 KiB

fcntl.cH A D22-Jul-20081.8 KiB

fcntl_ndelay.cH A D22-Jul-20081.9 KiB

file_lock.cH A D03-Jan-20091.9 KiB

fork.cH A D22-Jul-20082.2 KiB

getcontext.cH A D22-Jul-20081.6 KiB

getenv.cH A D22-Jul-20082.3 KiB

getpeername.cH A D22-Jul-20083.1 KiB

getpid.cH A D22-Jul-20081.3 KiB

getrusage.cH A D22-Jul-20081.7 KiB

getsockname.cH A D22-Jul-20082.5 KiB

gettimeofday.cH A D22-Jul-20081.6 KiB

isatty.cH A D22-Jul-20082 KiB

libmicro.cH A D03-Jan-200930.7 KiB

libmicro.hH A D22-Feb-20106 KiB

libmicro_main.cH A D22-Jul-20081.1 KiB

listen.cH A D22-Jul-20082.4 KiB

localtime_r.cH A D22-Jul-20081.7 KiB

log.cH A D22-Feb-20102.2 KiB

longjmp.cH A D12-May-20101.5 KiB

lrand48.cH A D22-Jul-20081.5 KiB

lseek.cH A D22-Jul-20082.3 KiB

MakefileH A D01-Apr-20113 KiB

Makefile.AixH A D22-Jul-20081,011

Makefile.benchmarksH A D28-Aug-20082.3 KiB

Makefile.comH A D21-Aug-20083.3 KiB

Makefile.com.DarwinH A D21-Aug-20083.5 KiB

Makefile.DarwinH A D01-Apr-20112.2 KiB

Makefile.LinuxH A D22-Jul-20081 KiB

Makefile.SunOSH A D22-Jul-20081.7 KiB

malloc.cH A D22-Jul-20082.6 KiB

memcpy.cH A D22-Jul-20083 KiB

memmove.cH A D22-Jul-20083 KiB

memrand.cH A D03-Jan-20092.6 KiB

memset.cH A D22-Jul-20083.3 KiB

mk_tarballH A D03-Jan-2009532

mktime.cH A D03-Jan-20092.1 KiB

mmap.cH A D22-Jul-20083.7 KiB

mprotect.cH A D03-Jan-20093.8 KiB

msync.cH A D22-Jul-20083.6 KiB

multiview.shH A D09-Sep-20085.2 KiB

munmap.cH A D22-Jul-20083.6 KiB

mutex.cH A D22-Jul-20083.2 KiB

nop.cH A D22-Jul-20081.3 KiB

od_account_create.shH A D22-Sep-20143.2 KiB

od_account_delete.shH A D22-Sep-20142.2 KiB

open.cH A D22-Jul-20082.3 KiB

OPENSOLARIS.LICENSEH A D22-Jul-200818.5 KiB

pipe.cH A D03-Jan-20099.7 KiB

poll.cH A D22-Jul-20084.1 KiB

pread.cH A D22-Jul-20082.5 KiB

pthread_create.cH A D22-Jul-20083 KiB

pwrite.cH A D22-Jul-20082.6 KiB

read.cH A D22-Jul-20082.5 KiB

READMEH A D28-Mar-20103.1 KiB

realpath.cH A D22-Jul-20081.6 KiB

recurse.cH A D22-Jul-20081.8 KiB

recurse2.cH A D22-Jul-20081.1 KiB

select.cH A D22-Jul-20084.2 KiB

semop.cH A D22-Jul-20081.9 KiB

setcontext.cH A D22-Jul-20081.3 KiB

setsockopt.cH A D22-Jul-20081.9 KiB

sigaction.cH A D22-Jul-20081.7 KiB

siglongjmp.cH A D12-May-20101.5 KiB

signal.cH A D03-Jan-20091.9 KiB

sigprocmask.cH A D03-Jan-20092 KiB

socket.cH A D22-Jul-20082.6 KiB

socketpair.cH A D03-Jan-20092.1 KiB

stat.cH A D22-Jul-20081.7 KiB

strcasecmp.cH A D03-Jan-20092.8 KiB

strchr.cH A D03-Jan-20092.8 KiB

strcmp.cH A D03-Jan-20092.8 KiB

strcpy.cH A D03-Jan-20092.7 KiB

strftime.cH A D03-Jan-20092.6 KiB

strlen.cH A D03-Jan-20092.7 KiB

strtol.cH A D22-Jul-20081.6 KiB

system.cH A D22-Jul-20081.8 KiB

tattle.cH A D22-Jul-20082.8 KiB

time.cH A D03-Jan-20091.5 KiB

times.cH A D03-Jan-20091.5 KiB

wrapper.shH A D22-Jul-20081,022

write.cH A D22-Jul-20082.7 KiB

writev.cH A D22-Jul-20082.8 KiB

README

1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms
5# of the Common Development and Distribution License
6# (the "License").  You may not use this file except
7# in compliance with the License.
8#
9# You can obtain a copy of the license at
10# src/OPENSOLARIS.LICENSE
11# or http://www.opensolaris.org/os/licensing.
12# See the License for the specific language governing
13# permissions and limitations under the License.
14#
15# When distributing Covered Code, include this CDDL
16# HEADER in each file and include the License file at
17# usr/src/OPENSOLARIS.LICENSE.  If applicable,
18# add the following below this CDDL HEADER, with the
19# fields enclosed by brackets "[]" replaced with your
20# own identifying information: Portions Copyright [yyyy]
21# [name of copyright owner]
22#
23# CDDL HEADER END
24#
25
26#
27# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
28# Use is subject to license terms.
29#
30
31Building the tarball
32--------------------
33As long as cc is in your path, (gcc on Linux),
34
35% tar xf libMicro.tar
36% make
37
38will build the benchmark suite.
39
40Running the benchmarks
41-----------------------
42
43A set of generic scripts to invoke each micro benchmark
44are created in the bin directory; these may be invoked
45directly.  Note that the actual binaries are created in
46OS-specific directories; this allows one to build for
47all varients (x86/sparc/Solaris/Linux) in one place.
48
49To collect a complete set of benchmarks, use the bench
50script and redirect its output to a file.
51
52% ./bench > output
53
54To compare the output of two or more runs, use multiview in the src
55directory:
56
57% ./multiview reference compare1 compare2 compare2 > compare.html
58%
59
60where the reference and compare files contain the output of different
61libmicro runs.
62
63The compare.html file will allow quick comparisons to be drawn,
64allowing a variety of experiments to be quickly analyzed.
65
66All benchmarks support the following options:
67
68       [-1] (single process; overrides -P > 1)
69       [-A] (align with clock)
70       [-B batch-size (default 10)]
71       [-C minimum number of samples (default 0)]
72       [-D duration in msecs (default 10s)]
73       [-E (echo name to stderr)]
74       [-H] (suppress headers)
75       [-I] specify approx. time per op in nsecs
76       [-L] (print argument line)
77       [-M] (reports mean rather than median)
78       [-N test-name ]
79       [-P processes (default 1)]
80       [-S] (print detailed stats)
81       [-T threads (default 1)]
82       [-V] (print the libMicro version and exit)
83       [-W] (flag possible benchmark problems)
84
85
86Apple-added Benchmarks
87-----------------------
88
89	create_file
90	geekbench_stdlib_write
91	getaddrinfo_port
92	getaddrinfo_host
93	getgrgid
94	getgrent
95	getgrnam
96	getppid
97	getpwnam
98	getpwuid
99	getpwent
100	lb_mmtest
101	lm_null_call
102	lmbench_bw_file_rd
103	lmbench_bw_mem
104	lmbench_bw_mmap_rd
105	lmbench_bw_unix
106	lmbench_fstat
107	lmbench_lat_ctx
108	lmbench_lat_sig_catch
109	lmbench_lat_sig_install
110	lmbench_lat_sig_prot
111	lmbench_lat_sig_send
112	lmbench_openclose
113	lmbench_read
114	lmbench_select_file
115	lmbench_select_tcp
116	lmbench_stat
117	lmbench_write
118	mbr_check_service_membership
119	mbr_check_membership
120	od_query_create_with_node
121	trivial
122	vm_allocate
123
124Also, please read AppleReadMe for further information.
125
126