Confirmed users
764
edits
(→adw's Windows XP experience: Included quote from MSFTer) |
|||
| Line 155: | Line 155: | ||
* [http://twpol.dyndns.org/weblog/2009/07/29/01 flushmem.exe] from Chad Austin | * [http://twpol.dyndns.org/weblog/2009/07/29/01 flushmem.exe] from Chad Austin | ||
I noticed no difference between starting Firefox warm and starting it after using both CacheSet and purge.exe. Whatever they may do, combined with disabled prefetch they | I noticed no difference between starting Firefox warm and starting it after using both CacheSet and purge.exe. Whatever they may do, combined with disabled prefetch they are not sufficient to simulate cold startup. | ||
After using flushmem.exe, Firefox starts up in about the same time it takes for it to startup cold, but it ground my system to a halt for nearly ten minutes. | After using flushmem.exe, Firefox starts up in about the same time it takes for it to startup cold, but it ground my system to a halt for nearly ten minutes. | ||
| Line 175: | Line 175: | ||
</pre> | </pre> | ||
Quoting a Microsoft [http://tester.poleyland.com/ software tester] on this [http://social.msdn.microsoft.com/forums/en-US/softwaretesting/thread/d4729488-d610-45bc-bea9-4f8e3e59c62d/ MSDN forum thread]: | |||
<blockquote> | |||
This is actually a very complicated thing to do, and to do it correctly, these are some of the things you need to worry about: | |||
* Invalidating the CPU caches | |||
* Invalidating the cache on the storage media | |||
* Invalidating the OS's read cache (note that this is not the same as the write cache which can be flushed with [http://msdn2.microsoft.com/en-us/library/aa364439.aspx FlushFileBuffers]) | |||
* Removing items from the OS's KnownDLL cache ([http://blogs.msdn.com/larryosterman/archive/2004/07/19/187752.aspx Larry], [http://support.microsoft.com/kb/164501 KB]) | |||
* Removing items from the CLR JIT compilation cache (.NET apps only) | |||
</blockquote> | |||