Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Reto Baettig <baettig@scs.ch>
To: axp-list@redhat.com
Subject: Re: What's the maximum swap space?
Date: Tue, 28 Nov 2000 10:25:49 -0800	[thread overview]
Message-ID: <3A23F8AD.60E3D5AC@scs.ch> (raw)
In-Reply-To: XFMail.20001128163545.s-luppescu@uchicago.edu

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
> ^[$B:MJ8$HCRF`H~$NIc^[(B        -=-=-  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




  reply	other threads:[~2000-11-28 23:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-28 21:35 What's the maximum swap space? s-luppescu
2000-11-28 18:25 ` Reto Baettig [this message]
2000-11-29 15:20   ` s-luppescu
2000-11-29 17:01     ` Maurice Hilarius
2000-11-29 18:13       ` s-luppescu
2000-11-29 18:23         ` Maurice Hilarius
2000-11-29 19:17           ` What's the maximum swap space? [OT] Reto Baettig
2000-11-29 22:52           ` What's the maximum swap space? s-luppescu
2000-11-29 23:45             ` Rich Payne
2000-11-29 23:57               ` Maurice Hilarius
2000-11-29 23:58                 ` Rich Payne
2000-11-30  1:15                 ` Mike Tibor
2000-11-30  1:28                   ` Jeff Sturm
     [not found]                 ` <Pine.LNX.4.10.10011291608550.2493-100000@asimov.lib.uaa.al aska.edu>
2000-11-30  3:32                   ` Maurice Hilarius
2000-11-30  0:56               ` Michal Jaegermann
2000-11-28 22:46 ` Matt Wilson
2000-11-29 15:17   ` s-luppescu
2000-11-29 17:03     ` Maurice Hilarius
  -- strict thread matches above, loose matches on Subject: below --
2000-11-29 23:00 David Singleton
2000-11-29 23:56 ` Maurice Hilarius
2000-11-30  2:01 ` Greg Lindahl
2000-11-30  2:07   ` David Singleton
2000-11-30  3:35     ` Maurice Hilarius
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox