test-infra icon indicating copy to clipboard operation
test-infra copied to clipboard

Add perflock to funcbench

Open bwplotka opened this issue 5 years ago • 3 comments

This ensures better safety in terms of CPU results - useful for shared environments.

Would be nice to do it programmatically: https://github.com/aclements/perflock/issues/6

bwplotka avatar Aug 24 '20 14:08 bwplotka

Yes this would be super nice I think! Let's see what aclements has to say.

Also, I am just unsure about how this would behave in containerized environments. Currently funcbench runs on a k8s pod in the main k8s node itself. Any suggestions?

I think it was tried running directly on a GCP VM but the results were more or less the same. @krasi-georgiev @nevill would have more info on this.

geekodour avatar Aug 24 '20 19:08 geekodour

Well the thing is that this is literally global locking mechanism allowing to run more than one benchmark at the time (: Useful when w have one VM!

I am not sure how it works in a containerized environment though (:

bwplotka avatar Aug 25 '20 11:08 bwplotka

Yes lets try it!

krasi-georgiev avatar Aug 27 '20 09:08 krasi-georgiev