对于像这样的受cpu限制的工作量,拥有比cpu多的线程(或执行组)将导致收益递减。
For a CPU-bound workload such as this one, having more threads (or execution groups) than CPUs leads to diminishing returns.
至此,您的边际收益将开始逐渐递减,因为进一步增加堆大小将不会带来成比例的性能改进。
At this point, you reach a point of diminishing marginal returns where increasing the heap size further does not yield a proportional performance benefit.
实际上,根据数据和图形可以看出,如果定义的HTTP线程数量高于实际需要的数量,将导致性能递减,内存消耗增加。
In fact, as indicated by the data and graphs, there is a degradation in performance and an increase in memory consumption, if there are more HTTP threads defined than are needed.
应用推荐