Windows XP 预取器注册表值 [英] Windows XP prefetcher registry values
问题描述
我一直在研究 Windows 预取系统,希望找到一种方法来加快我正在处理的应用程序的加载时间.我找到了以下链接,其中开发人员描述了对预取器注册表值的修改:
I have been investigating the windows Prefetching system hoping to find a way to speed up the load time of an application I am working on. I found the following link where a developer describes modifications to the prefetcher registry values:
http://dotnet.dzone.com/news/improving-cold-startup
我在本地进行了类似的修改,发现它们确实提供了更快的应用程序加载时间.我的问题是我找不到任何关于更改的注册表值以及为什么新值比旧值更好的文档.
I have made similar modifications locally and found that they do provide faster application loading times. My problem is that I cannot find any documentation on the registry values that were changed and why the new values are better than the old ones.
简而言之,我的问题是,是否有人对下面给出的预取器注册表值有任何进一步的信息:
So my question in short is, does anybody have any further information on the prefetcher registry values given below:
VideoInitTime
EnablePrefetcher
AppLaunchMaxNumPages
AppLaunchMaxNumSections
AppLaunchTimerPeriod
BootMaxNumPages
BootMaxNumSections
BootTimerPeriod
MaxNumActiveTraces
MaxNumSavedTraces
RootDirPath
HostingAppList
推荐答案
你没有说你做了什么分析或其他改变,当人们深入研究性能问题的现成解决方案但不说如果不描述他们是如何满足需求的,我总是有点怀疑.
You don't say what profiling or other changes you've done, and when people dive in with off-the-wall solutions to perf problems but don't describe how they arrived at the need for them, I'm always a bit doubtful.
您的应用的启动时间在哪里?你是怎么衡量的?你能解决那篇文章中描述的类型的潜在300 dll"问题吗?
Where is your app spending its start-up time? How did you measure that? Can you fix an underlying '300 dlls' problem of the type described in that article?
搞乱操作系统预取策略可能会以牺牲其他人为代价来改进您的应用程序,这可能是正确的做法(在一次性工业控制系统或类似的系统上),但可能 完全反社会.
Messing with OS prefetch policy may being improving your application at the expense of everyone else, which may be the right thing to do (on a single-use industrial control system or something like that), but may be completely antisocial.
加载更少的代码"通常是改善应用程序启动时间的一种很好的通用方法 - 例如,您是否有一些非常昂贵的配置文件存储机制(例如,XmlSerializer 曾因此而臭名昭著).
"Load less code" is often a good general way to improve application startup time - do you have some very expensive config file storage mechanism, for example (XmlSerializer was notorious for this at one point, for example).
这篇关于Windows XP 预取器注册表值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!