如何评估应用程序的性能(CPU、I/O、内存)

How to estimate an application's performance(CPU, I/O, Memory)

已知: 一个应用程序 运行 在服务器上的性能

问题:如果有一台新服务器,我可以得到新服务器的硬件信息,如何估计应用程序运行性能(获取性能指标)没有运行在新服务器上安装它?

有什么建议和方向吗?非常感谢~

很难,处理器指令可能会发生变化,总线速度较慢,磁盘速度较慢(HDD 与 SDD,寻道时间会增加第一个选项的利用率),您需要考虑所有这些,您将需要知道您的系统如何使用它们中的每一个,但问题并没有就此结束,可能会有软限制,测试可能甚至没有使用所有资源,更容易获得机器和 运行 在实际硬件上的测试。

该视频是 Goranka Bjedov 关于性能测试的演示,她是 google 软件 工程师。

https://youtu.be/k9h51BM2h4

在演讲的最后,在问题部分有人谈到了结果外推。这些是问题的答案:

"So i tell you a couple of things at google i am lucky right, because machines in our data center we don't have supercomputers, unless you look at how we have organized the machines, they do act as one, but really are individual boxes, they are pretty much the same as the boxes that i'll have in the office, so i'm very lucky in that respect"

https://youtu.be/k9h51BM2h4w?t=3704

"You have a real problem, i mean you really want get some time on that machine before it goes load in production, and if the system is not already load in production, it should be not that difficult to get it for a week or a weekend or something so you get some data on how is behaving, because you can't extrapolate the results from an ***, you don't even know, i mean it is a different operating system, everything is different. Umm, extrapolation will kill you, interpolation is great but extrapolation will kill you, because things just go wrong were you didn't expect, or run out of some resource that you never expected."

https://youtu.be/k9h51BM2h4w?t=3780