Specifically, my Opera disk cache directory.
Windows 2000 SP4
One HDD, split into C: (Windows install, swap, hibernation file, ~500MB free of 4GB) and
(Programs, data, 8/70GB free) partitions
Using JKDefragGUI for defrag
As much as I love Opera, there's one issue that is really annoying: after even a day or two after defragmenting the drive it's on, the cache blows up to thousands of files, most of which have hundreds of fragments strewn all across the
partition. This leads to occasional serious thrashing. I have just now moved the cache directory to the C: partition and reduced its size from 200 to 50MB, but I'm not very confident that it will all be kept in a coherent chunk.
Is there any way to ensure that the cache directory stays unfragmented that doesn't involve regular defragmentation or re-partitioning of the drive to set aside a special cache partition? I know Truecrypt uses container files to emulate drives, is there any other tool that would provide the same functionality, just without encryption and as resource-friendly as possible?
Posts
Does your HDD have a lot of bad sectors? You do watch a lot of Youtube? (10-20MB+ files being written to your HDD there)
I know I don't have a lot of free space left, but on C: there is a very large chunk of contiguous unfragmented free space, yet all the small files are scattered all over and every new file is written in 20+ fragments.
Maybe I should go whine at the Opera devs.
I don't think that would be a good idea. It isn't Opera's fault. As FyreWulff says, Opera just tells the OS "write this to the disk please" and the OS does the rest.
So the problem is a combination of Opera's cache system (lots of tiny files instead of a few big ones like Firefox, or the huge monolithic behemoth that is the Windows pagefile) and NTFS being unable to deal with all the small files in a sane fashion, it seems.
Meh.
Less physical RAM = more hitting the HDD instead of RAMdisk.
So either you add RAM, or you free up about 10GB on both those partitions.
And no amount of whining to the Opera devs is going to fix a problem that stems from your seemingly out-of-date PC not being up to the task at hand.
Just because the HDD has a good amount of space left doesn't mean the OS can use it to write files to. It could be used by the page file for instance and thus, not available.
Delete a couple Gb of data and do a defragment and you'll see an improvement.