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 588092F0ED for ; Tue, 28 Nov 2000 18:32:29 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eASNWTI10753 for axp-list@listman.redhat.com; Tue, 28 Nov 2000 18:32:29 -0500 Received: from k2.llnl.gov (k2.llnl.gov [134.9.1.1]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eASNWSD10745 for ; Tue, 28 Nov 2000 18:32:28 -0500 Received: from scs.ch (IDENT:baettig@fork.llnl.gov [134.9.11.114]) by k2.llnl.gov (8.9.3/8.9.3/LLNL-Sep98) with ESMTP id PAA20296 for ; Tue, 28 Nov 2000 15:32:23 -0800 (PST) Message-ID: <3A23F8AD.60E3D5AC@scs.ch> Date: Tue, 28 Nov 2000 10:25:49 -0800 From: Reto Baettig X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.17ext3 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: What's the maximum swap space? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi Why do you need 40GB of virtual memory for the inversion of a 15k^2 matrix? 15k*15k*8Bytes = 1.676GB. Even if you have a complex matrix, it's only ~3GB. You probably would like to keep the matrix in RAM because if you swap it out, your performance will probably only depend on the speed of your disks and not on the speed of the processor ;-) Or do you have a good implementation of a matrix inversion which deals with these problems? Reto s-luppescu@uchicago.edu wrote: > > We are considering buying an alpha to do some very extensive numerical > calculations, some of which would require inverting matrices up to 15,000 x > 15,000 in size. We figure this will take up to 40 GB of virtual memory. I have > looked all over the place, but can't find a definitive answer about what's the > maximum amount of swap space I can have on an alpha machine. man mkswap (on my > intel RedHat machine) says, > > | In the new > | style swap area this is precisely what is done. The maximum useful size of > | a swap area now depends on the architecture. It is roughly 2GiB on i386, > | PPC, m68k, ARM, 1GiB on sparc, 512MiB on mips, 128GiB on alpha and > | 3TiB on sparc64. > | > | Note that before 2.1.117 the kernel allocated one byte for each page, while > | it now allocates two bytes, so that taking a swap area of 2 GiB in use might > | require 2 MiB of kernel memory. > | > | Presently, Linux allows 8 swap areas. The areas in use can be seen in > | the file /proc/swaps (since 2.1.25). > > This is still very confusing to me. Is ``a swap area'' the same as a > partition with type ``swap''? More than the size of the swap space, isn't > there a limit on the size of the partition? (Someone told me 2 GB per swap > partition. This would put a limit of 16 GB on the total amount of swap.) > > If some knowledgeable person can clear up my confusion, I'd be very thankful. > ______________________________________________________________________ > Stuart Luppescu -=-=- University of Chicago > 才文と智奈美の父 -=-=- s-luppescu@uchicago.edu > http://www.consortium-chicago.org/people/sl/sl.html > PGP Public Key: www.consortium-chicago.org/people/sl/pubkey.asc > ICQ #21172047 AIM: psycho7070 > Small change can often be found under seat cushions. > -- One of Lazarus Long's most penetrating insights > >> Sent on 28-Nov-2000 at 16:24:05 with xfmail > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list