What is the highest number of threads that is reasonable to simultaneously run in Jmeter?

后端 未结 9 1648
梦谈多话
梦谈多话 2020-11-28 08:06

I want to use the highest possible number of threads (to use less computers) but without making the bottleneck to be in the client.

9条回答
  •  被撕碎了的回忆
    2020-11-28 08:47

    There is not standard number for this. The maximum number of threads that you can generate from one computer depends completely on the computer's hardware and the OS. The OS by default occupies certain amount of CPU and the RAM.

    To find out the maximum threads your computer can handle you can prepare a sample test and run it with only a few threads. Then with each cycle of test run increase the number of threads gradually. During this you also need to monitor the CPU, RAM, Disk I/O and Network I/O of your computer. The moment any of these reach near or beyond 80% (Again for you to decide if near is okay for you or beyond), that is the maximum number of threads your computer can handle. To be on the safer side I would stop at the number when the resource utilization reaches 70%.

提交回复
热议问题