TIP: Click on subject to list as thread! ANSI
echo: os2
to: Linda Proulx
from: Roy J. Tellason
date: 1999-10-25 17:40:00
subject: Swap Question

Linda Proulx wrote in a message to All:

 LP> Greetings,

 LP> Am wondering if I can make a logical partition just for the 
 LP> swap file(s) & point the swap setup to it.

You can,  though I don't particularly see a whole lot of advantage to doing
so.  One plus would be that you don't have to worry about that swapfile ever
getting fragmented.  On the other hand you're adding a nontrivial seek to that 
"drive" each time the swapfile needs to be accessed,  and fragmentation isn't
much of a problem for HPFS drives anyhow.

 LP> And if I can, what size of partiton should I make for it & 
 LP> other program swap files?

I took this approach with my Linux setup,  gave it 128M of swap space,  but
it's seldom used,  even though I'm running a server on that box.  For OS/2, 
it's hard to say.  As someone else pointed out in a message I read earlier
today,  you can start it out small and it'll grow as needed,  and shrink more
slowly.  Over time you should get a pretty good idea of how much you're likely 
to need,  and then you can set the initial size to be close to that,  avoiding 
the overhead involved in growing it.

If you have more than one physical drive,  then the picture changes a little
bit.  The seek to inner tracks is less of a problem.  In that kind of a
situation I'd put it on the second drive.

--- 
* Origin: TANSTAAFL BBS 717-838-8539 (1:270/615)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.