This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Disk fragmentation

Why does Sophos AU cause so much fragmentation?

Each minor update downloads but a few KB however every time there's something to do, the entire SAV package is copied (that's > 70Mb's), the new IDE is then integrated and then this entire package is copied back again. This huge > 140MB copy which occurs several times a day is destroying small disk partitions causing machines to grind to a halt during the update cycle.

I'm pretty sure we've all experienced this slowdown and it's time to start making Sophos aware of this so we get a change. It makes no sense at all to copy the entire installation folder each time there's an update. It makes no sense to copy it again once the IDE's added. The process should happen in-place i.e.. checksum the install folder and integrate the update directly. Don't copy the folder. This way, we dramatically reduce fragmentation and speed up the whole update process.

I've got users with typically < 60% disk usage so 'ideal' and plenty of RAM. Give them 3 weeks and the machine always says 'you should defragment this volume' and it's always because the Sophos updates. Anyone else out there have users groaning every five minutes that they can't look at the screen at the moment 'cause Sophos is updating. Now you know why!

Matt

:1720


This thread was automatically locked due to age.
Parents
  • Hi Detlav,

    I agree. This is why I state clearly that my users should not fill beyond 60% capacity. In reality that's hitting 70 to 75%.

    If you draw an arc of performance against usage, you'll see that at around 66% (of disk platter usage - not capacity), the curve rapidly increases exponentially until we hit around 98% then it tails off.

    Unfortunately, NTFS and FAT aren't very good at preventing fragmentation so you get the problem even though the FS has no real need to fragment. This is mostly down to rapid movement of files and journalising (for NTFS - so the problem is worse on NTFS than FAT). You can see a disk that's only 20% full show very heavy fragmentation problems in relatively no time at all by copying a folder of around 100Mb's total size containing 100 to 200 files. If you copy this folder over and over back and forth between two directories, a 100GB disk with 20GB used copying 100MB's 300-400 times will show up as heavily fragmented. As you increase capacity, you'll see the fragmentation issue occurs much sooner reducing from 400 times at 20% to around 100 times at 60%. Once you hit around 30% fragmentation, you'll see that the entire disk structure is now utilised and the only space left is the gaps between files with no contiguous space available.

    To prevent the above, you need to control the amount of copying going on and reduce it as much as possible. If the Sophos update can be rearranged such that the downloaded IDE gets integrated directly and safely into the install folder (that's the c:\program files\sophos\autoupdate\cache\SavXP folder) and the process doesn't rely on copying this entire folder out, integrating and copying back, then fragmentation caused by the 5-10 updates per day will dramatically reduce.

    I have little else going on on the local users disk as all data is stored up on servers with roaming profiles so the users own movements of data are not causing problems. Looking carefully at the disk clusters I'm able to see that the SAV updates are the fragmentations. Once a disk is fragmented, the update cycle slows the machine down dramatically until it becomes basically unusable for around 2-3 minutes and the reason for the slowdown is the disk thrash that's now going on while it copies the cache folder, integrates the download and copies back. The actual install after that takes just a few moments.

    Matt

    :1774
Reply
  • Hi Detlav,

    I agree. This is why I state clearly that my users should not fill beyond 60% capacity. In reality that's hitting 70 to 75%.

    If you draw an arc of performance against usage, you'll see that at around 66% (of disk platter usage - not capacity), the curve rapidly increases exponentially until we hit around 98% then it tails off.

    Unfortunately, NTFS and FAT aren't very good at preventing fragmentation so you get the problem even though the FS has no real need to fragment. This is mostly down to rapid movement of files and journalising (for NTFS - so the problem is worse on NTFS than FAT). You can see a disk that's only 20% full show very heavy fragmentation problems in relatively no time at all by copying a folder of around 100Mb's total size containing 100 to 200 files. If you copy this folder over and over back and forth between two directories, a 100GB disk with 20GB used copying 100MB's 300-400 times will show up as heavily fragmented. As you increase capacity, you'll see the fragmentation issue occurs much sooner reducing from 400 times at 20% to around 100 times at 60%. Once you hit around 30% fragmentation, you'll see that the entire disk structure is now utilised and the only space left is the gaps between files with no contiguous space available.

    To prevent the above, you need to control the amount of copying going on and reduce it as much as possible. If the Sophos update can be rearranged such that the downloaded IDE gets integrated directly and safely into the install folder (that's the c:\program files\sophos\autoupdate\cache\SavXP folder) and the process doesn't rely on copying this entire folder out, integrating and copying back, then fragmentation caused by the 5-10 updates per day will dramatically reduce.

    I have little else going on on the local users disk as all data is stored up on servers with roaming profiles so the users own movements of data are not causing problems. Looking carefully at the disk clusters I'm able to see that the SAV updates are the fragmentations. Once a disk is fragmented, the update cycle slows the machine down dramatically until it becomes basically unusable for around 2-3 minutes and the reason for the slowdown is the disk thrash that's now going on while it copies the cache folder, integrates the download and copies back. The actual install after that takes just a few moments.

    Matt

    :1774
Children
No Data