renaissance icon indicating copy to clipboard operation
renaissance copied to clipboard

Make it possible to run two Renaissance instances side by side

Open lbulej opened this issue 5 years ago • 4 comments

I'm not sure whether it is possible or not at the moment, but as we merge benchmarks with complex underlying frameworks, we should make sure that they can't step on each other's toes.

This is probably easy for things such as scratch space -- the harness should provide a benchmark with a scratch directory beneath a global scratch space.

It's probably going to be more difficult for things such as port numbers, if we use benchmarks that communicate over socket (Spark comes to mind).

lbulej avatar Apr 09 '19 18:04 lbulej

That's a good point - we should probably create a scratch subdirectory when running a benchmark, and ensure that it runs within it.

Not sure how the address issues such as ports, other than being knowledgeable about this when writing the benchmark, and having the harness assign it through the configuration object.

axel22 avatar Apr 09 '19 18:04 axel22

BTW in https://github.com/D-iii-S/renaissance-benchmarks/pull/17 I added logic to have common scratch dir generation for spark benchmarks, maybe we should adhere to this for the entire suite.

davleopo avatar Apr 10 '19 14:04 davleopo

Regarding ports, note that many of the frameworks have some configurability options regarding the ports that they use.

axel22 avatar Apr 17 '19 13:04 axel22

Based on the non trivial aspect of the issue and the fact that there exists tools to trap processes in their own environment (firejail or even docker), I'm removing the 1.0.0 milestone for now.

farquet avatar Dec 02 '20 14:12 farquet