From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 28 20:40:32 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8C0F16A4CF for ; Thu, 28 Oct 2004 20:40:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A34943D5E for ; Thu, 28 Oct 2004 20:40:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9SKeWup011204 for ; Thu, 28 Oct 2004 20:40:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9SKeWTp011203; Thu, 28 Oct 2004 20:40:32 GMT (envelope-from gnats) Date: Thu, 28 Oct 2004 20:40:32 GMT Message-Id: <200410282040.i9SKeWTp011203@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Giorgos Keramidas Subject: Re: kern/73245: 'swap-in' causes several second hesitation on mouse and keyboard input X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Giorgos Keramidas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 20:40:32 -0000 The following reply was made to PR kern/73245; it has been noted by GNATS. From: Giorgos Keramidas To: bob frazier Cc: bug-followup@freebsd.org Subject: Re: kern/73245: 'swap-in' causes several second hesitation on mouse and keyboard input Date: Thu, 28 Oct 2004 23:38:19 +0300 On 2004-10-28 16:20, bob frazier wrote: > when an inactive process 'swaps out', several seconds can pass before > the process will accept any input again if the process is > re-activated. This primarily takes place while xorg is running, > though it is not restricted to xorg. I've seen this happen on CURRENT too. After a bit of testing I found out that this does not happen if you set vm.swap_idle_enabled=0 in your `sysctl.conf'. Can you try this and let me know if it works for you too? Note though that this is a workaround, not a real fix of the real cause.