Yavdhesh commented on code in PR #6855:
URL: https://github.com/apache/jmeter/pull/6855#discussion_r4743151820


##########
bin/jmeter.properties:
##########
@@ -1241,6 +1241,16 @@ cookies=cookies
 # How often to check for shutdown during ramp-up (milliseconds)
 #jmeterthread.rampup.granularity=1000
 
+# Run JMeter user threads (one per virtual user) on Java 21 virtual threads 
instead of
+# platform (OS) threads. This can substantially reduce thread memory and 
context-switching
+# overhead for tests whose user threads mostly wait (HTTP responses, timers, 
JDBC), allowing
+# more concurrent virtual users per load generator. It does not speed up 
CPU-bound samplers.
+# Requires Java 21+; on older JVMs the setting is ignored and platform threads 
are used.
+# Disabled by default. Note: virtual threads are always daemon threads, and on 
Java 21 a
+# virtual thread that holds a monitor (synchronized) while blocking may pin 
its carrier
+# thread; watch for jdk.VirtualThreadPinned events in JFR when enabling this.
+#jmeterthread.use_virtual_threads=false

Review Comment:
   Thank you for you reply @milamberspace. Will get back to you later today. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to