fah-nacl-client icon indicating copy to clipboard operation
fah-nacl-client copied to clipboard

Restrict to one NaCl instance

Open Jesse-V opened this issue 11 years ago • 4 comments

It is possible to open multiple NaCl instances by repeatedly opening http://folding.stanford.edu/nacl/. Like Web Control, only one instance should be running at a time.

Not only do the simultaneous instances fight over resources, but it may also cause problems with the saving and resuming of WUs, although I have not tested that.

Jesse-V avatar Feb 23 '14 18:02 Jesse-V

I did successfully open up 7 instances of the NaCl URL in Chrome. When I tried to open an eighth one, it wouldn't open and I closed the tab (unsure why that was). Each tab behaved individually, you can pause/resume without issues (WU isn't meant to be saved for Chrome restart) and if you close the tab, you can set it to finish mode without effecting other tabs. However, the time taken to process the WU increase significantly which was expected.

If NaCl can detect multiple instances, maybe issue a warning that a single instance is more than sufficient.

PantherX avatar Feb 23 '14 18:02 PantherX

That's why we are pushing the use of the App, not the NaCl web site. The App is also easier to install.

But until they fix the Win 32 issue of not using all CPU cores, multiple NaCl tabs becomes a solution instead of a problem.

7im- avatar Feb 23 '14 19:02 7im-

@7im- NaCl has used all four CPU cores on my computer, so the slider bar seems to fully work on my machine at least.

Jesse-V avatar Feb 25 '14 04:02 Jesse-V

Please read through #30 which shows the problem was solved on all but the Win 32 bit systems. And may be solved for all, but I would like to hear from others to confirm it.

7im- avatar Feb 25 '14 19:02 7im-