I frequently run the Disk Cleanup tool and let it compress old files. However, one of the directories it compressed, full of small icon images, is terribly slow. Is this a result of the compression or something else? (Note: No other directories are slow at this point, but I also haven't come across any other directories that were compressed this much by XP)
|
Compression usually has an impact on the CPU. If you compress a lot of small files, it's even more taxing. It's normal behavior, in my opinion. For instance, if you copy 1024 100kB files, it's going to take a whole lot longer than just copying one 100MB file. There's an overhead for each file; the same is true when compressing. |
|||||
|
|
You mean "icon images" as in .ico files? If so, the contents of every file would be read in order for Windows Explorer to display the icon. This is likely to be slow, even if compression is not used. |
|||
|
|
|
Compression affects the system in the following ways:
but there is more to be taken into consideration:
|
||||
|
|
|
In some cases, compressing files on a system can speed things up. This is usually the case when a system is heavily I/O bound, and has CPU cycles to spare. By compressing files on disk, the amount of data that needs to be copied off the disk is reduced. This means that less time is spent waiting on the hard disk. |
|||
|
|
It seems as though disabling the Windows Image Acquisition service helped greatly. Not sure why it affects performance on directories with a large number of images. This seems to work well, since my machine doesn't need this service. |
|||
|
|