.net 应用程序分析(性能和内存)指南
我是分析应用程序的新手。截至目前,我必须开发一个由客户端服务器架构组成的.net 连接系统。服务器由作为 Windows 服务托管的服务器 wcf 服务和 asp.net mvc 2 应用程序组成。客户端是一个wpf应用程序。还有其他正在运行的 Windows 服务在客户端和服务器之间执行同步。
我遇到运营团队提到应用程序的内存使用率不应超过 50%,CPU 利用率不应超过 90%。
我的问题是
1)他们是如何得出这些数字的?换句话说,是什么决定了特定应用程序在 cpu 和内存使用方面具有一定的基准。
2) 除了 CPU 和内存使用情况之外,还有哪些性能计数器可以提供对应用程序的深入了解。
我计划使用 dotTrace 或 ANTS 分析器?基于这个 What Are Some Good .NET Profilers? 问题的答案ANTS 将是一条出路。我更感兴趣的是了解应该考虑的性能计数器。
谢谢。
I am new to profiling applications. As of now I have to work on a .net connected system which comprises of client server architecture. Server comprises of server wcf services hosted as windows services and an asp.net mvc 2 application. The client is a wpf application. There are other windows services running that perform synchronization between client and server.
I have come across ops team mentioning that the application should not go beyond 50% memory usage and similar 90% cpu utilization.
My question is
1) how do they come with that numbers ? In other words, what determines that a particular application will have a certain benchmark in terms of cpu and memory usage.
2) What are some of the performance counters apart from cpu and memory usage that can provide insights into the application.
I am planning to using dotTrace or ANTS profiler? Based on answers to this What Are Some Good .NET Profilers? question it seems ANTS would be the way to go. I am more interested in the knowing the performance counters that should be taken into consideration.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我没有指标,但根据应用程序,还要检查文件 I/O 和网络 I/O。
I don't have a metric, but depending on the app, check for File I/O and Network I/O as well.