Re: Scheduler + IPC performance on FreeBSD 7.4, 8.2, 9.0 and -CURRENT

From: Arnaud Lacombe <lacombar_at_gmail.com>
Date: Fri, 6 Apr 2012 13:51:35 -0400
Hi,

On Fri, Apr 6, 2012 at 10:24 AM, Florian Smeets <flo_at_freebsd.org> wrote:
> On 05.04.12 20:03, Arnaud Lacombe wrote:
>>
>> Hi folks,
>
> Hi,
>>
>> Over the past months, I ran on a couple of unused box the
>> `hackbench'[HACKBENCH] benchmark used by the Linux folks for tracking
>> down various kind of regression/improvement. `hackbench' is a
>> scheduler + IPC test (socket xor pipe). It creates producers/consumers
>> groups and let a variable quantity of small messages flow happily.
>> Producers and consumers are either processes xor threads.
> [Lots of likely very interesting and valuable data.]
>
>>
>> Q4: "So, how can I get all the graph ?"
>> R4: All you need is git, a posix shell, a couple of utility (find,
>> sort, ...), a recent gnuplot, and a ruby interpreter.
>>
>
> Can you give us some hints on *how* to get the results? I checked the repo
> out but it's not immediately obvious what to do and how to get the graphs,
> as staring at thousands of numbers in lots of different files isn't exactly
> practical.
>
To just get all the graph, merge the runs/* branch you want, and just
run the `results.sh' script:
# sh results.sh

To gather result, build `hackbench':

# eval $(sed '/#gcc/!d; s/.//' hackbench.c)

then, reboot in single mode, mount / read-write, adjust whatever you
have to adjust and run the script:

# sh hackbench.sh [light|medium|heavy] $(pwd)/hackbench

this will run a complete iterations over all the possible tunables and
gives you a `results.yml' that you can feed to the previous script.

 - Arnaud

> Thanks,
> Florian
Received on Fri Apr 06 2012 - 15:51:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC