Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When installing ALT or ASM ZT agents, please refer to the following Guidelines for initial memory allotments.

...

As you can see, the allotted memory per job defaults to 1536 MB but may not be enough for additional Virtual Users. So, for example, if there were 400 VUs for a single job, it's possible to override the memory per job by passing a larger Xmx parameter (marked in red) below.

cldemomodularscript -u 300 -d 1200 -t 60 -sdelay 200 -maxloops 0 -sampling 15 -percpage 100 -percurl 20 -maxerrmem 10 -nolog -Xmx3072 

The advantage here is that we can run more jobs per agent, both for ALT and ASM, if we increase the Xmx parameter above the initial recommended settings.

...

  • The basic offset of memory assigned to all load test jobs, in megabytes - 100 MB

  • Additional memory assigned per simulated user, in megabytes. - 5MB to 10MB that means for 1000 users high-throughput tests, the minimum heap size per job should be 5 GB

  • Also sometimes the test may be need a bit more memory than mentioned above if the high throughput tests also have big resources , like big java script files for example.

...

  • Max. Error-Snapshots: limits the maximum number of error snapshots taken during load test execution. The maximum memory used to store error snapshots can be configured (recommended - for cluster jobs: value overall cluster members). The maximum number of error snapshots per URL can be configured (not recommended for cluster jobs: value per Exec Agent).  - maxerrmem

  • Additional Sampling Rate per Page Call: captures the measured response time of a web page each time when a simulated user calls a web page (event-based sampling). Used to display the response time diagrams in real-time and in the Analyse Load Test Details menu. For endurance tests over several hours, it is strongly recommended that the sampling rate for web pages is set between 1% and 5%. For shorter tests, a 100% sampling rate is recommended - percpage

  • Additional Sampling Rate per URL Call: captures the URL's measured response time each time when a simulated user calls a URL (event-based sampling). Used to display the response time diagrams in real-time and in the Analyse Load Test Details menu. For endurance tests over several hours, it is strongly recommended that the sampling rate for URL calls is disabled or set to 1% or 2%. For shorter tests, a 100% sampling rate is recommended -percurl

Example cldemomodularscript -u 50 -d 28800 -t 60 -sdelay 5000 -maxloops 0 -sampling 600 -percpage 5 -percurl 2 -maxerrmem 2 -nolog 

...