1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

A tip on pagefile fragmentation and restoring a Ghost Image

Discussion in 'Other PC Software' started by Christer, 2005/04/12.

Thread Status:
Not open for further replies.
  1. 2005/04/12
    Christer

    Christer Geek Member Staff Thread Starter

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    Hello all!

    One of my friends runs XP on a computer based on a P4-1.80 GHz and 256 MB RAM. The integrated video nicks 32 MB and to run the system is 224 MB left. He had problems with a constantly resizing pagefile (set to 336-672 MB).

    I suggested to get another stick of 256 MB (still not added) and to increase the pagefile setting to 768-1536 MB (which it would be set to by the installer with 512 MB RAM installed). My instructions included a defragmentation prior to increasing the size of the pagefile.

    After increasing the size, when defragmenting, it always recommends to defragment. The only fragmented file was the pagefile which was in two fragments but it resulted in a quite high percentage. I say was, so what's the cure?

    I simply created and restored an Image using Ghost and the two pagefile fragments were merged ...... :cool: ...... resulting in zero fragmentation!

    Maybe this information will come handy for someone someday somewhere,
    Christer
     
  2. 2005/04/12
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    I'm pretty sure ghost doesn't even copy the page file....

    There's a tweak out there somewhere that will zap the page file everytime you reboot....
     

  3. to hide this advert.

  4. 2005/04/12
    Christer

    Christer Geek Member Staff Thread Starter

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    Correct! From the Ghost manual:

    The above is the reason for the pagefile getting in a single contiguous chunk when restoring an image.

    Christer
     
  5. 2005/04/13
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
  6. 2005/04/13
    Mron

    Mron Inactive

    Joined:
    2005/02/15
    Messages:
    47
    Likes Received:
    0
    The old method of defragging a drive was to copy all files off the HD, format it, and copy them back.
     
    Mron,
    #5
  7. 2005/04/13
    Christer

    Christer Geek Member Staff Thread Starter

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    TonyT,

    I think that I have tried the Sysinternals PageDefrag but I'm not sure. Whichever it was, it defragged the pagefile by moving it to the first location which could accomodate it in one contiguous chunk. On a drive with a high percentage of used space, it would end up towards the back of the drive.

    Ghost actually puts the pagefile towards the front of the drive which is faster. Only a few MB of system files at the front, before the pagefile. If that's the optimum position can be debated. Some people argue that somewhere "in the middle" is better due to access times. I assume that "in the middle" refers to system and program files and not user data which is infrequently accessed.

    Mron,

    that's more or less what is done using Ghost but the files aren't copied to a different drive and back but to and from an Image File. If You create an Image of a fragmented partition and restore the Image to the same partition, it gets "less" fragmented. What "less" means depends on the file system. FAT32 gets almost defragmented but not NTFS to the same extent. I personally always defragment prior to creating an Image. For some reason, it feels safer.

    Christer
     
    Last edited: 2005/04/13
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.