Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

SMP Support #5

Closed
acw opened this issue Jul 25, 2012 · 1 comment
Closed

SMP Support #5

acw opened this issue Jul 25, 2012 · 1 comment

Comments

@acw
Copy link
Contributor

acw commented Jul 25, 2012

It would be nice if HaLVMs could use all the cool parallel stuff from the mainline of GHC, by utilizing multiple Xen VCPUs.
I think this is not actually all that difficult. In this case, when we boot up, we would figure out how many VCPUs we had been given and pass the appropriate number through the built-in command line. "Starting a new OS thread" then becomes booting an auxiliary processor. The big issue, really, is rewriting the locking structures that the GHC runtime expects of its threaded runtime.
Once the basic support for SMP HaLVMs is in place, we would also have to strongly consider just removing support for non-threaded-runtime versions of the HaLVM.

@viloocity
Copy link

I would personally avoid reverting to threads "by all means" but try to find something more innovative, i.e. coordination models.

@acw acw closed this as completed Oct 18, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants