Re: swapfile and more ram

1999-05-03 Thread David B.Teague


On Sat, 1 May 1999, add|ct|on wrote:

 my question is this: i'm soon to be getting more ram, and i was
 wondering if there's a way to resize my swap to make use of it. i have
 16 ram now, and my swap partition is about 32 megs. is it possible to
 make it bigger after i move up to 32-48 ram without messing with
 partitions again? i'm a relative newbie to this so if you reply please
 speak in simple terms g. thanks!

Hi

I refer you to Oliver Elphick's response about disk repartitioning
for more swap.

If you *need* more swap space, you can create a swap file. It will
be slower than a swap partition (you are running things through
the file system) but it works. It got me out of the woods. 

Actually, man mkwap will tell you all you need to know. Write me 
back if you need to.

--David
David Teague, [EMAIL PROTECTED]
Debian GNU/Linux Because software support is free, timely,
 useful, technically accurate, and friendly.
 (I'm hoping this is all of the above!)



[Fwd: swapfile and more ram]

1999-05-03 Thread add|ct|on
David B.Teague wrote:
 
 On Sat, 1 May 1999, add|ct|on wrote:
 
  my question is this: i'm soon to be getting more ram, and i was
  wondering if there's a way to resize my swap to make use of it. i have
  16 ram now, and my swap partition is about 32 megs. is it possible to
  make it bigger after i move up to 32-48 ram without messing with
  partitions again? i'm a relative newbie to this so if you reply please
  speak in simple terms g. thanks!
 
 Hi
 
 I refer you to Oliver Elphick's response about disk repartitioning
 for more swap.
 
 If you *need* more swap space, you can create a swap file. It will
 be slower than a swap partition (you are running things through
 the file system) but it works. It got me out of the woods.
 
 Actually, man mkwap will tell you all you need to know. Write me
 back if you need to.
 
 --David
 David Teague, [EMAIL PROTECTED]
 Debian GNU/Linux Because software support is free, timely,
  useful, technically accurate, and friendly.
  (I'm hoping this is all of the above!)
thank you for your help, david. it's appreciated, and was by for the
most useful response i received. if the man confuses me i'll be sure to
drop another line, thanks.


swapfile and more ram

1999-05-01 Thread add|ct|on
my question is this: i'm soon to be getting more ram, and i was
wondering if there's a way to resize my swap to make use of it. i have
16 ram now, and my swap partition is about 32 megs. is it possible to
make it bigger after i move up to 32-48 ram without messing with
partitions again? i'm a relative newbie to this so if you reply please
speak in simple terms g. thanks!


Re: swapfile and more ram

1999-05-01 Thread Andrei Ivanov
 my question is this: i'm soon to be getting more ram, and i was
 wondering if there's a way to resize my swap to make use of it. i have
 16 ram now, and my swap partition is about 32 megs. is it possible to
 make it bigger after i move up to 32-48 ram without messing with
 partitions again? i'm a relative newbie to this so if you reply please
 speak in simple terms g. thanks!

Why resize? When you going to be moving to 32M ram, linux will still be
making trips to swap. 
I'm running 32M physical, and have about 90M of swap. My base X system
(just X, no other applications running in it), goes for 20M alone(
1280x1024 at 16bpp). When I
use xemacs with it, I can still fit in 32M, but netscape+xemacs uses up
about 15M of swap space on top of 32M physical ram. 
ANyway, bottom line is, you dont need to resize your swap.
That memory will get used.
Andrew


---
 Andrei S. Ivanov  
 [EMAIL PROTECTED]   
 UIN 12402354  
 http://members.tripod.com/AnSIv   --Little things for Linux.


Re: swapfile and more ram

1999-05-01 Thread Oliver Elphick
add|ct|on wrote:
  my question is this: i'm soon to be getting more ram, and i was
  wondering if there's a way to resize my swap to make use of it. i have
  16 ram now, and my swap partition is about 32 megs. is it possible to
  make it bigger after i move up to 32-48 ram without messing with
  partitions again? i'm a relative newbie to this so if you reply please
  speak in simple terms g. thanks!

The short answer is, No.  You cannot extend your swap partition if your
disk is already fully partitioned.  If you have any free space, you
can create an additional swap partition.

It seems unlikely, however, that you will need any additional swap space.
The purpose of swap space is to extend your memory space.  If you try
to run a program that needs more RAM than there is available, older
pages will get swapped out into your swap space.  It isn't used at all
until it is needed; if you run the same programs after your RAM upgrade,
your swap requirement should decrease, not increase.

At the momemt, you have an effective 48Mb available to running programs;
if the demand exceeds that, you will get a program aborting for lack of
memory.  After your upgrade, you will have 64-80Mb available.

If you are increasing your memory because you are going to have more
programs running simultaneously, there may indeed be a case for increasing
your swap space.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
   PGP key from public servers; key ID 32B8FAA1
 
 For if ye forgive men their trespasses, your heavenly 
  Father will also forgive you; But if ye forgive not 
  men their trespasses, neither will your Father forgive
  your trespasses. Matthew 6:14,15