From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 608F72EFE6 for ; Tue, 8 Aug 2000 17:31:50 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id RAA01118 for axp-list@listman.redhat.com; Tue, 8 Aug 2000 17:31:50 -0400 Received: from zmamail02.zma.compaq.com (zmamail02.zma.compaq.com [161.114.64.102]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA01113 for ; Tue, 8 Aug 2000 17:31:48 -0400 Received: by zmamail02.zma.compaq.com (Postfix, from userid 12345) id 235CCD22; Tue, 8 Aug 2000 17:31:18 -0400 (EDT) Received: from anw.zk3.dec.com (and.zk3.dec.com [16.140.64.3]) by zmamail02.zma.compaq.com (Postfix) with ESMTP id E2A0D8F8 for ; Tue, 8 Aug 2000 17:31:17 -0400 (EDT) Received: from imhotep.zk3.dec.com by anw.zk3.dec.com (8.9.3/1.1.22.2/08Sep98-0251PM) id RAA0001962380; Tue, 8 Aug 2000 17:31:16 -0400 (EDT) Date: Tue, 8 Aug 2000 17:26:16 -0400 (EDT) From: Ross A Knepper To: axp-list@redhat.com Subject: Re: Alpha Linux Memory size? In-Reply-To: <3990459A.716D8A2D@mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Tue, 8 Aug 2000, Adam C Powell IV wrote: > Correct me if I'm wrong, but I interpreted the question as: > > Is there a way to prevent the disk/file cache from displacing memory used by > processes, so the process data stay in memory and don't get swapped out? if this is the correct interpretation of the original question, then i would advise the original poster to investigate the mlock() syscall, which is used to make sure that user pages remain resident in memory. of course, if you have sufficient RAM, you could also accomplish the same thing by turning off swap :) -ross