Skip to content

Commit

Permalink
docs: performance test method
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Oct 14, 2020
1 parent ad44eaa commit 8956777
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hw-offload.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ By taking use of SR-IOV technology we can achieve low network latency and high t
### Install Kube-OVN with hw-offload mode enabled
1. Download latest install script
```bash
`wget https://raw.githubusercontent.com/alauda/kube-ovn/master/dist/images/install.sh`
wget https://raw.githubusercontent.com/alauda/kube-ovn/master/dist/images/install.sh
```
2. Edit the install script, enable hw-offload, disable traffic mirror and set the IFACE to the PF.
Make sure that there is a ip address bind to the PF.
Expand Down
21 changes: 21 additions & 0 deletions test/performance/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Performance Test

Kube-OVN use [KNB](https://github.com/InfraBuilder/k8s-bench-suite) to test datapath throughput performance and resource consumption.

KNB will test below performance metrics:
- Pod to Pod TCP/UDP bandwidth
- Pod to Service TCP/UDP bandwidth
- CPU consumption
- Memory consumption

## Quick Start

1. Download KNB
```bash
wget https://raw.githubusercontent.com/InfraBuilder/k8s-bench-suite/master/knb
chmod +x knb
```
2. Run basic performance test
```bash
./knb -v -cn {Client NodeName} -sn {Server NodeName} --duration 60
```

0 comments on commit 8956777

Please sign in to comment.