Questions

is it safe to delete 1 pagefile.sys if you have 2 internal HD's?

+
0 Votes
Locked

is it safe to delete 1 pagefile.sys if you have 2 internal HD's?

rroberto18
I have 2 internal HDs on my Win XP SP3 system. I was advised to create a pagefile.sys on the non-boot drive (F) to increase performance. I then limited the boot drive's pagefile.sys size to 0 (C) and rebooted, but the original pagesys file (C) persists.

Is it safe to delete it (on C) under these circumstances? Or should I employ some other steps to free up the space on my boot HD (C) that the now-useless pagesys occupies there?
  • +
    0 Votes
    balge

    hi
    should be, as long as you make sure Windows has actually reconfigured properly to use your other drive and turned it off on C:\...doesn't sound as though yours has
    However - I have tried this several times and frankly it makes no discernible difference whatever and it can lead to problems if your other drive becomes unavailable.
    Also if you have a faster disk why not put Windows on it and use the slow disk for data or whatever?
    cheers!

    +
    0 Votes
    OldER Mycroft

    Since the Pagefile should be between [1.5 times] to [2.0 times] your total system RAM.

    If you want to place the Pagefile on the second hard drive (then delete the Pagefile on the primary hard drive) you should perform BOTH operations at the same time from the same place.

    While you are invoking a Pagefile on your secondary hard drive, DON'T reduce the primary Pagefile to zero - just mark your C: drive as 'having no Pagefile'.

    To get the maximum benefit from placing your Pagefile on a different (non-system) hard drive you should create a partition that is for the Pagefile ONLY. Create a PARTITION which is just slightly larger than your intended Pagefile will be (twice the size of your RAM) and place your new Pagefile in this new partition. Make the lower and upper sizes THE SAME. I gave my own partitioned pagefile the drive letter 'Z:' to keep it separate from any other bunches of drive letters and to prevent any possible confusion with Drive Management screens.

    By doing it this way, you'll prevent the Pagefile from ever becoming fragmented, because the only activity that will ever take place inside that partition will be for the Pagefile. Also, because the Pagefile will be inside its own partition, the Read/Write heads will have much less distance to travel when accessing this Pagefile.

    I am assuming you are aware that if you remove the Pagefile from your system hard drive, in the eventuality of a system crash, your computer will be unable to write a memory dump to disk. (PCs can only do this to the C: drive Pagefile) - if you want to retain the ability to catch a memory dump, leave a Pagefile on your system hard drive that is the same size as your RAM.

    +
    0 Votes
    dixon

    I've done it exactly as you described on several Server 2003 boxes, and it hasn't failed me yet.

    +
    0 Votes
    TheChas

    You do not want to manually delete pagefile.sys, and you really do not want to have no page file on your boot drive.

    Here is a link to a very good article on page file / virtual memory settings.

    http://www.aumha.org/win5/a/xpvm.htm

    I tend to disagree with the old school of a fixed page file at 1.5 to 2X system memory. Total memory needs to be at least 1GB and the page file must be at least as large as installed RAM.

    For your configuration, you want a fixed size page file equal to the size of RAM on the boot drive and a second page file set for Windows to manage on your second drive.

    The main reason to have a fixed size page file on your boot drive is so that if Windows ever needs to, it can perform a memory dump that can provide diagnostic information for system errors.

    If you do still wish to eliminate the page file on your C: drive, change to virtual memory settings to "No Paging File" on the C: drive. If a page file is still on the drive, wait a few days to verify that the file is not being used. Then you can manually delete it.

    Chas

    +
    0 Votes
    yclee

    I accidentally set a second pagefile on another logical drive in the same physical drive as boot drive, and this seems gaining no improvement on the performance.

    As my disk space is limited, can I remove the additional one, and reclaim the space?

    +
    0 Votes
    seanferd

    Putting the pagefile on a different partition <i>on the same drive</i> will do nothing for performance.

    Absolutely, remove the additional, unused pagefile. Follow instructions as given above.

  • +
    0 Votes
    balge

    hi
    should be, as long as you make sure Windows has actually reconfigured properly to use your other drive and turned it off on C:\...doesn't sound as though yours has
    However - I have tried this several times and frankly it makes no discernible difference whatever and it can lead to problems if your other drive becomes unavailable.
    Also if you have a faster disk why not put Windows on it and use the slow disk for data or whatever?
    cheers!

    +
    0 Votes
    OldER Mycroft

    Since the Pagefile should be between [1.5 times] to [2.0 times] your total system RAM.

    If you want to place the Pagefile on the second hard drive (then delete the Pagefile on the primary hard drive) you should perform BOTH operations at the same time from the same place.

    While you are invoking a Pagefile on your secondary hard drive, DON'T reduce the primary Pagefile to zero - just mark your C: drive as 'having no Pagefile'.

    To get the maximum benefit from placing your Pagefile on a different (non-system) hard drive you should create a partition that is for the Pagefile ONLY. Create a PARTITION which is just slightly larger than your intended Pagefile will be (twice the size of your RAM) and place your new Pagefile in this new partition. Make the lower and upper sizes THE SAME. I gave my own partitioned pagefile the drive letter 'Z:' to keep it separate from any other bunches of drive letters and to prevent any possible confusion with Drive Management screens.

    By doing it this way, you'll prevent the Pagefile from ever becoming fragmented, because the only activity that will ever take place inside that partition will be for the Pagefile. Also, because the Pagefile will be inside its own partition, the Read/Write heads will have much less distance to travel when accessing this Pagefile.

    I am assuming you are aware that if you remove the Pagefile from your system hard drive, in the eventuality of a system crash, your computer will be unable to write a memory dump to disk. (PCs can only do this to the C: drive Pagefile) - if you want to retain the ability to catch a memory dump, leave a Pagefile on your system hard drive that is the same size as your RAM.

    +
    0 Votes
    dixon

    I've done it exactly as you described on several Server 2003 boxes, and it hasn't failed me yet.

    +
    0 Votes
    TheChas

    You do not want to manually delete pagefile.sys, and you really do not want to have no page file on your boot drive.

    Here is a link to a very good article on page file / virtual memory settings.

    http://www.aumha.org/win5/a/xpvm.htm

    I tend to disagree with the old school of a fixed page file at 1.5 to 2X system memory. Total memory needs to be at least 1GB and the page file must be at least as large as installed RAM.

    For your configuration, you want a fixed size page file equal to the size of RAM on the boot drive and a second page file set for Windows to manage on your second drive.

    The main reason to have a fixed size page file on your boot drive is so that if Windows ever needs to, it can perform a memory dump that can provide diagnostic information for system errors.

    If you do still wish to eliminate the page file on your C: drive, change to virtual memory settings to "No Paging File" on the C: drive. If a page file is still on the drive, wait a few days to verify that the file is not being used. Then you can manually delete it.

    Chas

    +
    0 Votes
    yclee

    I accidentally set a second pagefile on another logical drive in the same physical drive as boot drive, and this seems gaining no improvement on the performance.

    As my disk space is limited, can I remove the additional one, and reclaim the space?

    +
    0 Votes
    seanferd

    Putting the pagefile on a different partition <i>on the same drive</i> will do nothing for performance.

    Absolutely, remove the additional, unused pagefile. Follow instructions as given above.