• ssd - i/o scheduler


    I read wiki how improve system and ssd disc and it`s many tutorial how change i/o scheduler but my question is which is the best for ssd? Once people recommend noop (arch wiki) another time deadline (debian wiki) on manjaro they prefer bfq so sorry but I have no experience in this field and I am completely lost different opinions are not clear for me.

    Maybe someone will share his experience?

  • @joekamprad

    no. These topics are about TRIM and I want to know what scheduler is the best for ssd:
    -cfq
    -noop
    -deadline
    -bfq

    use this command to check what you use

    dmesg | grep scheduler
    
  • Scheduler for SSDs The Deadline Scheduler is well-suited for interacting with SSDs because it does not rely on the excessive merging of requests. In many places, NOOP is praised as the best scheduler for SSDs because it simply passes the requests to the device. For performance reasons this is quite conclusive, but the fairness of the scheduler times under applications can suffer.
    Source: Thomas-Krenn

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    how to add system logs

  • Do you already try to change the scheduler?
    i try it and adding elevator=noop to kernel parameters does not change it.
    But temporarly it works:

    [[email protected] killajoe]# echo noop > /sys/block/sdb/queue/scheduler
    [[email protected] killajoe]# exit
    exit
    [email protected] ~  
    ╰─➤  cat /sys/block/sdb/queue/scheduler
    [noop] deadline cfq 
    

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    how to add system logs

  • systemd-tmpfiles solution works:
    https://wiki.archlinux.org/index.php/Improving_performance#systemd-tmpfiles
    Also the best solution if you get different HD in system

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    how to add system logs

  • yes i try change scheduler

    GRUB_CMDLINE_LINUX_DEFAULT="quiet elevator=noop"
    

    and after that

    sudo grub-mkconfig -o /boot/grub/grub.cfg
    

    and for me works so i dont need temporary solution. but thx for help

  • systemd-tmpfiles solution is permanent too but per device:
    create: /etc/tmpfiles.d/10_ioscheduler.conf with this inside
    w /sys/block/sdX/queue/scheduler - - - - noop

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    how to add system logs

ssd20 scheduler1 Posts 8Views 316
Log in to reply