QRecall Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 

Is compact slow with an almost full disk? RSS feed
Forum Index » General
Author Message
Mike M


Joined: Aug 12, 2016
Messages: 47
Offline
I let my backup drive get 99% full without having done a compact in a while. I started a compact on my system drive archive. My system drive is a 500MB SSD and the archive was occupying about 1.3 TB. It ran for 50 hours without finishing. I figured it might be slow due to low space on the drive, so I stopped it, cleaned up about 300 MB of space, then restarted the compact. (At the time I stopped it, the archive was still about the same size.) It finished literally 5 minutes later, having reduced the archive to 700 MB. Does this slow behavior, followed by rapid finish once there was space, sound like something you would expect?
Thanks,
Mike
James Bucanek


Joined: Feb 14, 2007
Messages: 1572
Offline
It's hard to say exactly what was going on, but I wouldn't say this behavior is surprising.

When a volume fills up, it becomes harder and harder for the filesystem to locate free clusters needed while writing, and files become increasingly fragmented. If the volume is really really full, this slowdown can be excruciating; like 1,000 or more times slower than normal. In other words, an operation that would normally have finished in a 1/10 of a second could take a minute or more.

The first compact after a capture performs garbage collection, which results in rewriting several quanta index files. If this was happening on a nearly full drive, I can imagine abysmal performance.

Your clean up of 300 MB was probably enough to save the volume from fragmentation purgatory, and as soon as the compact was stopped it would have deleted its own temporary index files, freeing more space, and probably restoring much of the filesystem's typical performance.

- QRecall Development -
[Email]
Mike M


Joined: Aug 12, 2016
Messages: 47
Offline
thanks. I'm running on a compact on the other two archives. We'll see if it finishes faster.
Mike
 
Forum Index » General
Go to:   
Mobile view
Powered by JForum 2.8.2 © 2022 JForum Team • Maintained by Andowson Chang and Ulf Dittmer