Tuesday, February 4, 2020

BMQ v5.5-r1 release

BMQ v5.5-r1 is released with the following changes

1. Rework/Clean up cpu affinity cpumask setup code.
2. Introduce boot-time kernel parameter "bmq.timeslice".

As users request, introduced boot-time kernel parameter "bmq.timeslice" in us. Remove kernel config CONFIG_SCHED_TIMESLICE. Documented in Documentation/admin-guide/kernel-parameters.txt, copied here for reference

bmq.timeslice=  [KNL] Time slice in us for BMQ scheduler.
                Format: <int> (must be >= 1000)
                Default: 4000
                See Documentation/scheduler/sched-BMQ.txt

For example, add kernel parameter "bmq.timeslice=2000" to try out 2000us(2ms) time slice for BMQ.

Enjoy BMQ for your linux kernel.

Full kernel tree repository can be found at https://gitlab.com/alfredchen/linux-bmq
And all-in-one patch can be found at gitlab.

Bug report at https://gitlab.com/alfredchen/bmq/issues

6 comments:

  1. Running fine with Arch and 5.5.2 on my sandybridge laptop, built for the x86 netbook but not installed yet.

    ReplyDelete
  2. Installed on i7@work and Ryzen@home, seems to work fine for couple of days (>3), no issues...
    I think from some release, I don't remember which, sound stutter seems to be gone :)

    Thanks Alfred!

    BR, Eduardo

    ReplyDelete
  3. Can you somehow make BMQ Ryzen 3000 CCX and chiplet aware? Much appreciated.

    ReplyDelete
    Replies
    1. BMQ should have proper cpu topology setup for ryzen 3xxx cpus, please check the output of "dmesg | grep -i bmq". If you believe that's wrong, pls open ticket at https://gitlab.com/alfredchen/bmq/issues

      There is some additional feature can be tried to add to BMQ, but I don't have Ryzen platform to test those changes.

      Delete
    2. I can test them for You, shoot me an e-mail with patch and I'll try them out. Note, that I have 1st gen Ryzen system, not 2xxx or 3xxx.
      BR, Eduardo

      Delete
    3. @Eduardo
      Thanks. But it is not a couple lines for bug fix to make thing works or not, it also need to tune for the performance. So I don't think it is not going to happen unless I can hand on the real HW.

      Delete