From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 5 10:00:47 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 9BF7816A4EA for ; Tue, 5 Oct 2004 10:00:47 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BA4F43D49 for ; Tue, 5 Oct 2004 10:00:47 +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 i95A0lfI043667 for ; Tue, 5 Oct 2004 10:00:47 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i95A0l85043666; Tue, 5 Oct 2004 10:00:47 GMT (envelope-from gnats) Date: Tue, 5 Oct 2004 10:00:47 GMT Message-Id: <200410051000.i95A0l85043666@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Walter C. Pelissero" Subject: Re: kern/71968: [usb] USB disk triggers swap activity X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Walter C. Pelissero" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 10:00:47 -0000 The following reply was made to PR kern/71968; it has been noted by GNATS. From: "Walter C. Pelissero" To: freebsd-gnats-submit@FreeBSD.org, Kris Kennaway , walter@pelissero.de Cc: Subject: Re: kern/71968: [usb] USB disk triggers swap activity Date: Tue, 5 Oct 2004 11:58:43 +0200 > > Sony Vaio PCG-XG9, LaCie 160G USB2 disk with UFS2 filesystem > > mounted automatically by amd. > > >Description: > > When I do a substantial activity on a 160G USB2 disk the > > system starts an heavy ATA disk activity that looks like > > swapping because, even though there is still 50MB RAM > > available, the swap usage jumps up to 14% and then slowly > > reaches 17%. Soon, one by one, the programs become > > irresponsive and the system grinds to a halt (but the ATA > > activity). If I don't try it immediately, ssh from another > > node yields a connection timeout. Needless to say the USB > > keyboard and mouse die immediately, while I can still use the > > trackpad on the laptop. > > >How-To-Repeat: > > dd if=/dev/zero of=/path/to/the/usb/filesystem > > Does the problem persist with 5.3? Sorry for the late answer. It took me a while to upgrade to 5.3-BETA7. I don't seem to be able to reproduce the problem under the new system, so I'd consider this PR closed. > Does 'top' or 'ps' show any unusual activity? The swap stats above came indeed from top. It was indeed unusual for me to see a stadily increasing swap allocation while still having 20% of RAM untouched. In the meanwhile no process showed any substantial increase in size. -- walter pelissero http://www.pelissero.de