performance: move tracepoints in performance/

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_message: disable dead code for custom tracepoints

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
performance: use the correct symbol for seconds

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
performance: increase progress period

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
performance: simplify latency report

Example:

PERFORMANCE_COUNTER node-count = 8
PERFORMANCE_COUNTER worker-count-per-node = 3
PERFORMANCE_COUNTER actor-count-per-worker = 100
PERFORMANCE_COUNTER worker-count = 24
PERFORMANCE_COUNTER actor-count = 2400
PERFORMANCE_COUNTER message-count-per-actor = 40000
PERFORMANCE_COUNTER message-count = 96000000
PERFORMANCE_COUNTER elapsed-time = 95.672920 s
PERFORMANCE_COUNTER computation-throughput = 1003418.735148 messages / s
PERFORMANCE_COUNTER node-throughput = 125427.341893 messages / s
PERFORMANCE_COUNTER worker-throughput = 41809.113964 messages / s
PERFORMANCE_COUNTER actor-throughput = 418.091140 messages / s

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
performance: add latency counters

Link: https://github.com/GeneAssembly/biosal/issues/751
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: the dirty buffer ring does not store messages

The commit ab22c4fa5e89 ("thorium: increase actor-level
throughput by +75%") introduced a memory leak.

This commit fixes that regression.

Performance (without the memory leak):

PERFORMANCE_COUNTER computation-throughput = 1155988.011637 messages / s
PERFORMANCE_COUNTER actor-throughput = 412.852861 messages / s

Link: https://github.com/GeneAssembly/biosal/issues/751
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
core: avoid a memory fence when using a spinlock

The counter 'actor-throughput' is now at 440 msg / s.
This morning, it was at 200 msg / s.

PERFORMANCE_COUNTER node-count = 4
PERFORMANCE_COUNTER worker-count-per-node = 7
PERFORMANCE_COUNTER actor-count-per-worker = 100
PERFORMANCE_COUNTER worker-count = 28
PERFORMANCE_COUNTER actor-count = 2800
PERFORMANCE_COUNTER message-count-per-actor = 40000
PERFORMANCE_COUNTER message-count = 112000000
PERFORMANCE_COUNTER elapsed-time = 90.849687 s
PERFORMANCE_COUNTER computation-throughput = 1232805.569784 messages / s
PERFORMANCE_COUNTER node-throughput = 308201.392446 messages / s
PERFORMANCE_COUNTER worker-throughput = 44028.770349 messages / s
PERFORMANCE_COUNTER actor-throughput = 440.287703 messages / s

Link: https://github.com/GeneAssembly/biosal/issues/751
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>