Multi-process compilationLib #768
Labels
dev experience
Makes tasks developing cakeml itself easier
enhancement
high reward
Improvements that will be noticed, >5-10% speedups
uncertain scope
PolyML seems to scale poorly beyond about 4 threads; even the currently parallel parts of compilationLib cannot keep the current 8 cores busy, much less higher counts. For large projects that want more parallelism, we would need to farm out work to processes, create additional theories, and load them in the original process when done. Starting new HOL processes and saving and loading theories has significant overhead (possibly less so if the source is turned into a heap), so the single-process threaded compilationLib would have to remain as an option.
The text was updated successfully, but these errors were encountered: