Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2012 13:51:35 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        Florian Smeets <flo@freebsd.org>
Cc:        freebsd-performance@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Scheduler + IPC performance on FreeBSD 7.4, 8.2, 9.0 and -CURRENT
Message-ID:  <CACqU3MUNUGCQWhcvrTw2J8FbFxQ3-MdFpMbTT5LGtPNQbnGjYQ@mail.gmail.com>
In-Reply-To: <4F7EFC89.1090805@FreeBSD.org>
References:  <CACqU3MXOM1WOPkinxfs2YJmGbgx8-gAmUbK4L3epKPg6OpQXAw@mail.gmail.com> <4F7EFC89.1090805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Fri, Apr 6, 2012 at 10:24 AM, Florian Smeets <flo@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqU3MUNUGCQWhcvrTw2J8FbFxQ3-MdFpMbTT5LGtPNQbnGjYQ>