Skip to content

Releases: seclususs/pgov

Release list

pgov v1.0

Choose a tag to compare

@seclususs seclususs released this 06 Sep 02:10

First tagged release. pgovd is a userspace scheduler daemon for Android that turns
/proc/pressure/cpu into six CFS scheduler writes, gated by thermal and battery state.

Highlights

  • pgovd reads /proc/pressure/cpu and adjusts sched_latency_ns,
    sched_min_granularity_ns, sched_wakeup_granularity_ns,
    sched_migration_cost_ns, sched_walt_init_task_load_pct, and
    sched_uclamp_util_min off a running PSI estimate, rather than
    leaving all six on one static profile.
  • Adaptive Kalman filtering of the PSI signal, with a structural-break
    check for reacting immediately to a genuine workload change instead
    of smoothing through it.
  • Thermal-aware throttling: a PID controller over CPU and battery
    temperature pulls responsiveness back as thermal headroom shrinks,
    with its own setpoint tightening as battery temperature nears its
    limit.
  • Boot-time calibration of tunable ranges against detected core count,
    max frequency, and thermal trip points, rather than one fixed table
    for every device.
  • Idle-time cache sweep under /data/data and
    /data/media/0/Android/data, gated on display-off and interruptible
    by backlight or pressure changes.

Full changelog: CHANGELOG