Defrag swap file

Microsoft Windows 98

My Win98 machine's HD is partitioned into C: & D:, 2 gigabytes each,
and the swap file is on C: I've notice, during the defrag of C:, there
are certain blocks of spread-out clusters that never get moved. I am
assuming they are the swap file. Would the swap file function better
if all the clusters were contiguous?

If I defragged D:, then moved the swap file to D:, and rebooted, would
that defrag the swap file?

If so, and once again, how do I do that correctly, move the swap file
to D:? I recall starting to do that once, but all the ominous MS
warning messages (Unstable, Unuseable, Doom) caused me to back off.

Since I keep data on D: and programs on C:, should I keep the swap file
on C: or D:?

What is the optimum size for the swap file? Or is that best left to
Win98 to manage?
@i39g2000cwa.googlegroups.com:


Files which are in use cannot be defragged. So it can also be a buch of
exe's and dll's


Yes.

Yes.


Rightclick 'My Computer'->Properties->Tab performance->Virtual memory

Don't bother about the warnings. It will work fine.



Assuming C: and D: are two partitions on the same disk, I would prefer C:
Program files doesn't change as much as data, I hope, so the disk will
not get fragged that much. It is also possible that the C: partition is
faster. When it are different drives, take the fastest.


When you put the minimum and maximum size the same, it will be static,
and it will not get fragged. But then W98 cannot manage it. Seeing the
size of your partitions, I suppose you've got 128 MB memory. In that case
I would fix it on 384 MB. When you get 'Low on virtual memory' messages,
make it 512
That is bad advice. See my reply to Don Phillipson.

Ron Martell Duncan B.C. Canada