Skip to content

systemd-oomd works with linux-zen but doesn't work with linux-lqx #254

Closed

Description

@q7nm

systemd-oomd service log (linux-zen)

● systemd-oomd.service - Userspace Out-Of-Memory (OOM) Killer
     Loaded: loaded (/usr/lib/systemd/system/systemd-oomd.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2021-10-31 16:14:12 UTC; 3min 54s ago
       Docs: man:systemd-oomd.service(8)
   Main PID: 527 (systemd-oomd)
     Status: "Processing requests..."
      Tasks: 1 (limit: 4377)
     Memory: 1.1M (min: 64.0M low: 64.0M)
        CPU: 348ms
     CGroup: /system.slice/systemd-oomd.service
             └─527 /usr/lib/systemd/systemd-oomd

ArchLinux-PC systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...
ArchLinux-PC systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.

systemd-oomd service log (linux-lqx)

○ systemd-oomd.service - Userspace Out-Of-Memory (OOM) Killer
     Loaded: loaded (/usr/lib/systemd/system/systemd-oomd.service; enabled; vendor preset: disabled)
     Active: inactive (dead)
  Condition: start condition failed at Sun 2021-10-31 16:18:41 UTC; 38s ago
             └─ ConditionPathExists=/proc/pressure/memory was not met
       Docs: man:systemd-oomd.service(8)

ArchLinux-PC systemd[1]: Condition check resulted in Userspace Out-Of-Memory (OOM) Killer being skipped.

ArchLinux with 5.14.15-lqx1-1-lqx and 5.14.14-zen1-1-zen

Activity

  1. damentz commented on Oct 31, 2021

    @damentz
    Member

    Does it work if you pass psi=1 into your kernel boot parameters? Liquorix has it disabled by default since custom process schedulers typically misbehave with it enabled. However, it may work with PDS (completely untested by me), the scheduler Liquorix switched to after MuQSS was discontinued by Con.

  2. q7nm commented on Oct 31, 2021

    @q7nm
    Author

    Does it work if you pass psi=1 into your kernel boot parameters? Liquorix has it disabled by default since custom process schedulers typically misbehave with it enabled. However, it may work with PDS (completely untested by me), the scheduler Liquorix switched to after MuQSS was discontinued by Con.

    Yes, it work.

  3. damentz commented on Nov 1, 2021

    @damentz
    Member

    Ok, great! Liquorix will keep this option off by default, I recommend force enabling it if you intend to use something like systemd-oomd. Marking as closed.

  4. hakavlad commented on Nov 11, 2021

    @hakavlad

    @BigmenPixel0 PSI may work incorrect with lqx:

    hakavlad/nohang#25 (comment)

    #222 (comment)

  5. damentz commented on Nov 11, 2021

    @damentz
    Member

    @hakavlad Liquorix uses PDS now, which is compatible with PSI (per your testing of BMQ). However, Liquorix will keep it off by default since it does impact runtime performance, and changes in mainline may make it unreliable or decrease stability without notice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions