View Single Post
Old 06-19-2015, 05:20 AM   #130
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,477
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I think I know what is going on. After a boot, some event triggers Windows to do a one-time check of its "security catalog", which is a list of every update ever applied. In calibre's case the trigger seems to be loading the font manager (atmfd.dll).

These catalogs are stored in C:\Windows\System32\catroot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}, both on my machine and on yours, according to your log. In your case, and again according to your log, there are 9,410 cat files. On my machine there are 2,605 files.

According to your log, windows requires 30 seconds to do the scan, averaging ≈3 milliseconds per catalog. However, according to the log some take ≈15 ms and others take ≈1 ms. My theory is that some catalogs, probably the older ones that have been superseded, take longer because their validity must be checked.

Assuming you are up-to-date with windows updates, one possible fix is Windows Disk Cleanup (in Accessories). Sometime in the last year or so Microsoft added "Windows update cleanup" to the list of possible tasks. Doing this cleanup (supposedly) removes all cat files that have been superseded by something else or are for some other reason no longer useful.

Registry mess can also affect the catalog scan. If you haven't done it you might consider running something like CCCleaner's registry cleaner. Be sure to make a backup of the registry, perhaps a restore point, and for paranoia a full system image backup.
chaley is offline   Reply With Quote