~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to performance-tests/Synch-Benchmarks/Perf_Test/README

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
The files in this directory support controlled benchmarking of the ACE
2
 
synchronization mechanisms.
3
 
 
4
 
  These mechanisms include:
5
 
 
6
 
        . Mutexes
7
 
        . Reader/writer locks
8
 
        . Condition variables
9
 
        . Semaphores
10
 
        . Tokens
11
 
        . Adaptive lockings
12
 
 
13
 
There are additional tests that measure the memory bandwidth under the
14
 
following conditions:
15
 
 
16
 
        . User memory-to-memory copying of data within a single thread
17
 
        . User memory-to-kernel-to-user memory copying via pipes
18
 
          between separate processes, as well as between separate
19
 
          threads in the same process
20
 
 
21
 
There are many options available for this module that can be put into
22
 
svc.conf files.  See the Performance_Test_Options.[Chi] file for more
23
 
details.  Some reasonable options to use to run the tests are:
24
 
 
25
 
 -v -B -s 15
26
 
 -v -n 4 -t 4 -s 15
27
 
 
28
 
You should experiment with other options as you see fit.  Note that on
29
 
Solaris, you should always make sure that you have more than 1 LWP (by
30
 
using either the -B or the -n options) since otherwise the program may
31
 
get into an infinite loop due to the semantics of SunOS unbound
32
 
threads... (This may no longer be the case.)
33
 
 
34
 
 
35
 
Available Options in Performance_Test module:
36
 
=============================================
37
 
 
38
 
Thread Creation:
39
 
----------------
40
 
      -B:    Create thread with THR_BOUND
41
 
      -D:    Create thread with THR_DETACHED
42
 
      -N:    Create thread with flag THR_NEW_LWP
43
 
      -n:    Set # of lwp's (default is 0)
44
 
      -t:    Set # of threads contending the lock (default is 4)
45
 
 
46
 
Run Test:
47
 
---------
48
 
      -s:    Set testing duration (in seconds, default is 100)
49
 
      -T:    Enable/disable tracing.
50
 
 
51
 
Misc:
52
 
-----
53
 
      -p:    Toggle whether summary is printed
54
 
      -e:    Perform eager exit (without cleaning up)
55
 
      -M:    Set message size in pipe_[proc|thr]_test
56
 
 
57
 
Reserved Flags:
58
 
---------------
59
 
      -a:    Not used.  (do_ack ???)
60
 
      -A:    Not used.  (set rendezvous point)
61
 
      -c:    Not used.  (# of connections)
62
 
      -C:    Not used.  (Toggle calculate checksum)
63
 
      -d:    Not used.  (Enable debugging)
64
 
      -F:    Not used.  (Free memory)
65
 
      -g:    Not used.  (generate data ??)
66
 
      -H:    Not used.  (set high water mark)
67
 
      -i:    Not used.  (# of iterations)
68
 
      -L:    Not used.  (set low water mark)
69
 
      -l:    Not used.  (set initial queue length)
70
 
      -m:    Not used.  (set mapped file name)
71
 
      -P:    Not used.  (set consecutive ports)
72
 
      -S:    Not used.  (set service_entry ???)
73
 
      -u:    Not used.  (use udp)
74
 
      -v:    Not used.  (set display verbosely)
75
 
      -X:    Not used.  (Use xdr conversion)
76
 
      -Z:    Not used.  (Do zero copy)