gmastersin@gmail.com revised this gist 1 month ago. Go to revision
2 files changed, 16 insertions, 20 deletions
fuse-io_uring.service(file created)
| @@ -0,0 +1,15 @@ | |||
| 1 | + | [Unit] | |
| 2 | + | Description=Enable use of fuse through io_uring | |
| 3 | + | Documentation=https://www.opennet.ru/tips/3270_fuse_io_uring_optimization_tune_kernel.shtml | |
| 4 | + | DefaultDependencies=no | |
| 5 | + | After=systemd-sysctl.service | |
| 6 | + | Before=sysinit.target | |
| 7 | + | ||
| 8 | + | [Service] | |
| 9 | + | Type=oneshot | |
| 10 | + | ExecStart=/bin/sh -c 'echo 1 > /sys/module/fuse/parameters/enable_uring' | |
| 11 | + | ExecStop=/bin/sh -c 'echo 0 > /sys/module/fuse/parameters/enable_uring' | |
| 12 | + | RemainAfterExit=yes | |
| 13 | + | ||
| 14 | + | [Install] | |
| 15 | + | WantedBy=sysinit.target | |
fuse.md
| @@ -1,24 +1,5 @@ | |||
| 1 | - | Повышение производительности FUSE при помощи io_uring | |
| 1 | + | # Повышение производительности FUSE при помощи io_uring | |
| 2 | 2 | * https://www.opennet.ru/tips/3270_fuse_io_uring_optimization_tune_kernel.shtml | |
| 3 | 3 | * https://www.phoronix.com/news/Linux-6.6-sysctl-IO_uring | |
| 4 | 4 | * https://raw.githubusercontent.com/libfuse/libfuse/master/doc/README.fuse-io-uring | |
| 5 | 5 | * https://docs.kernel.org/filesystems/fuse-io-uring.html | |
| 6 | - | ||
| 7 | - | ``` | |
| 8 | - | [Unit] | |
| 9 | - | Description=Enable use of fuse through io_uring | |
| 10 | - | Documentation=https://www.opennet.ru/tips/3270_fuse_io_uring_optimization_tune_kernel.shtml | |
| 11 | - | DefaultDependencies=no | |
| 12 | - | After=systemd-sysctl.service | |
| 13 | - | Before=sysinit.target | |
| 14 | - | ||
| 15 | - | [Service] | |
| 16 | - | Type=oneshot | |
| 17 | - | ExecStart=/bin/sh -c 'echo 1 > /sys/module/fuse/parameters/enable_uring' | |
| 18 | - | ExecStop=/bin/sh -c 'echo 0 > /sys/module/fuse/parameters/enable_uring' | |
| 19 | - | RemainAfterExit=yes | |
| 20 | - | ||
| 21 | - | [Install] | |
| 22 | - | WantedBy=sysinit.target | |
| 23 | - | ||
| 24 | - | ``` | |
gmastersin@gmail.com revised this gist 1 month ago. Go to revision
1 file changed, 24 insertions
fuse.md(file created)
| @@ -0,0 +1,24 @@ | |||
| 1 | + | Повышение производительности FUSE при помощи io_uring | |
| 2 | + | * https://www.opennet.ru/tips/3270_fuse_io_uring_optimization_tune_kernel.shtml | |
| 3 | + | * https://www.phoronix.com/news/Linux-6.6-sysctl-IO_uring | |
| 4 | + | * https://raw.githubusercontent.com/libfuse/libfuse/master/doc/README.fuse-io-uring | |
| 5 | + | * https://docs.kernel.org/filesystems/fuse-io-uring.html | |
| 6 | + | ||
| 7 | + | ``` | |
| 8 | + | [Unit] | |
| 9 | + | Description=Enable use of fuse through io_uring | |
| 10 | + | Documentation=https://www.opennet.ru/tips/3270_fuse_io_uring_optimization_tune_kernel.shtml | |
| 11 | + | DefaultDependencies=no | |
| 12 | + | After=systemd-sysctl.service | |
| 13 | + | Before=sysinit.target | |
| 14 | + | ||
| 15 | + | [Service] | |
| 16 | + | Type=oneshot | |
| 17 | + | ExecStart=/bin/sh -c 'echo 1 > /sys/module/fuse/parameters/enable_uring' | |
| 18 | + | ExecStop=/bin/sh -c 'echo 0 > /sys/module/fuse/parameters/enable_uring' | |
| 19 | + | RemainAfterExit=yes | |
| 20 | + | ||
| 21 | + | [Install] | |
| 22 | + | WantedBy=sysinit.target | |
| 23 | + | ||
| 24 | + | ``` | |