Rusty Russell's Readme


Hi all,

I've cut down the chat benchmark into a version which doesn't use threads or semaphores, and called it hackbench:

On a 12-way PPC64:
2.4.17-pre7:
hackbench 50: Time: 851.469 Time: 847.143 Time: 826.868

2.4.17-pre7-multiqueue-patch:
hackbench 50: Time: 15.120 Time: 14.766 Time: 15.067

hackbench 1 creates a group of 20 processes listening on a socket each, and 20 writers: each of the writers writes 100 messages to each socket (ie. 20 x 100 messages each).

hackbench 50 simply runs 50 of these groups in parallel. You'd expect it to be 5 times slower than hackbench 10, but without the multiqueue patch:

  1. Time: 10.573 Time: 13.471 Time: 9.289
  2. Time: 851.469 Time: 847.143 Time: 826.868

Enjoy,
Rusty.

--

Anyone who quotes me in their sig is an idiot. -- Rusty Russell.