Skip to main content

KubeArmor Performance Benchmarking Data

· 8 min read
Rudraksh Pareek

Benchmarking data

Config

  • Node: 4
  • Platform - AKS
  • Workload -> Sock-shop
  • replica: 1
  • Tool -> Apache-bench (request at front-end service)
  • Vm: DS_v2
VMCPURamData disksTemp Storage
DS2_v227 GiB814 GiB

Without Kubearmor

Average

ScenarioRequestsConcurrent RequestsKubearmor CPU (m)Kubearmor Memory (Mi)Throughput (req/s)Average time per req. (ms)# Failed requestsMicro-service CPU (m)Micro-service Memory (Mi)
no kubearmor500005000--2205.5020.45340401.1287.3333333
Readings
ScenarioRequestsConcurrent RequestsKubearmor CPU (m)Kubearmor Memory (Mi)Throughput (req/s)Average time per req. (ms)# Failed requestsMicro-service CPU (m)Micro-service Memory (Mi)
no kubearmor500005000--2246.790.4450380239
--------------------
no kubearmor500005000--2187.220.4570378358
no kubearmor500005000--2244.160.4460451258
no kubearmor500005000--2213.370.4520351304
no kubearmor500005000--2131.190.4690380251
no kubearmor500005000--2215.890.4510400326
no kubearmor500005000--2172.190.460428332
no kubearmor500005000--2195.730.4550444240
no kubearmor500005000--2206.410.4530385278
no kubearmor500005000--2242.070.4460414318
Average2205.5020.45340401.1287.3333333

Kubearmor with discovered Policy Applied

Average

ScenarioRequestsConcurrent RequestsKubearmor CPU (m)Kubearmor Memory (Mi)Throughput (req/s)Average time per req. (ms)# Failed requestsMicro-service CPU (m)Micro-service Memory (Mi)
no kubearmor500005000141.2111.92169.3580.46090438.2435.1
Readings
ScenarioRequestsConcurrent RequestsKubearmor CPU (m)Kubearmor Memory (Mi)Throughput (req/s)Average time per req. (ms)# Failed requestsMicro-service CPU (m)Micro-service Memory (Mi)
with Policy5000050001311132162.860.4620542446
with Policy5000050001391112190.720.4560457458
with Policy5000050001451122103.460.4750445395
with Policy5000050001491082155.550.4640440454
with Policy5000050001291132177.680.4590395394
with Policy5000050001601222198.530.4550435503
with Policy5000050001561172179.890.4590391451
with Policy5000050001341192196.780.4550408429
with Policy5000050001291142178.070.4590424435
with Policy5000050001401122150.040.4650445386
Average141.2111.92169.3580.46090438.2435.1

BPF LSM benchmarking data

ScenarioConfigKubeArmorMicroservices
RequestsConcurrent RequestsCPU (m)Memory (Mi)Throughput (req/s)Average time per req. (ms)# Failed requestsCPU (m)Memory (Mi)
with kubearmor500005000130991889.810.5290407324
with kubearmor5000050001201041955.260.5110446423
with kubearmor5000050001221011952.940.5120433448
with kubearmor5000050001521041931.710.5180474405
with kubearmor5000050001421081896.010.5270564413
with kubearmor5000050001101071896.950.5270416375
with kubearmor5000050001151061868.770.5350354383
with kubearmor5000050001141091877.290.5330461355
with kubearmor5000050001301051962.810.5090552380
with kubearmor5000050001021101966.190.5090351297
Average123.7105.31919.7740.5210445.8380.3
ScenarioConfigKubeArmorMicroservices
RequestsConcurrent RequestsCPU (m)Memory (Mi)Throughput (req/s)Average time per req. (ms)# Failed requestsCPU (m)Memory (Mi)
with policy5000050001031101806.060.5290431330
with policy5000050001221111836.040.5110432348
with policy5000050001231081871.020.5120505393
with policy5000050001181111915.070.5180599331
with policy5000050001211101896.340.5270405310
with policy5000050001261131896.70.5270450430
with policy5000050001171101915.790.5350408382
with policy5000050001281111885.770.5330482321
with policy5000050001221141900.960.5090433359
with policy5000050001241041887.870.5090448393
Average120.4110.21881.1620.53180459.3359.7