Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265163AbUFATir (ORCPT ); Tue, 1 Jun 2004 15:38:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265164AbUFATir (ORCPT ); Tue, 1 Jun 2004 15:38:47 -0400 Received: from mta11.adelphia.net ([68.168.78.205]:23764 "EHLO mta11.adelphia.net") by vger.kernel.org with ESMTP id S265163AbUFATip (ORCPT ); Tue, 1 Jun 2004 15:38:45 -0400 Message-ID: <40BCDB3E.3050705@nodivisions.com> Date: Tue, 01 Jun 2004 15:38:38 -0400 From: Anthony DiSante Reply-To: orders@nodivisions.com User-Agent: Mozilla Thunderbird 0.6 (X11/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: Re: swappiness ignored References: <40B43B5F.8070208@nodivisions.com> <200405260940.i4Q9eJdS000767@81-2-122-30.bradfords.org.uk> <40BC2EFA.6090503@nodivisions.com> <200406011136.17055@WOLK> In-Reply-To: <200406011136.17055@WOLK> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1201 Lines: 26 Marc-Christian Petersen wrote: >>In the "why swap at all" thread, there was mention of the >>/proc/sys/vm/swappiness tunable, and some people suggested echoing a zero >>to there if you want to minimize/disable swap usage, or echoing a 100 to >>maximize swap usage, etc. >>But on my 2.6.5 system, I can echo a zero to there, then cat it back to >>make sure... then 30 seconds later cat it again, and it's been changed to >>something else (50, 60, 80something). >>Is this supposed to be a value that can be manually adjusted, as some have >>claimed, or is it something the kernel manages automatically? I definitely >>can't manually set it without having it overwritten shortly thereafter. > > > I bet you have /proc/sys/vm/autoswappiness or the previous version of it > w/o /proc stuff. Ah, yes, I do, and it's set to one. So if I set that to zero, then the kernel won't automatically adjust /proc/sys/vm/swappiness? -Anthony http://nodivisions.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/