Difference between revisions of "IT-SDK-Testing-Performance"

From wiki.samerhijazi.net
Jump to navigation Jump to search
m (Studying moved page IT-SDK-JMeter to IT-SDK-Performance-Testing)
(K6-Settings)
Line 22: Line 22:
 
Duration: 50 minutes.
 
Duration: 50 minutes.
 
</pre>
 
</pre>
=K6-Settings=
+
=K6=
 +
==Commands==
 +
<pre class="code">
 +
</pre>
 +
==Settings==
 
<pre class="code">
 
<pre class="code">
 
sysctl net.ipv4.ip_local_port_range
 
sysctl net.ipv4.ip_local_port_range

Revision as of 17:38, 1 August 2022

Ref.

Ref-Used

Infrastructure

  • TOP: Cluster, Engine, Threads (Users)
  • Clsuter: has 1 console (only one) and 0-14 engines.

Configuration

Cluster: 1 Console & 0-14 Engines.
Engines: 
Threads: 500 users.
Ramp-up: 40 minutes.
Iteration: forever.
Duration: 50 minutes.

K6

Commands


Settings

sysctl net.ipv4.ip_local_port_range
sysctl net.ipv4.tcp_tw_reuse
sysctl net.ipv4.tcp_timestamps
ulimit -n
#####################################################
sysctl -w net.ipv4.ip_local_port_range="32768 60999"
sysctl -w net.ipv4.tcp_tw_reuse=2
sysctl -w net.ipv4.tcp_timestamps=1
ulimit -n 1024
#####################################################
sysctl -w net.ipv4.ip_local_port_range="1024 65535"
sysctl -w net.ipv4.tcp_tw_reuse=1
sysctl -w net.ipv4.tcp_timestamps=1
ulimit -n 250000