netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: netdev@vger.kernel.org
Subject: Fw: [Bug 220766] New: Packets dessapear
Date: Fri, 7 Nov 2025 08:13:24 -0800	[thread overview]
Message-ID: <20251107081324.3ab69917@phoenix> (raw)



Begin forwarded message:

Date: Fri, 07 Nov 2025 15:47:37 +0000
From: bugzilla-daemon@kernel.org
To: stephen@networkplumber.org
Subject: [Bug 220766] New: Packets dessapear


https://bugzilla.kernel.org/show_bug.cgi?id=220766

            Bug ID: 220766
           Summary: Packets dessapear
           Product: Networking
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: stephen@networkplumber.org
          Reporter: wads31566@gmail.com
        Regression: No

Created attachment 308921
  --> https://bugzilla.kernel.org/attachment.cgi?id=308921&action=edit  
Network topology

A network hierarchy (network_topo.png) implementation with namespace and TC get
packets lost unexpectedly.
Linux namespaces(created via "ip netns") and connected via veths to a single
bridge inside of the root-namespace. For setting up a veth settings TC is used
like that:
"$CLI tc qdisc add dev veth-${TARGET} root handle 1: netem delay ${DELAY_MS}ms
${DELAY_DISTRIBUTION_MS}ms distribution normal
$CLI tc qdisc add dev veth-${TARGET} parent 1: handle 2: netem loss 0 rate
100Mbit corrupt 1% duplicate 1%"

At this case, where we have a non-zero delay and banwidth limit. And when both
of those attributes are set it produces some packet-loss, i.e. packets are
counted as sent on the client namespace link statistics, but the received
amount of packets on the client side is always various and real loss percentage
is different from defined one. Usually the loss is about 3-7%.
Loss is counted as a servers-bridge sum of received packets and sum of packets
sent from the namespace link statistics.
But when only delay and no other netem params used - it works fine.

Mine assumption is that is becomes a bug, when several params are used.

Uname: Linux 6.14.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11
10:06:31 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
tc -V: tc utility, iproute2-6.14.0, libbpf 1.5.0
Distros: kubuntu, openSUSE Tumbleweed
As a traffic generator iPerf3 was used.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2025-11-07 16:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251107081324.3ab69917@phoenix \
    --to=stephen@networkplumber.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).