Monday, November 25, 2019

BMQ v5.4-r0 release

BMQ v5.4-r0 is released with the following changes

1. Sync up with 5.4 mainline scheduler code changes.

This is the first BMQ release for 5.4 kernel series. Besides the sync-up changes, there is also fix for BMQ with NUMA kernel config, there were some Ryzen related NUMA in previous kernel releases, hopefully this will help with Ryzen users.

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

16 comments:

  1. Thank you very much.

    ReplyDelete
  2. Cool~~ is there a plan to go back to mainline kernel?

    ReplyDelete
  3. Compiled and installed. Now, how I change from CFS to BMQ?

    dmesg | grep -i sched
    [ 0.123636] bmq: BMQ CPU Scheduler 5.4-r0 by Alfred Chen.
    [ 0.123673] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [ 0.592249] io scheduler mq-deadline registered
    [ 0.592251] io scheduler kyber registered
    [ 0.639005] sched_clock: Marking stable (638607090, 308001)->(646859859, -7944768)

    dmesg | grep scheduler | grep -v "cpu scheduler"
    [ 0.123673] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [ 0.592249] io scheduler mq-deadline registered
    [ 0.592251] io scheduler kyber registered

    Thanks for your patch. :)

    ReplyDelete
    Replies
    1. You are already runnung BMQ.CPU schedulers are exclusive, BMQ replaces CFS.

      Dzon.

      Delete
  4. when i exit from i3, my pc freezed with bmq, i tryed change yield but not helped.

    ReplyDelete
    Replies
    1. Check logs for intel i915 related hangs.
      I had those, I don't think they are related to BMQ, but rather 5.4 kernel.

      Delete
    2. i'm have amd cpu/gpu, and in stock kernel i'm not have it

      Delete
    3. Just tested. x11-wm/i3-4.16.1 works just fine on my desktop.

      Delete
    4. @cchalpha, now i re checked this, i write in terminal "i3-msg exit" and i get freeze on monitor,
      but i try kill xorg via ssh from mobile and xorg don't killing and pulseaudio usage 100%, i kill pulseaudio and i got in tty but input didn't worked and on monitor showing info how start xorg and etc...,
      if i'm not killing pulseaudio, xorg just not killing, i'm killing xorg like that "pkill -64 -ef X", and i get output like that: "killed (pid ****)"

      Delete
    5. btw i try yield_type 0, but it's not helped

      Delete
  5. Actually pretty good.
    Throughput and latency fine.

    ReplyDelete
  6. *i speak about v5.4-r1!* hi @cchalpha, now i can exit from i3, but it's slower than cfs and when i turn music in mpd and exiting from i3, i'm get freeze (idk why my comment not sending on new ver BMQv5.4-r1)

    ReplyDelete
    Replies
    1. What's new in v5.4.1 has been developed for weeks, it's not the fix for i3 issue you have reported.
      For this i3 issue, I'll try to reproduce it in my side.

      Delete