Skip to content

Latest commit

 

History

History
 
 

linkerd

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Linkerd Benchmarking

In addition to a tuned Istio install, we also provide a Linkerd installation profile to run the same ../runner/ tests on.

Sources:

1 - Create cluster and Install Istio

Please follow this Setup README, finish step 1.

2 - Install Linkerd

cd ../benchmark/linkerd
./setup_linkerd.sh <linkerd-release-version>

You can run the following command to see what components are installed

kubectl -n linkerd get deploy

3. Deploy the fortio test environment

export NAMESPACE=twopods-linkerd
export DNS_DOMAIN=local
export LINKERD_INJECT=enabled
cd ..
./setup_test.sh

4.Prepare Python Environment

Please follow steps here: Prepare Python Env

5. Run benchmark

Example:

python runner/runner.py 16,64 1000 240 --baseline --mesh=linkerd

6. Extract Fortio latency metrics to CSV

Note - Linkerd proxy CPU/memory usage not yet implemented, only latency performance.

export FORTIO_CLIENT_URL=<fortio client svc EXTERNAL_IP:port>

python runner/runner/fortio.py $FORTIO_CLIENT_URL

7. Visualize results

python ./runner/graph.py <PATH_TO_CSV> <METRIC> --mesh=linkerd

Examples

Latency, 90th percentile

python ./runner/graph.py linkerd.csv p90 --mesh=linkerd

example-linkerd-p90

Latency, 50th percentile

python ./runner/graph.py linkerd.csv p50 --mesh=linkerd

example-linkerd-p50

See the example-comparison directory for a sample comparison between Istio and Linkerd from the perspective of Latency.