Monday 20 November 2017

linux-4.14-ck1, MuQSS version 0.162 for linux-4.14

Announcing a new -ck release, 4.14-ck1  with the latest version of the Multiple Queue Skiplist Scheduler, version 0.162. These are patches designed to improve system responsiveness and interactivity with specific emphasis on the desktop, but configurable for any workload.

linux-4.14-ck1:
-ck1 patches:
Git tree:
MuQSS only:
Download:
Git tree:
Apart from minor cleanups and syncing with the current kernel, I have removed the default BFQ patch from -ck1 which did not reliably work, though I have changed its default config setting to on along with blk mq scsi default to on which is required to make it work. It will not default to BFQ at boot time.
Enjoy!
お楽しみ下さい
-ck

10 comments:

  1. thx for the release.

    ReplyDelete
  2. ck,

    The fixes and improvements for blk-mq from bvanassche and Ming Lei solve all bfq-mq issues.

    https://www.mail-archive.com/linux-block@vger.kernel.org/msg15541.html

    https://lkml.org/lkml/2017/10/14/65

    ReplyDelete
    Replies
    1. I can confirm that; I've been running these patches (and their earlier versions) for a while w/o issue. I have not yet tried MuQSS for 4.14 though, as I just recently resynced with 4.14 release after running 4.14-rc's and linux-next for a while.

      Delete
  3. 4.14-ck1 seems to be incompatible with 4.14.15:

    kernel/sched/MuQSS.c: In function ‘try_to_wake_up’:
    kernel/sched/MuQSS.c:1962:3: error: too few arguments to function ‘delayacct_blkio_end’
    delayacct_blkio_end();
    ^
    In file included from kernel/sched/MuQSS.c:41:0:
    ./include/linux/delayacct.h:125:20: note: declared here
    static inline void delayacct_blkio_end(struct task_struct *p)
    ^
    kernel/sched/MuQSS.c: In function ‘try_to_wake_up_local’:
    kernel/sched/MuQSS.c:2025:4: error: too few arguments to function ‘delayacct_blkio_end’
    delayacct_blkio_end();
    ^
    In file included from kernel/sched/MuQSS.c:41:0:
    ./include/linux/delayacct.h:125:20: note: declared here
    static inline void delayacct_blkio_end(struct task_struct *p)
    ^

    Anyone else seeing this?

    It worked great with each kernel up to 4.14.14, has low enough latency even without preempt, thanks for the great work :)

    ReplyDelete
    Replies
    1. Yes, same issue:

      https://gist.github.com/kuzetsa/f73db335318b0ad2ce5dcbc2db81bc37

      Delete
    2. Changing all occurrences of delayacct_blkio_end(); to delayacct_blkio_end(p); in kernel/sched/MuQSS.c seems to fix the issue and the kernel boots fine. I can't judge if it's the correct solution though.

      Delete
    3. Replace delayacct_blkio_end(); by delayacct_blkio_end(p) in kernel/sched/MuQSS.c seems to be the good solution.
      Parameter p reffers to the same struct type in both kernel/sched/core.c and kernel/sched/MuQSS.c.

      Zentoo

      Delete
  4. I can't boot with -ck patchset (from Archlinux AUR) with MuQSS enabled on AMD Threadripper 1950x. Please see more information in forums https://bbs.archlinux.org/viewtopic.php?pid=1768220

    Leonidas

    ReplyDelete
  5. Does anyone have a refactored patch that applies cleanly to the latest versions of this LTS kernel?

    ReplyDelete