-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fscache: enable multi-threading to process fscache requests
Add command line option "fscache-threads" to nydusd to support multi-threading for fscache service. There's one thread to receive fscache request from cachefile fd, and dispatch `READ` requests to multiple working threads through a multi-producer, multi-consumer channel. We have observed about 40% performance boost when serving some multi threading container workloads. Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
- Loading branch information
Showing
3 changed files
with
62 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters