IIS7集成管道模式比经典慢
我们正在 W2008 R2 Standard 上运行复杂的 64 位 ASP.NET 2.0 应用程序,使用 VS2008 Team System 进行的压力测试表明集成管道模式比经典模式慢 30%。
我们对应用程序跟踪进行了广泛的比较,发现集成模式都比经典模式慢。也就是说,集成模式下不存在导致延迟的单点。
这与微软所说的关于集成管道的一切完全相反,因此可能是集成模式或服务器的配置有问题。但我们还没有发现任何对此有任何影响的设置。可以发现一些关于 Sharepoint 和报告服务在集成模式下速度较慢的抱怨,但我们的应用程序不使用它们,因此这很可能是无关的。
有什么想法可能会导致性能不佳或如何调试此问题吗?
We are running a complex 64-bit ASP.NET 2.0 application on W2008 R2 Standard and stress tests done with VS2008 Team System have indicated that integrated pipeline mode is 30% slower than classic mode.
We have compared the application traces extensively and it appears that integrated mode is uniformly slower than classic. That is, there is no single point that causes delays in integrated mode.
This is quite the opposite to everything Microsoft says about the integrated pipeline, so it might be that there is something quite wrong with the configuration of the integrated mode or the server. But we have not found any settings that would have any effect on this. Some complaints that Sharepoint and reporting services are slower in integrated mode can be found, but our application does not use them so this is quite likely unrelated.
Any ideas what might cause the poor performance or how to debug this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您看过 perfmon 中的线程使用情况吗?
我自己没有对此进行测试,但我猜测集成管道将使用更多 ASP.NET 工作线程,因为所有请求都通过托管处理程序传递。
您可以在此处找到更多详细信息:
http://msdn.microsoft.com/en -us/library/ff650682.aspx
在这里查看我的问题:
IIS7 集成管道与经典管道 - 哪个使用更多 ASP.NET 线程?
Have you looked at thread usage in perfmon?
I have not tested this myself, but I am guessing that Integrated Pipeline will use more ASP.NET worker threads since all requests pass thru the managed handler.
You may find more details here:
http://msdn.microsoft.com/en-us/library/ff650682.aspx
See my question here:
IIS7 Integrated vs Classic Pipeline - which uses more ASP.NET threads?
我会考虑启用跟踪并查看您的性能在哪里较慢。这里有一篇好文章:
http://www.west-wind.com /weblog/posts/9827.aspx
希望有帮助。
I would look at enabling tracing and see where your performance is slower. there is a good article here:
http://www.west-wind.com/weblog/posts/9827.aspx
Hope that helps.