Lag after resume culprit found

Andriy Gapon avg at FreeBSD.org
Thu May 17 06:49:36 UTC 2018


On 17/05/2018 02:07, Johannes Lundberg wrote:
> https://github.com/freebsd/freebsd/commit/66f063557f257baa9c8aeab9f933171eaa6e1cfa
> x86 cpususpend_handler: call wbinvd after setting suspend state bits

That's very interesting and surprising.
That commit changes something that happens before suspend, it should not have
any effect on the system state after resume.

Does anyone have a theory of what could be wrong?

> How to test (i915kms)
> 
> Start X with glxgears
> Confirm running stable at 60 fps
> suspend/resume (S3)
> glxgears is now fluctuating between 10-40 fps.



-- 
Andriy Gapon


More information about the freebsd-current mailing list