cms
cms copied to clipboard
Deterministic assignment of sandbox IDs
When using CMS with the Isolate sandbox, the assignment of sandbox IDs for various purposes (compilation, solution, manager for communication tasks, etc.) is somewhat haphazard and unpredictable. So even though Isolate itself supports pinning of sandboxes to specific CPU cores and/or NUMA nodes, it cannot be used in CMS for pinning a specific type of sandbox. This would be very useful to minimize time measurement noise in various types of interactive tasks.
I would like to make the assignment of IDs configurable. That is, to allow specifying a map from a (shard, purpose) pair to Isolate's sandbox ID. For the purposes, we can re-use existing sandbox names, only in case of communication tasks with multiple instances of the solution, the name would have to be extended to include instance number.