spin is an experimental project and far from beeing available for commercial usage. If you are interrested in spin: mailto://spin@toem.de.

Benchmarks

The first benchmark (“SimplePerf”) was taken from the systemC examples. It mainly performs context switches between a sink and the source thread sending characters via a fifo. The second benchmark (“SimpleAdd”) contains a signal generator connected to several adders and triggers mainly the scheduler and the port mechanisms. Comparing the results, it seems that the overall performance of spin is slightly better, just context switches seem to be more expensive. Especially the results of SimplePerf 10 and SimplePerf 20 point into this direction. The more fifo capacity is available, the less switches are needed.

Environments

Windows XP

SystemC Version: 2.2.0

Compiler: Visual C 2008

Options: /O2 /Ob2 /Ot

spin: 0.51

Java: 1.6

i5 3.3 GHz / Windows 32bit in VirtualBox

Ubuntu 10.11

SystemC Version: 2.2.0

Compiler: gcc

Options: /O3

spin: 0.51

Java: 1.7

i5 3.3 GHz 64bit Ubuntu

Benchmarks

SimplePerf 10

Threads: 2

Charcters: 10.000.000

Fifo: 10

SimplePerf 20

Threads: 2

Charcters: 10.000.000

Fifo: 20

SimplePerf NT (spin only)

Threads: 0

Charcters: 10.000.000

Fifo: 20

SimpleAdd 10x

Threads: 1

Iterations: 10.000.000

VCD Trace: no

SimpleAdd w. VCD Trace

Threads: 1

Iterations: 1.000.000

VCD Trace: yes

Print

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive