From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Fred N. van Kempen" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Alphaserver 1200 and T64 5.1B: memory holes?? Date: Wed, 23 Jul 2003 00:41:31 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <7AD18F04B62B7440BE22E190A3F7721409E013@mwsrv04.microwalt.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1058913673 8792 80.91.224.249 (22 Jul 2003 22:41:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Jul 2003 22:41:13 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jul 23 00:41:11 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19f5oZ-0002GI-00 for ; Wed, 23 Jul 2003 00:40:59 +0200 Original-Received: (qmail 28987 invoked by uid 5); 22 Jul 2003 22:42:00 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28978 invoked by uid 49493); 22 Jul 2003 22:42:00 -0000 Original-Received: from Fred.van.Kempen@microwalt.nl by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(0.0/5.0):. Processed in 0.403058 secs); 22 Jul 2003 22:42:00 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 22 Jul 2003 22:41:59 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIG00DYI71Y7L@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 22 Jul 2003 18:41:58 -0400 (EDT) Original-Received: from smtp.microwalt.nl (mwsrv05.microwalt.nl [195.86.89.38]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIG00J6T7189W@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 22 Jul 2003 18:41:33 -0400 (EDT) Original-Received: from mail.microwalt.nl ([10.0.95.37]) by smtp.microwalt.nl with Microsoft SMTPSVC(5.0.2195.5329); Wed, 23 Jul 2003 00:41:31 +0200 Original-Received: from smtp.microwalt.nl ([10.0.95.38]) by mail.microwalt.nl with Microsoft SMTPSVC(5.0.2195.4453); Tue, 22 Jul 2003 18:35:10 +0200 Original-Received: from sws1.ornl.gov ([160.91.1.101]) by smtp.microwalt.nl with Microsoft SMTPSVC(5.0.2195.5329); Tue, 22 Jul 2003 18:35:09 +0200 Original-Received: (qmail 2583 invoked by uid 5); Tue, 22 Jul 2003 16:34:56 +0000 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6375.0 Thread-Topic: Alphaserver 1200 and T64 5.1B: memory holes?? Thread-Index: AcNQbyWv881jJGBXSRSRXFiPP3wdXQ== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 22 Jul 2003 22:41:31.0742 (UTC) FILETIME=[65AF57E0:01C350A2] Xref: main.gmane.org gmane.os.tru64.managers:4910 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4910 Hi All, The answer to my question (see below) is, to re-configure the swapping from EAGER to LAZY in the /etc/sysconftab file. By default, T64 will set this to EAGER, meaning it will allocate (reserve) memory for each process. By resetting this to LAZY mode, memory will only be allocated when needed. If one has less swap space than physical memory (which is what I have), best thing to do is set this to LAZY. Thanks for all who replied!! My system is working great now! (now, off to hunt down a newer copy of the CXX compiler, since=20 my V6.3 is kinda old and rusty..) Cheers, Fred --------original question--------- Hmm.. decided to do some more serious work with my AS1200, so = reinstalled the machine (which was running 5.0 so far) with 5.1B, and did the PK2 dance. All seems = well. BUT... .. while compiling (remotely, under CDE), I often get the "swap space = below 10%" message, which I started to find strange. Although I indeed only set up 128MB of = swap, the machine DOES have 1024MB of RAM. A quick "vmstat -P" showed, that the machine reports three segments of = 256.00M (exactly) each, marked as "hole". This probably is causing my memory problems; I assume the machine = actually believes it has only 256MB. Is this a known issue? Anyone have more info? Thanks lots, Fred -- InterNetworking, Network Security and Communications Consultants MicroWalt Corporation (Netherlands), Postbus 8, 1400 AA BUSSUM Phone +31 (35) 7503090 FAX +31 (35) 7503091 http://WWW.MicroWalt.NL/ Dit bericht en eventuele bijlagen is uitsluitend bestemd voor de geadresseerde. Openbaarmaking, vermenigvuldiging, verspreiding aan derden is niet toegestaan. Er wordt geen verantwoordelijkheid=20 genomen voor de juiste en volledige overbrenging van de inhoud van dit bericht, noch voor de tijdige ontvangst ervan.