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

junest run much slower than local machine #193

Closed
yinflying opened this issue Jun 11, 2017 · 3 comments
Closed

junest run much slower than local machine #193

yinflying opened this issue Jun 11, 2017 · 3 comments

Comments

@yinflying
Copy link

I just find that junest run much slower than local machine, When I run vim (with many plugins), I find it will run very slow( at least much slower than without junest). Besides, I found that some program seems to run slower with junest.

Is there any way to solve the problem?

@fsquillace
Copy link
Owner

This is due to some limitation from proot: proot-me/proot#106

It is possible that junest is attempting to run proot with PROOT_NO_SECCOMP=1 variable because of some particular version of the your linux kernel. Without using seccomp performance will be significantly slowed down.

@unixfox
Copy link

unixfox commented Dec 13, 2018

@fsquillace Can you update the proot binary of junest? A new version that fix the SECCOMP has just been released: proot-me/proot@49ddab2
PS: I just tested by manually recompiling the binary and it's working fine!

@fsquillace
Copy link
Owner

So, JuNest will go more into the direction of Linux namespaces. The latest release is making it as the default backend and proot as a secondary because Linux user namespace is now enabled by default in the majority of Linux distros. The slow deprecation of proot is due to the fact that maintenance of proot becomes more and more complex. The other problem is that JuNest requires proot to be statically compiled which is something that does not seems to be supported anymore. I will keep an eye from time to time to understand if things change in the proot world.

For now, I can just suggest you to move to Linux namespaces backend if you can. Closing.

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

No branches or pull requests

3 participants