Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2012 14:26:00 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: [RFC/RFT] calloutng
Message-ID:  <20121220142600.22c4796a@fabiankeil.de>
In-Reply-To: <50D2F923.2020303@FreeBSD.org>
References:  <50CCAB99.4040308@FreeBSD.org> <50CE5B54.3050905@FreeBSD.org> <50D03173.9080904@FreeBSD.org> <20121220115629.3379a261@fabiankeil.de> <50D2F923.2020303@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/uFbUm3EGx7QcS.bD5WwSjDW
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Alexander Motin <mav@FreeBSD.org> wrote:

> On 20.12.2012 12:56, Fabian Keil wrote:
> > Alexander Motin <mav@FreeBSD.org> wrote:
> >
> >> Experiments with dummynet shown ineffective support for very short
> >> tick-based callouts. New version fixes that, allowing to get as many
> >> tick-based callout events as hz value permits, while still be able to
> >> aggregate events and generating minimum of interrupts.
> >>
> >> Also this version modifies system load average calculation to fix some
> >> cases existing in HEAD and 9 branches, that could be fixed with new
> >> direct callout functionality.
> >>
> >> http://people.freebsd.org/~mav/calloutng_12_17.patch
> >
> > With this patch (and the previous one, I didn't test the others)
> > my mouse cursor is occasionally not reacting for short amounts of
> > time (less than a second, but long enough to be noticeable).
> >
> > Every now and then the window manager (i3-wm) changes window focus
> > which could be explained by either phantom keyboard or mouse input,
> > or terminal lines are marked as if the cursor was moved with the
> > left button pressed.
> >
> > The problems happen a couple of times per hour but I haven't
> > been able to intentionally reproduce them. They only seem to
> > occur while I'm moving the cursor, but of course I wouldn't
> > otherwise notice a unresponsive cursor anyway.
> >
> > While the cursor is unresponsive, keyboard input and the rest
> > of the system works as expected as far as I can tell.
> >
> > If I set debug.psm.loglevel=3D4 I get a "psm0: lost interrupt?"
> > message once per second when not moving the mouse, however that
> > also happens without the patch and thus might be unrelated.
> >
> > I'm using moused.
>=20
> Could you try to revert part of the patch, related to dev/atkbdc? I am=20
> not strong in details of that hardware, but in comments there mention=20
> that they are related. May be lost keyboard interrupts (which polling=20
> rate was increased to 1 second) cause PS/2 mouse delays.
=20
I reverted the changes to sys/dev/atkbdc/* about an hour ago
and so far it's looking good. I'll report back tomorrow after
some more testing.

Fabian

--Sig_/uFbUm3EGx7QcS.bD5WwSjDW
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlDTEeoACgkQBYqIVf93VJ230wCfUAzgX3NHWp740rDEI6jL1UAN
8oMAoLCRJeaz0RNq13WmT4wlFWjCg/9s
=5VtW
-----END PGP SIGNATURE-----

--Sig_/uFbUm3EGx7QcS.bD5WwSjDW--



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