Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kMaxThreads=100 is rather low for Native Client #8

Open
GoogleCodeExporter opened this issue Feb 15, 2016 · 0 comments
Open

kMaxThreads=100 is rather low for Native Client #8

GoogleCodeExporter opened this issue Feb 15, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The seccomp sandbox allocates per-thread data structures on startup,
so the maximum number of threads is fixed at startup.  This is set via
kMaxThreads, which is currently set to 100.

This is a bit low for Native Client.  Currently we support 8180
threads on Linux, 2556 on Mac OS X, and at least 900 on Windows (see
tests/egyptian_cotton/nacl.scons).  The maximum number of threads is
visible to untrusted code.  While we don't guarantee any number, 100
is a bit low compared with what we support currently.

See also issue 7.

Original issue reported on code.google.com by mseaborn@chromium.org on 1 Oct 2010 at 12:06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant