Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snabbmark: Add PMU support to mp-ring benchmark #809

Merged
merged 1 commit into from
Mar 8, 2016

Conversation

lukego
Copy link
Member

@lukego lukego commented Mar 8, 2016

Following on from #808...

The command-line argment -e / --events already existed but now it is actually implemented.

The report is only printed by child process #0 based on the assumption that all children would tell the same story.

Just for a taste here is a little script to run the benchmark with different events and process counts:

#!/usr/bin/env bash
for processes in 1 2 3; do
    for events in 'l2_rqsts' 'l2_trans' 'mem_trans_retired[.]load_latency_gt_' 'cycle_activity'; do
        echo "@@@@ processes $processes"
        echo "@@@@ events $events"
        sudo ./snabb snabbmark mp-ring --packets 10e6 --processes "$processes" --events "$events"
    done
done

See this gist for the raw output of the first run.

The command-line argment -e / --events already existed but now it is actually implemented.

The report is only printed by child process #0 based on the assumption
that all children would tell the same story.
lukego added a commit to lukego/snabb that referenced this pull request Mar 8, 2016
@lukego lukego merged commit 0d643d2 into snabbco:multiproc Mar 8, 2016
@lukego
Copy link
Member Author

lukego commented Mar 8, 2016

cc @xrme @kbara this is hopefully a useful development tool.

@lukego
Copy link
Member Author

lukego commented Mar 8, 2016

Last touch for now: I created a new gist that runs the same test but in a different order, so that the results for 1/2/3 processes are shown together i.e. easier to look at how certain counters changed between the 1 process and 2 process scenarios.

lukego pushed a commit to lukego/snabb that referenced this pull request May 22, 2017
…intel_mp

Disable bus-mastering cleanup for intel_mp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant