在 Jmeter 中同时运行的最大线程数是多少? [英] What is the highest number of threads that is reasonable to simultaneously run in Jmeter?

查看:216
本文介绍了在 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.

话虽如此,最好在您的硬件上运行它,这样 PC 的 CPU 不会达到 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 - 它成功地运行了 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更多最新一.

Outdated answer since at least version 2.6 see https://stackoverflow.com/a/11922239/460802 for a more up to date one.

这篇关于在 Jmeter 中同时运行的最大线程数是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆