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

Arnaud Lacombe <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.performance
Message-ID <CACqU3MUNUGCQWhcvrTw2J8FbFxQ3-MdFpMbTT5LGtPNQbnGjYQ@mail.gmail.com>
Hi,

On Fri, Apr 6, 2012 at 10:24 AM, Florian Smeets <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.