projectbismark / censorscope

Other
12 stars 4 forks source link

Make subprocesses nice #58

Open sburnett opened 10 years ago

sburnett commented 10 years ago

Use the nice syscall to decrease priority of sandboxed execution.

JustinCappos commented 10 years ago

This doesn't work as well as you might think. Nice is remarkably ineffective. (I'll share a paper with you that talks more about this.)

We did polling and then use SIGSTOP / SIGCONT (at least of Linux systems) to better enforce CPU restrictions.

On Wed, Jan 8, 2014 at 11:37 AM, Sam Burnett notifications@github.comwrote:

Use the nice syscall to decrease priority of sandboxed execution.

— Reply to this email directly or view it on GitHubhttps://github.com/projectbismark/censorscope/issues/58 .

sburnett commented 10 years ago

Very good to know. Thanks!

On Wed, Jan 08, 2014 at 10:45:49AM -0800, JustinCappos wrote:

This doesn't work as well as you might think. Nice is remarkably ineffective. (I'll share a paper with you that talks more about this.)

We did polling and then use SIGSTOP / SIGCONT (at least of Linux systems) to better enforce CPU restrictions.

On Wed, Jan 8, 2014 at 11:37 AM, Sam Burnett notifications@github.comwrote:

Use the nice syscall to decrease priority of sandboxed execution.

— Reply to this email directly or view it on GitHubhttps://github.com/projectbismark/censorscope/issues/58 .


Reply to this email directly or view it on GitHub: https://github.com/projectbismark/censorscope/issues/58#issuecomment-31864553