summaryrefslogtreecommitdiff
path: root/performance-tests/Synch-Benchmarks/Perf_Test/README
blob: af425adcffe63fba1fed4d08b875a416de794768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
The files in this directory support controlled benchmarking of the ACE
synchronization mechanisms.

  These mechanisms include:

	. Mutexes
	. Reader/writer locks
	. Condition variables
	. Semaphores
        . Tokens
        . Adaptive lockings

There are additional tests that measure the memory bandwidth under the
following conditions:

	. User memory-to-memory copying of data within a single thread
 	. User memory-to-kernel-to-user memory copying via pipes
	  between separate processes, as well as between separate
	  threads in the same process

There are many options available for this module that can be put into
svc.conf files.  See the Performance_Test_Options.[Chi] file for more
details.  Some reasonable options to use to run the tests are:

 -v -B -s 15
 -v -n 4 -t 4 -s 15

You should experiment with other options as you see fit.  Note that on
Solaris, you should always make sure that you have more than 1 LWP (by
using either the -B or the -n options) since otherwise the program may
get into an infinite loop due to the semantics of SunOS unbound
threads... (This may no longer be the case.)