OS: Tuning Completely Fair Queueing CFQ I/O scheduler
Completely Fair Queueing (CFQ) I/O scheduler mengatur komitmen bagaimana Linux kernel membaca dan menulis ke disk dan bekerja untuk mengoptimasi waktu akses ke disk. Tanpa I/O Scheduler, kernel akan langsung menjalankan setiap request pada saat di terima, dan ini akan menyebabkan kerusakan: jika satu proses membaca dari satu bagian dari disk, dan satu menulis pada bagian yang lain, head disk harus bergerak maju dan mundur menjelajahi disk untuk setiap operasi. Kta dapat menggunakan CFQ scheduler untuk mengontrol bagaimana kernel membaca dan menulis ke disk untuk menghindari kerusakan.
Note: Using other schedulers with the SAP SD workload in the test environment did not result in a performance gain. Ensure that CFQ is the I/O scheduler enabled on your system with the following command:
# cat /sys/block/<device>/queue/scheduler # noop anticipatory deadline [cfq]
where device is the name of the disk on which you want CFQ to run.
The brackets ([]) indicate the scheduler that is currently in effect. Or, you can change the assigned scheduler with the following command:
# echo cfq > /sys/block/<device>/queue/scheduler
where device is the name of the disk on which you want to change the assigned scheduler.
Referensi
Pranala Menarik
- Linux
- Ubuntu
- Sistem Operasi
- Linux: Instalasi Sistem Operasi
- Linux: Skema Partisi di Linux
- Kernel
- Compile Kernel
- Compile Kernel: Konfigurasi Kernel
- Kernel: Anatomi Kernel Source
- OS: Linux Kernel
- OS: Parameter Kernel Default
- OS: Kernel Scheduler
- OS: Complete Teori Tuning Kernel Scheduler
- OS: Complete Teori Tuning I/O Performance
- OS: Tuning Kernel Scheduler
- OS: Tuning Completely Fair Queueing CFQ I/O scheduler
- OS: Tuning Completely Fair scheduler CFS
- OS: Build in Monitoring Tool
- Linux Benchmarking
- OS: Benchmarking menggunakan UnixBench
- OS: Benchmarking menggunakan LLCBench
- OS: Mengerti System Call
- OS: Membuat Kernel Modul