Hi Dom, 

It could be that you’re hitting more often the issues that I also encountered 
locally. And yes, I noticed that even the server side has sporadic issues. 
Given that iperf works fine with tcp, I assume tls re-segments data in a way 
that iperf does not like. 

Now, with respect to the throughput, it seems a bit low. If you manage to get 
the test to work again, try to “clear run; show run” and see the number of 
loops/s reported by the active worker. If the number is low (under 100k) it 
might be that the cpu is not fast enough for both tcp + tls. Things might 
improve after the scheduling improvements (will eventually publish a patch for 
that). 

Regards,
Florin

> On Feb 26, 2020, at 11:46 AM, dchons via Lists.Fd.Io 
> <dchons=akouto....@lists.fd.io> wrote:
> 
> Hi Florin,
> 
> Thanks once again! I was in the middle of collecting a bunch of information 
> to respond (basically nothing interesting in logs and the client does not 
> crash, it just sits there), and then on one miraculous run it actually 
> worked. I was hoping for a bit more performance (I only got 2.89 Gbps) but 
> hey, 3x improvement is a great start ;-)
> 
> FYI the server-side VPP instance crashed at the end of the test and I didn't 
> get a chance to collect anything.
> 
> The rest of the email below is from what I was typing before the test worked 
> (I didn't do anything differently that I am aware of...).
> 
> Regards,
> Dom
> 
> --------------- From failed test runs: --------------
> The iperf client indicates that it is connected, but basically just sits 
> there until I stop it with Ctrl-C:
> 
> # LD_PRELOAD=$LDP_PATH VCL_CONFIG=$VCL_CFG taskset --cpu-list 4,6,8 iperf3 -c 
> 10.0.0.71
> Connecting to host 10.0.0.71, port 5201
> [ 33] local 10.0.0.70 port 37502 connected to 10.0.0.71 port 5201
> 
> VPP session info:
> Client side:
> vpp# sh session verbose
> Thread 0: no sessions
>
> Connection                                        State          Rx-f      
> Tx-f
> [1:0][T] 10.0.0.70:37502->10.0.0.71:5201          ESTABLISHED    0         0
> [1:1][TLS] app_wrk 2 index 0 engine 1 tcp 1:0     ESTABLISHED    0         0
> [1:2][T] 10.0.0.70:6875->10.0.0.71:5201           ESTABLISHED    0         0
> [1:3][TLS] app_wrk 2 index 1 engine 1 tcp 1:2     ESTABLISHED    0         0
> Thread 1: active sessions 4
> Thread 2: no sessions
> Thread 3: no sessions
> Thread 4: no sessions
> 
> Server side:
> vpp# sh session verbose
> Connection                                        State          Rx-f      
> Tx-f
> [0:0][TLS] app_wrk 2 engine 1 tcp 0:1             LISTEN         0         0
> [0:1][T] 10.0.0.71:5201->0.0.0.0:0                LISTEN         0         0
> Thread 0: active sessions 2
>
> Connection                                        State          Rx-f      
> Tx-f
> [1:0][T] 10.0.0.71:5201->10.0.0.70:6875           ESTABLISHED    0         0
> [1:1][TLS] app_wrk 2 index 0 engine 1 tcp 1:0     ESTABLISHED    0         0
> [1:2][T] 10.0.0.71:5201->10.0.0.70:37502          ESTABLISHED    0         0
> [1:3][TLS] app_wrk 2 index 1 engine 1 tcp 1:2     ESTABLISHED    0         0
> Thread 1: active sessions 4
> Thread 2: no sessions
> Thread 3: no sessions
> Thread 4: no sessions
> Thread 5: no sessions
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15571): https://lists.fd.io/g/vpp-dev/message/15571
Mute This Topic: https://lists.fd.io/mt/71542617/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to