Skip to content

Commit

Permalink
add 1-core and 64-core benchmarks for threadring
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiko Fernandez Reyes committed Jan 30, 2015
1 parent 05c63ac commit 9bb8f28
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions experiments/threadring/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ Please find below different setups ordered by their real time (wall clock):

./threadring 237.62s user 231.54s system 199% cpu 3:55.23 total

## Tr.enc (single core)

time ./tr --ponythreads 1
./tr --ponythreads 1 166.46s user 144.37s system 99% cpu 5:11.02 total

## threadring.enc (single core)

time ./threadring --ponythreads 1
./threadring --ponythreads 1 168.65s user 147.10s system 99% cpu 5:16.30 total

## [Ocaml #3](http://benchmarksgame.alioth.debian.org/u32/program.php?test=threadring&lang=ocaml&id=3)

./threadring.ocaml-3.ocaml_run 50000000
Expand All @@ -109,3 +119,63 @@ Please find below different setups ordered by their real time (wall clock):
ruby threadring.yarv-2.yarv 50000000
ruby threadring.yarv-2.yarv 50000000 352.12s user 1023.07s system 141% cpu 16:13.53 total

## tr.enc (64 core)

/usr/bin/time --verbose ./tr --ponythreads 32

Command being timed: "./tr --ponythreads 32"
User time (seconds): 2554.50
System time (seconds): 630.74
Percent of CPU this job got: 276%
Elapsed (wall clock) time (h:mm:ss or m:ss): 19:12.89
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 5338212
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 1334727
Voluntary context switches: 495204614
Involuntary context switches: 15847042
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0

2554.50s user 630.74s system 276% cpu 19:12.89 total

## threadring.enc (64 core)

/usr/bin/time --verbose ./threadring --ponythreads 32
Finish: 292
Command being timed: "./threadring --ponythreads 32"
User time (seconds): 2840.07
System time (seconds): 721.65
Percent of CPU this job got: 257%
Elapsed (wall clock) time (h:mm:ss or m:ss): 23:03.46
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 5283532
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 1321050
Voluntary context switches: 612796255
Involuntary context switches: 21410138
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0

2840.07s user 721.65 system 257% cpu 23.03.46 total

0 comments on commit 9bb8f28

Please sign in to comment.