在Jmeter中同时运行的最大线程数是多少? [英] What is the highest number of threads that is reasonable to simultaneously run in Jmeter?
问题描述
我想使用尽可能多的线程(使用更少的计算机)但不会使瓶颈在客户端。
I want to use the highest possible number of threads (to use less computers) but without making the bottleneck to be in the client.
推荐答案
我已经使用了JMeter,发现它在产生非常高的负载方面并不是很好。在具有2Gb内存的2Ghz Core2 Duo上你可以合理地期望大约100个线程。
I have used JMeter a fair bit and found it is not great at generating really high load. On a 2Ghz Core2 Duo with 2Gb memory you can reasonably expect about 100 threads.
话虽这么说,最好在你的硬件上运行它以便CPU的PC没有达到100%的峰值 - 稳定的80%-90%是最好的,否则结果会受到影响。
That being said, it is best to run it on your hardware so that the CPU of the PC does not peak at 100% - a stable 80%-90% is best otherwise the results are affected.
我也试过 WAPT 5 - 它成功地从同一台PC上运行了1000多个线程。它不是免费的,但它比JMeter更有用,但没有所有功能。
I have also tried WAPT 5 - it successfully ran 1000+ threads from the same PC. It is not free but it is more useable than JMeter but doesn't have all of the features.
至少版本2.6以来的过期答案请参阅 https://stackoverflow.com/a/11922239/460802 以获取最新信息。
这篇关于在Jmeter中同时运行的最大线程数是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!