Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: W Darlington <w.darlington@am.qub.ac.uk>
To: axp-list@redhat.com
Subject: Re: Confused(swap partitions)
Date: Thu, 19 Nov 1998 22:40:14 +0000	[thread overview]
Message-ID: <19981119224014.B29551@hornet.am.qub.ac.uk> (raw)
In-Reply-To: <3.0.5.32.19981119132048.00a2f590@209.207.211.2>; from Maurice Hilarius on Thu, Nov 19, 1998 at 01:20:48PM -0700

Hi Y'all,

On Thu, Nov 19, 1998 at 01:20:48PM -0700, Maurice Hilarius wrote:
> Yes, but partitions dedicated for swap usually run faster. With an extended
> partition and many logicals you pay no real penalty for this, other than a
> rather large and confusing fdisk table..

I figure that paging is darn slow and even _if_ paging to partitions is a
little faster than to swap files, it's still just the difference between
really really slow and really really really slow. :-)  

Anyway, how would one go about measuring the relative performance of swap 
files and partitions?  In the absence of hard data, perhaps we might be
able to start a war instead? The partitionists versus the swapfileans? ;-)

> Besides just how much swap can you really use?? If you are using a MB of
> swap, something is "fishy"..

We run some fortran 77 codes (with static memory allocation). They tend to
(pre)allocate lots (TM) of memory and while they may never use it all, Linux
won't let them run unless it has at least as much virtual memory as the
process might ever need.

If I watch some of these programs with `top', they might never be seen
to use more than 25% of the memory they asked for at any one time. For
them to take full advantage of (say) a 0.5GB machine they will need
there to be 2GB of swap, at least! 

The joy of fortran 77, eh?

Regards,
Wesley Darlington,
Dept of Applied Maths,            I reboot my linux boxes once a year
Queen's University of Belfast.        whether they need it or not!
(01232) T 273911 F 239182


  parent reply	other threads:[~1998-11-19 22:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-19 17:48 Confused(swap partitions) Greg Lindahl
1998-11-19 20:20 ` Maurice Hilarius
1998-11-19 21:26   ` Ken Hansen
1998-12-15 23:28     ` Huw Davies
1998-11-19 22:40   ` W Darlington [this message]
1998-11-19 23:42     ` Maurice Hilarius
  -- strict thread matches above, loose matches on Subject: below --
1998-11-19 21:46 Greg Lindahl
1998-11-19 22:06 ` Danilo Godec
1998-11-19 23:31 ` Maurice Hilarius
1998-11-19 23:52   ` Ken Hansen
1998-11-19 17:23 Jacek Perry
1998-11-19 20:16 ` Maurice Hilarius
1998-11-27 18:45 ` Stephen C. Tweedie
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