From owner-freebsd-current@FreeBSD.ORG Thu Feb 26 17:55:17 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E5601065674 for ; Thu, 26 Feb 2009 17:55:17 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 68E928FC16 for ; Thu, 26 Feb 2009 17:55:17 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 23503 invoked from network); 26 Feb 2009 17:55:16 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 26 Feb 2009 17:55:16 -0000 Message-ID: <49A6D53F.4070603@telenix.org> Date: Thu, 26 Feb 2009 12:45:35 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Gavin Atkinson References: <49A19C22.8000600@telenix.org> <20090223083114.F86550@ury.york.ac.uk> <49A5ABB4.2090601@telenix.org> <1235656281.4949.4.camel@buffy.york.ac.uk> In-Reply-To: <1235656281.4949.4.camel@buffy.york.ac.uk> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: tomcat & mouse problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 17:55:17 -0000 -----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-----