Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 12:45:35 -0500
From:      Chuck Robey <chuckr@telenix.org>
To:        Gavin Atkinson <gavin@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: tomcat & mouse problems
Message-ID:  <49A6D53F.4070603@telenix.org>
In-Reply-To: <1235656281.4949.4.camel@buffy.york.ac.uk>
References:  <49A19C22.8000600@telenix.org>	 <20090223083114.F86550@ury.york.ac.uk> <49A5ABB4.2090601@telenix.org> <1235656281.4949.4.camel@buffy.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gavin Atkinson wrote:
> On Wed, 2009-02-25 at 15:36 -0500, Chuck Robey wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Gavin Atkinson wrote:
>>> On Sun, 22 Feb 2009, Chuck Robey wrote:
>>>> I'm running a machine with plenty of memory, plenty of CPU (quad Intel
>>>> core),
>>>> and using FreeBSD-current.  The mouse is a Logitech USB/wireless
>>>> model.  Any
>>>> guess what might be causing my mouse's jerkiness?
>>> Can you try using SCHED_4BSD rather than SCHED_ULE and see if that makes
>>> a difference?
>>>
>>> Gavin
>> OK, I've been watching it long enough.  Running (now) SCHED_4BDSD seems to make
>> the mouse far more active (as far as the movements of the cursor are concerned),
>> but I still havr great problems in getting mouse clicks taken.  They ARE
>> accepted, but I must lick aboout 4 times to get a single moouse-click accepted.
>>  I'm trying hard to read as much as I can about xorg problems, becauase I don't
>> seem to see this in the mouse usages in the virtual-ttys, only in Xorg.
> 
> Do you by any chance have any processes taking all the CPU?  SCHED_ULE
> doesn't play well for me with processes like the distributed.net client
> or setiathome, as the "only run me when idle" flag these rely on seems
> to be ignored by ULE.

No, I think that I found the remaining problem, and now my mouse is running as
well as it can do, even for mouse clicks.  Apparently, I had the position of my
trackball (I dislike mice) right up next to my keyboard, which applied a small
amount of constant pressure against the ball of the trackball.  When I moved the
trackball so that there was no remaining pressure, everything became perfect.

Summary (after testing) is that moving from SCHED_ULE to SCHED_4BSD is maybe 1/2
of my problem, and moving the trackball fixed all remaining problems.  Thanks
hugely for the help, Gavin.

> 
> Gavin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmm1T8ACgkQz62J6PPcoOlLmQCgjLwrI8j24bZyp1N8M4rZjvvr
LR0AnjWZYhORgZQv9ymIT4fUiVi8e7ge
=BgAF
-----END PGP SIGNATURE-----



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