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

cache: set the number of worker threads of tokio threads pool #246

Merged
merged 1 commit into from
Dec 28, 2021
Merged

cache: set the number of worker threads of tokio threads pool #246

merged 1 commit into from
Dec 28, 2021

Commits on Dec 27, 2021

  1. cache: set the number of worker threads of tokio threads pool

    It previously uses the default runtime builder which creates
    a thread for each cpu core. Nydusd on a server equipped many
    cpu sockets and cores will start many threads most of which are
    idle.
    
    In addition, use `spawn_blocking` instead which is more reasonable
    within blobcache scenario
    
    Signed-off-by: Changwei Ge <chge@linux.alibaba.com>
    changweige committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    dddf373 View commit details
    Browse the repository at this point in the history