Use this information to run reverse-proxying on the host for comparison to demo scenario 1.
Before you begin
- Installed a Napatech IPU in a server. See Installing a Napatech IPU.
- Programmed the IPU with an appropriate FPGA image. See Napatech Link-Security™ Software FPGA Images.
- Compiled and installed Link-Security™ Software on the IPU. See Installing Napatech Link-Security™ Software on the IPU.
- Configured the IPU. See Configuring the IPU.
- Configured the test server. See Configuring the Test Server.
About this task
In this demo, traffic is not encrypted, and reverse-proxying is done on the host.
Note: The following prompt is used to indicate which part of the system to run the provided
commands on.
- test#: The server where the test script is executed.
Procedure
Run the test script.
For
example:
cd /opt/ipu_workload_tls/src python3 -m standalone.main --proxy host --deploy-run -c 2000where:
- --proxy host: Run reverse-proxying on the host.
- --deploy-run: Deploy network/services and run workload.
- -c 2000: 2000 connections that the wrk tool uses.
An output
example:
… … == Cache warm up == Workload ├── duration: 600s ├── connections: 500 └── threads: 104 == Performance measure == Workload ├── duration: 120s ├── connections: 2000 └── threads: 4 Throughput 60.000.000.000 bps 7.50 GBs ======= Host Summary Report ======= CPU: all load avg: 24.84 % all load std: 0.49 % Network interfaces: enp15s0 RX throughput rx avg: 410.215.047 bps throughput rx std: 15.378.245 bps enp15s0 TX throughput tx avg: 66.829.123.709 bps throughput tx std: 1.239.167.438 bps ======= SoC Summary Report ======= CPU: all load avg: 0.14 % all load std: 0.19 % Network interfaces: ens6f5 RX throughput rx avg: 1.629 bps throughput rx std: 4.403 bps ens6f5 TX throughput tx avg: 0 bps throughput tx std: 0 bps --------------------------- Captured stdout teardown --------------------------- [15:30:41.507] host | INFO | Stopping Server on Host [15:30:41.508] host | DEBUG | Thread-141 started [15:30:42.338] host | INFO | Run|➜ pkill nginx || true; rm -rf /tmp/content-cache1 /tmp/error1.log /tmp/access1.log [15:30:43.039] host | INFO | OK |⮠ [15:30:43.041] host | INFO | Stopping Cache Filler [15:30:43.041] host | DEBUG | Thread-142 started [15:30:43.871] host | INFO | Run|➜ pkill http_obj_gen.py [15:30:43.937] host | INFO | OK |⮠ [15:30:43.939] host | INFO | Stopping Proxy on Host [15:30:43.939] host | DEBUG | Thread-143 started [15:30:44.765] host | INFO | Run|➜ pkill nginx || true; rm -rf /tmp/content-cache2 /tmp/error2.log /tmp/access2.log [15:30:45.502] host | INFO | OK |⮠