Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269117AbUIXUdr (ORCPT ); Fri, 24 Sep 2004 16:33:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269121AbUIXUdr (ORCPT ); Fri, 24 Sep 2004 16:33:47 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:27321 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S269117AbUIXUdj (ORCPT ); Fri, 24 Sep 2004 16:33:39 -0400 Message-ID: <41548493.3000905@pobox.com> Date: Fri, 24 Sep 2004 16:33:23 -0400 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lee Revell CC: Neil Horman , linux-kernel , Andrew Morton Subject: Re: mlock(1) References: <41547C16.4070301@pobox.com> <4154805D.8030904@redhat.com> <1096057867.11589.19.camel@krustophenia.net> In-Reply-To: <1096057867.11589.19.camel@krustophenia.net> 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: 672 Lines: 19 Lee Revell wrote: > Is this really a good idea? I suspect it would be abused. For example, > people would mlock mozilla or openoffice to keep it from being paged out > overnight when updatedb runs, where the real solution is to fix the > problem with the VM that causes updatedb to force other apps to swap > out. Use /proc/swappiness for this It definitely helped for me. I set it really low, around '10' or so. Jeff - 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/