Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* What's the maximum swap space?
@ 2000-11-28 21:35 s-luppescu
  2000-11-28 18:25 ` Reto Baettig
  2000-11-28 22:46 ` Matt Wilson
  0 siblings, 2 replies; 23+ messages in thread
From: s-luppescu @ 2000-11-28 21:35 UTC (permalink / raw)
  To: Alpha List

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




^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: What's the maximum swap space?
@ 2000-11-29 23:00 David Singleton
  2000-11-29 23:56 ` Maurice Hilarius
  2000-11-30  2:01 ` Greg Lindahl
  0 siblings, 2 replies; 23+ messages in thread
From: David Singleton @ 2000-11-29 23:00 UTC (permalink / raw)
  To: axp-list

Be a little wary of associating peak disk performance and swap
performance. Paging is done in (I think) 8KB pages on Linux Alpha -
that is not the way to get good IO performance.  

I have done a number of tests hoping to use paging for good ol'
fashioned job-swapping (like suspend a 5GB job and start another 5GB
job when you only have 6GB of RAM).  The "memory exchange" can take
HOURS on some systems and will get only a few MB/s on most.

If you really need 40GB you may be much better off writing your own
out-of-core solver where you roll in and out data in LARGE record
sizes.

------
David.Singleton@anu.edu.au       ANU Supercomputer Facility
Phone: +61 2 6249 4389           Australian National University   
Fax: +61 2 6279 8199             Canberra, ACT, 0200, Australia




^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2000-11-30  4:20 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-28 21:35 What's the maximum swap space? s-luppescu
2000-11-28 18:25 ` Reto Baettig
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

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