Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 09:32:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 226968] IRQ storm on cpu0 timer when holding down key on USB keyboard
Message-ID:  <bug-226968-17@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226968

            Bug ID: 226968
           Summary: IRQ storm on cpu0 timer when holding down key on USB
                    keyboard
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: usb
          Assignee: freebsd-usb@FreeBSD.org
          Reporter: johalun0@gmail.com

I noticed this when playing a first person shooter with keyboard controls.
To verify, do the following:

Open a terminal window (I used xfce4-terminal)

Run=20
$ systat -vmstat

On the USB keyboard, hold down some key like 'a'.
All is normal at this stage.=20

Without releasing 'a', press and release another key, like 'b'.

See the irqs on cpu0:timer go up to several hundred thousand.

Release 'a' and it will go back to normal.=20


USB debug information (hw.usb.xhci.debug=3D16) does not show abnormal amoun=
ts of
interrupts.

With this bug, playing a fps-like game with keyboard controls is impossible
since the whole game lags during irq storm.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226968-17>