Subject: RARE user and assistance email list
List archive
- From: "mc36" <>
- To: "" <>
- Subject: [RARE-users] [freertr] freeRouter rpms for CentOS and Fedora
- Date: Wed, 13 Apr 2022 09:08:40 +0200
- List-id: <freertr.groups.io>
- Mailing-list: list ; contact
documenting....
-------- Forwarded Message --------
Subject: Re: freeRouter rpms for CentOS and Fedora
Date: Tue, 8 Feb 2022 17:54:57 +0200
From:
To:
Hi Csaba,
If I add to vpp option "poll-sleep-usec 10" then vpp_main consumes
4.7% CPU without traffic and 95% when I run iperf3. Results with and
without this option the same. Results with virtio-net-pci better 2.4
Gbits/sec (with virtio-net-pci p4dpdk hangs after some time).
Without traffic when p4dpdk consumes 13% CPU qemu process consumes
100% (the same with vpp).
if you do iperf on multiple sessions and you see same resultsIf I run iperf3 with 2 streams results the same for vpp and p4dodk.
Cheers.
Alexey
2022-02-08 15:31 GMT+02:00, mc36 <>:
hi,
thanks for pushing further! first of all, both are laughingly low numbers,
but meh...
my idea is that vpp does not sleeps (both the host and the vm uses constant
100%)
whereas p4dpdk does usleep if no packet for a while ( < 10% cpu on both host
and vm)...
but this obviously results in some delays, and the throughput=bw*delay
answers the rest...
if you do iperf on multiple sessions and you see same results (step 1),
(step 2) then p4dpdk have a magic knob (-10 par 0) to set usleep's
parameters,
and as far as i know, invalid values will return immediately... if not,
i'll
quickly add the extra if...
regards,
cs
On 2/8/22 14:21, wrote:
Hi Csaba,
I compared simple iperf3 results for vpp and freerouter (two iperf3
run on host, traffic forwarded between two interfaces in vm with
e1000e nic's, mtu 1500).
For vpp (using one core) results are better than for freerouter with
p4dpdk
vpp - 2.2 Gbit/s, freerouter - 1.8 Gbit/s
If I add to p4dpdk options 0 0 1 1 2 3 -1 4 4 then result mostly the
same (1.8 without this options and 1.85 with options).
Do you have any idea why vpp give better result?
I tried to add kernel parameter isolcpus=1-4 recommended for vpp but
p4dpdk with 0 1 2 1 3 4 does not work.
After adding parameter -2 8192 0 ping -s 8150 works but further
increase of this parameter does not allow increasing the packet size
more than 8150.
Cheers.
Alexey
2022-02-03 10:14 GMT+02:00, mc36 <>:
hi,
On 2/3/22 08:46, mc36 wrote:
i can't tell you any eta on this... :)
the more i'm thinking about the stuff the more i hate the resulting code
so
for now all i did is noted the miss of this feature:
https://github.com/mc36/freeRouter/commit/86ea1d96e8d8ce2aef79278394f4e1c794ac4b57
basically i consider it under the same question as
why freerouter even does not fragment ipv4 in even in software...
and why ipv6 rfc declared to not fragment in the path...
regards,
cs
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#271): https://groups.io/g/freertr/message/271
Mute This Topic: https://groups.io/mt/90435855/6413194
Group Owner:
Unsubscribe: https://groups.io/g/freertr/unsub []
-=-=-=-=-=-=-=-=-=-=-=-
- [RARE-users] [freertr] freeRouter rpms for CentOS and Fedora, mc36, 04/13/2022
Archive powered by MHonArc 2.6.19.