# Benchmarking data
You can setup the benchmarking environment by following [this](https://github.com/kubearmor/KubeArmor/wiki/Kubearmor-Performance-Benchmarking-Guide) guide.
### Config
- Node: 3 e2-custom-2-4096 (2vCPU. 4GB RAM), 1 e2-standard-4 = 4 Node Cluster
- Platform - GKE
- Workload -> [Microservices-Demo](https://github.com/GoogleCloudPlatform/microservices-demo)
- Tool -> Locust Loadgenerator (request at front-end service)
## Report for WithoutKubeArmor -
Users | KUBEARMOR | KUBEARMOR-RELAY | Throughput (req/s) | Percentage Drop | CART | CHECKOUT | CURRENCY | PAYMENT | SHIPPING | FRONTEND | AD | PRODUCT | RECOMMENDATION | REDIS | EMAIL | LOAD |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=0, Memory=0 |CPU=0, Memory=0 | 128.732 | 0 |CPU=246.37457, Memory=312.8789 |CPU=44.28313, Memory=44.48828 |CPU=400.51956, Memory=486.6836 |CPU=8.862442, Memory=80.78906 |CPU=36.93797, Memory=35.101562 |CPU=832.6644, Memory=556.46094 |CPU=76.14444, Memory=187.1211 |CPU=288.64716, Memory=105.859375 |CPU=263.45087, Memory=555.46094 |CPU=25.548306, Memory=7.328125 |CPU=14.818509, Memory=202 |CPU=168.36156, Memory=143.74219 | |
## Report for WithKubeArmorVisibility - none
Users | KUBEARMOR | KUBEARMOR-RELAY | Throughput (req/s) | Percentage Drop | REDIS | CURRENCY | EMAIL | CART | CHECKOUT | LOAD | PAYMENT | PRODUCT | RECOMMENDATION | FRONTEND | AD | SHIPPING |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=148.85703, Memory=1013.71484 |CPU=41.61708, Memory=24.433594 | 128.15533 | 0.44795406 |CPU=24.572655, Memory=7.3671875 |CPU=407.54935, Memory=495.7578 |CPU=13.508511, Memory=189.26562 |CPU=237.51074, Memory=314.59375 |CPU=41.806023, Memory=45.88672 |CPU=168.53741, Memory=145.89453 |CPU=8.236101, Memory=79.41406 |CPU=284.99582, Memory=106.96094 |CPU=269.4707, Memory=520.5 |CPU=828.9972, Memory=563.0625 |CPU=70.21821, Memory=189.03906 |CPU=36.567623, Memory=35.70703 | |
## Report for WithKubeArmorVisibility - process
Users | KUBEARMOR | KUBEARMOR-RELAY | Throughput (req/s) | Percentage Drop | AD | CART | LOAD | PRODUCT | RECOMMENDATION | REDIS | FRONTEND | CHECKOUT | CURRENCY | EMAIL | PAYMENT | SHIPPING |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=125.22489, Memory=951.21484 |CPU=29.142513, Memory=18.832031 | 128.89934 | -0.12999344 |CPU=75.8504, Memory=189.91016 |CPU=238.15443, Memory=315.64062 |CPU=169.05681, Memory=146.24219 |CPU=296.2364, Memory=108 |CPU=274.77512, Memory=512.6094 |CPU=25.606138, Memory=7.3710938 |CPU=846.01855, Memory=564.33203 |CPU=44.325584, Memory=46.726562 |CPU=417.7662, Memory=501.77344 |CPU=14.077331, Memory=187.07031 |CPU=8.782218, Memory=84.13281 |CPU=37.981434, Memory=36.214844 | |
## Report for WithKubeArmorVisibility - process & file
Users | KUBEARMOR | KUBEARMOR-RELAY | Throughput (req/s) | Percentage Drop | AD | LOAD | PRODUCT | FRONTEND | CHECKOUT | CURRENCY | EMAIL | PAYMENT | RECOMMENDATION | REDIS | SHIPPING | CART |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=132.4555, Memory=940.1172 |CPU=30.225115, Memory=18.605469 | 128.13 | 0.46763024 |CPU=60.933636, Memory=190.77734 |CPU=167.54088, Memory=147.4961 |CPU=287.31635, Memory=108.72656 |CPU=790.0022, Memory=565.8281 |CPU=41.338013, Memory=46.039062 |CPU=394.87006, Memory=506.80078 |CPU=12.7454, Memory=187.26953 |CPU=9.284094, Memory=84.515625 |CPU=265.39203, Memory=513.0469 |CPU=22.856817, Memory=7.375 |CPU=36.16315, Memory=36.316406 |CPU=221.55504, Memory=315.79688 | |
## Report for WithKubeArmorVisibility - process & network
Users | KUBEARMOR | KUBEARMOR-RELAY | Throughput (req/s) | Percentage Drop | CURRENCY | EMAIL | LOAD | PAYMENT | PRODUCT | RECOMMENDATION | AD | CART | REDIS | SHIPPING | FRONTEND | CHECKOUT |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=149.94756, Memory=952.0742 |CPU=40.803223, Memory=24.367188 | 127.022 | 1.3283345 |CPU=399.51642, Memory=508.72266 |CPU=14.033979, Memory=187.30078 |CPU=167.75024, Memory=150.96484 |CPU=8.788992, Memory=85.9375 |CPU=281.56488, Memory=107.55859 |CPU=272.3543, Memory=514.1094 |CPU=71.120544, Memory=191.36719 |CPU=218.06712, Memory=316.6797 |CPU=25.114305, Memory=7.6054688 |CPU=37.38724, Memory=35.88672 |CPU=824.1357, Memory=569.8828 |CPU=41.509525, Memory=45.25 | |
## Report for WithKubeArmorVisibility - process, network & file
Users | KUBEARMOR-RELAY | KUBEARMOR | Throughput (req/s) | Percentage Drop | CURRENCY | PRODUCT | SHIPPING | EMAIL | LOAD | PAYMENT | RECOMMENDATION | FRONTEND | AD | CART | CHECKOUT | REDIS |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=41.61372, Memory=24.667969 |CPU=159.04669, Memory=949.4219 | 128.62134 | 0.085959 |CPU=406.13626, Memory=519.51953 |CPU=286.8012, Memory=109.4375 |CPU=36.455612, Memory=35.1875 |CPU=13.656824, Memory=187.3711 |CPU=169.47803, Memory=151.64453 |CPU=8.516343, Memory=89.04297 |CPU=270.52646, Memory=515.1953 |CPU=820.47943, Memory=568.3125 |CPU=70.142105, Memory=192.21094 |CPU=253.42268, Memory=315.23438 |CPU=40.630527, Memory=45.19922 |CPU=24.67582, Memory=7.3671875 | |
## Report for WithKubeArmorPolicy - process
Users | KUBEARMOR | KUBEARMOR-RELAY | Throughput (req/s) | Percentage Drop | PAYMENT | FRONTEND | CART | CURRENCY | LOAD | RECOMMENDATION | REDIS | SHIPPING | AD | CHECKOUT | EMAIL | PRODUCT |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=125.707886, Memory=971.2344 |CPU=30.445955, Memory=18.503906 | 128.22267 | 0.3956461 |CPU=8.99597, Memory=87.90625 |CPU=848.0419, Memory=568.96484 |CPU=238.44423, Memory=314.9297 |CPU=411.08618, Memory=517.60156 |CPU=162.81694, Memory=151.58594 |CPU=264.08054, Memory=514.8867 |CPU=27.800013, Memory=7.3867188 |CPU=38.44724, Memory=35.85547 |CPU=78.75957, Memory=192.66016 |CPU=45.27826, Memory=46.683594 |CPU=15.397302, Memory=187.4375 |CPU=293.5244, Memory=108.84766 | |
## Report for WithKubeArmorPolicy - process & file
Users | KUBEARMOR | KUBEARMOR-RELAY | Throughput (req/s) | Percentage Drop | CART | CURRENCY | EMAIL | REDIS | PAYMENT | PRODUCT | RECOMMENDATION | SHIPPING | FRONTEND | AD | CHECKOUT | LOAD |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=115.115944, Memory=966.46094 |CPU=29.036736, Memory=18.628906 | 129.10066 | -0.2863838 |CPU=230.01929, Memory=315.3086 |CPU=386.39716, Memory=523.1953 |CPU=13.035128, Memory=187.47656 |CPU=23.8288, Memory=7.3671875 |CPU=8.409148, Memory=89.69531 |CPU=282.4763, Memory=108.203125 |CPU=262.569, Memory=515.66016 |CPU=35.9044, Memory=36.398438 |CPU=797.52625, Memory=571.1406 |CPU=64.3745, Memory=193.51172 |CPU=39.385956, Memory=45.859375 |CPU=163.25774, Memory=151.42969 | |
## Report for WithKubeArmorPolicy - process, file and network
Users | KUBEARMOR | KUBEARMOR-RELAY | Throughput (req/s) | Percentage Drop | RECOMMENDATION | SHIPPING | PAYMENT | PRODUCT | CART | CHECKOUT | CURRENCY | EMAIL | LOAD | REDIS | FRONTEND | AD |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
600 |CPU=115.52084, Memory=967.52734 |CPU=28.954618, Memory=18.628906 | 129.306 | -0.4458916 |CPU=260.10086, Memory=516.125 |CPU=36.50332, Memory=35.46875 |CPU=7.9424996, Memory=91.98047 |CPU=289.6917, Memory=109.50391 |CPU=247.90126, Memory=315.4336 |CPU=39.651695, Memory=46.710938 |CPU=390.12442, Memory=524.72656 |CPU=12.777904, Memory=187.49219 |CPU=160.31522, Memory=153.1914 |CPU=23.183218, Memory=7.3671875 |CPU=791.66486, Memory=572.84375 |CPU=66.22137, Memory=193.57031 | |