Announcement

Collapse
No announcement yet.

Linux 4.2 Will Tweak The CFQ Scheduler For SSDs To Offer Better Performance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux 4.2 Will Tweak The CFQ Scheduler For SSDs To Offer Better Performance

    Phoronix: Linux 4.2 Will Tweak The CFQ Scheduler For SSDs To Offer Better Performance

    The Linux 4.2 kernel will make the CFQ I/O scheduler default to its IOPS mode when on solid-state drives, which should boost performance...

    http://www.phoronix.com/scan.php?pag...IOPS-Linux-4.2

  • #2
    Very Interesting, thank you!

    Comment


    • #3
      Is this option available and ready to use in 3.16?

      Comment


      • #4
        Originally posted by roberth View Post
        Is this option available and ready to use in 3.16?

        Try the following command:
        Code:
        find /sys -type f -name slice_idle
        and then:
        Code:
        echo "0" >file_name_found_in_first_command_which_applies_to_your_ssd
        so we don't need to wait for 4.2 kernel to test it.

        Comment


        • #5
          Originally posted by chilek View Post


          Try the following command:
          Code:
          find /sys -type f -name slice_idle
          and then:
          Code:
          echo "0" >file_name_found_in_first_command_which_applies_to_your_ssd
          so we don't need to wait for 4.2 kernel to test it.
          Code:
          [COLOR=#000000][[email protected] ~]$ sudo echo "0" > /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda/queue/iosched/slice_idle[/COLOR]  
           An error occurred while redirecting file '/sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda/queue/iosched/slice_idle' open: Permission denied
          EDIT: Okay maybe not use sudo for that. But how do I make it an udev rule so it gets renable on restarts?
          Last edited by roberth; 06 June 2015, 10:35 AM.

          Comment


          • #6
            If the BFQ patches would be merged, it would probably be even better, but that's unfortunately not going to happen anytime soon :/

            Comment


            • #7
              Originally posted by roberth View Post
              EDIT: Okay maybe not use sudo for that. But how do I make it an udev rule so it gets renable on restarts?
              Actually It depends on distribution which you use.
              In fedora you can create /etc/rc.d/rc.local file as executable script and put those lines there.

              Comment


              • #8
                Is this an improvement compared to other operating systems or catching up?

                Comment


                • #9
                  Originally posted by eydee View Post
                  Is this an improvement compared to other operating systems or catching up?
                  It's some kind of autotuning which should be done manually in kernels released so far.

                  Comment


                  • #10
                    "Note that this mode switching takes effect only for group scheduling. For non-cgroup users nothing should change."

                    not for auto process grouping ?

                    Comment

                    Working...
                    X