Skip to content

Add ability to specify CPU affinity for wrk threads - #129

Open
ol-damirm wants to merge 1 commit into
giltene:masterfrom
ol-damirm:wrk-affinity
Open

Add ability to specify CPU affinity for wrk threads#129
ol-damirm wants to merge 1 commit into
giltene:masterfrom
ol-damirm:wrk-affinity

Conversation

@ol-damirm

Copy link
Copy Markdown

In some cases, it is necessary that the wrk2 threads run on a specific CPU.
Example of usage with affinity: "wrk -t 3 -a 0,1,2 -c 100 -d 5 -R 500000 ".

If the affinity parameter is not specified, then the threads will be run as
before (without any affinitization).

In some cases, it is necessary that the wrk2 threads run on a specific CPU.
Example of usage with affinity: "wrk -t 3 -a 0,1,2 -c 100 -d 5 -R 500000 <url>".

If the affinity parameter is not specified, then the threads will be run as
before (without any affinitization).
@alexeyrybak

Copy link
Copy Markdown

Amazing patch thanks a lot! Added this to wrkx: https://github.com/devhands-io/wrkx

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.

2 participants