From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 12:35:37 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C806716A662 for ; Thu, 22 Jun 2006 12:35:36 +0000 (UTC) (envelope-from creep@desk.pl) Received: from hera.desk.pl (hera.desk.pl [195.137.189.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74F8F4455D for ; Thu, 22 Jun 2006 12:08:57 +0000 (GMT) (envelope-from creep@desk.pl) Received: from localhost (hera.local [127.0.0.1]) by hera.desk.pl (Postfix) with ESMTP id 89D6675C366 for ; Thu, 22 Jun 2006 14:08:53 +0200 (CEST) Received: from hera.desk.pl ([127.0.0.1]) by localhost (hera [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26473-10 for ; Thu, 22 Jun 2006 14:08:51 +0200 (CEST) Received: from [10.6.14.1] (sifr.dembego6.waw.pl [89.171.73.18]) by hera.desk.pl (Postfix) with ESMTP id 4DB8E75C365 for ; Thu, 22 Jun 2006 14:08:51 +0200 (CEST) Message-ID: <449A8834.10902@desk.pl> Date: Thu, 22 Jun 2006 14:08:20 +0200 From: Marcin Koziej User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Skaner Antywirusowy DESK.pl Subject: Poor swapping performance -- lot's of unused free memory. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 12:35:37 -0000 Hello, I use FreeBSD 6.1-STABLE #0: Mon Jun 12 18:00:56 CEST 2006 for a desktop (Launch several apps at the start and mostly nothing else, except when compiling). I've got 512 MB of ram. From some time, I've noticed poor swapping performance -- this can be very annoying when memory needs to be swapped in and the whole systems chokes on disk I/O. Most frequently when launching a big application or clicking on recently not used application window. What I notice, is that top(1) reports: 60 MB free, and 150 MB on the swap, which means these 60 mb are just sitting there doing nothing. I remember in older versions of FreeBSD tried to keep swap as little used as possible, leaving 3-4 mb ram free. This is just a feeling, of course, but it feels like it's slower now. Can anybody comment on this? Maybe there is a sysctl which can tune this ? (I've searched for such, but found nothing). Best regards, Marcin Koziej