模拟较慢的机器
有没有一个实用程序可以模拟较慢的机器?我正在寻找能够分析计算机性能的工具,并允许您定义要模拟的性能类型,然后计算差异并对系统施加一些负载,导致差异发生,以便完全模拟较慢的机器。
Is there a utility to simulate a slower machine? I am looking for something that analyses your computer's performance, and allows you to define what kind of performance you want to simulate, and then it calculates the difference and puts some load on your system that causes the difference to occur in order to fully simulate a slower machine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议使用 VMWare、VirtualBox,或类似的东西。这将允许您修改 RAM 大小、CPU 核心数量以及有关机器的其他详细信息。
I would suggest setting up a virtual machine using VMWare, VirtualBox, or something similar. This will allow you to modify RAM size, number of CPU cores, and other details about the machine.
如果您想要 CPU 负载,为什么不直接拥有一个能够占用可变负载量的程序,您可以使用滑块来改变负载量并吸收它并查看。
您可以有一个程序,它交替执行空 for 循环“n”次并休眠“m”毫秒或微秒,无论您可以在系统上实现什么。
If you want CPU load, why not just have a program that will take up a variable amount of load, which you vary with a slider and suck it and see.
You could have a program which alternately executes an empty for loop 'n' times and sleeps for 'm' milliseconds or microseconds, whichever you can achieve on your system.