Use this information to run reverse-proxying and encryption/decryption on the host for comparison to demo scenario 3.
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 encrypted, and encryption/decryption and reverse-proxying are performed 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 –-tls --deploy-run -c 2000where:
- --proxy soc: Run reverse-proxying on the host.
- –-tls: TLS is enabled.
- --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 29.920.000.000 bps 3.74 GBs ======= Host Summary Report ======= CPU: all load avg: 18.21 % all load std: 0.41 % Network interfaces: enp15s0 RX throughput rx avg: 141.019.156 bps throughput rx std: 3.779.508 bps enp15s0 TX throughput tx avg: 33.134.407.978 bps throughput tx std: 609.637.443 bps ======= SoC Summary Report ======= CPU: all load avg: 0.08 % all load std: 0.12 % Network interfaces: ens6f5 RX throughput rx avg: 465 bps throughput rx std: 987 bps ens6f5 TX throughput tx avg: 0 bps throughput tx std: 0 bps --------------------------- Captured stdout teardown --------------------------- [15:04:44.696] host | INFO | Stopping Server on Host [15:04:44.696] host | DEBUG | Thread-144 started [15:04:45.536] host | INFO | Run|➜ pkill nginx || true; rm -rf /tmp/content-cache1 /tmp/error1.log /tmp/access1.log [15:04:46.607] host | INFO | OK |⮠ [15:04:46.609] host | INFO | Stopping Cache Filler [15:04:46.610] host | DEBUG | Thread-145 started [15:04:47.465] host | INFO | Run|➜ pkill http_obj_gen.py [15:04:47.542] host | INFO | OK |⮠ [15:04:47.544] host | INFO | Stopping Proxy on Host [15:04:47.545] host | DEBUG | Thread-146 started [15:04:48.388] host | INFO | Run|➜ pkill nginx || true; rm -rf /tmp/content-cache2 /tmp/error2.log /tmp/access2.log [15:04:49.609] host | INFO | OK |⮠