stanford-rc / fuse-migratefs

Filesystem overlay for transparent, distributed migration of active data across separate storage systems.
GNU General Public License v3.0
40 stars 10 forks source link

Command line options: multi-threading #7

Closed kcgthb closed 5 years ago

kcgthb commented 5 years ago

Provide command-line options to:

Depends on #6

thiell commented 5 years ago

FUSE uses as many threads as needed to process I/Os (except for forget calls), and keeps a pool of idle threads. The max idle threads can be set using the following migratefs option:

-o max_idle_threads=32

Having sufficient idle threads avoids thread creation overhead under load.

The default max_idle_threads is 10.

Added in 0e2daa73538a2f1ef5680da3a5b232734c299a8d

thiell commented 5 years ago

Added -o mt=0 to switch off libfuse multithreading in 54d13e7 (mt=1 is the default)