<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in sysfs-class-net-queues</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>6025b913 - net: dqs: add NIC stall detector based on BQL</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues#6025b913</link>
        <description>net: dqs: add NIC stall detector based on BQLsoftnet_data-&gt;time_squeeze is sometimes used as a proxy forhost overload or indication of scheduling problems. In practicethis statistic is very noisy and has hard to grasp units -e.g. is 10 squeezes a second to be expected, or high?Delaying network (NAPI) processing leads to drops on NIC queuesbut also RTT bloat, impacting pacing and CA decisions.Stalls are a little hard to detect on the Rx side, becausethere may simply have not been any packets received in givenperiod of time. Packet timestamps help a little bit, butagain we don&apos;t know if packets are stale because we&apos;renot keeping up or because someone (*cough* cgroups)disabled IRQs for a long time.We can, however, use Tx as a proxy for Rx stalls. Most driversuse combined Rx+Tx NAPIs so if Tx gets starved so will Rx.On the Tx side we know exactly when packets get queued,and completed, so there is no uncertainty.This patch adds stall checks to BQL. Why BQL? Becauseit&apos;s a convenient place to add such checks, alreadycalled by most drivers, and it has copious free spacein its structures (this patch adds no extra cachereferences or dirtying to the fast path).The algorithm takes one parameter - max delay AKA stallthreshold and increments a counter whenever NAPI got delayedfor at least that amount of time. It also records the lengthof the longest stall.To be precise every time NAPI has not polled for at leaststall thrs we check if there were any Tx packets queuedbetween last NAPI run and now - stall_thrs/2.Unlike the classic Tx watchdog this mechanism does notignore stalls caused by Tx being disabled, or loss of link.I don&apos;t think the check is worth the complexity, andstall is a stall, whether due to host overload, flowcontrol, link down... doesn&apos;t matter much to the application.We have been running this detector in production at Metafor 2 years, with the threshold of 8ms. It&apos;s the lowestvalue where false positives become rare. There&apos;s stilla constant stream of reported stalls (especially withoutthe ksoftirqd deferral patches reverted), those who liketheir stall metrics to be 0 may prefer higher value.Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;Signed-off-by: Breno Leitao &lt;leitao@debian.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues</description>
        <pubDate>Mon, 04 Mar 2024 14:08:47 +0000</pubDate>
        <dc:creator>Jakub Kicinski &lt;kuba@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ae3f4b44 - net: sysfs: Fix /sys/class/net/&lt;iface&gt; path</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues#ae3f4b44</link>
        <description>net: sysfs: Fix /sys/class/net/&lt;iface&gt; pathThe documentation is pointing to the wrong path for the interface.Documentation is pointing to /sys/class/&lt;iface&gt;, instead of/sys/class/net/&lt;iface&gt;.Fix it by adding the `net/` directory before the interface.Fixes: 1a02ef76acfa (&quot;net: sysfs: add documentation entries for /sys/class/&lt;iface&gt;/queues&quot;)Signed-off-by: Breno Leitao &lt;leitao@debian.org&gt;Link: https://lore.kernel.org/r/20240131102150.728960-2-leitao@debian.orgSigned-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues</description>
        <pubDate>Wed, 31 Jan 2024 10:21:49 +0000</pubDate>
        <dc:creator>Breno Leitao &lt;leitao@debian.org&gt;</dc:creator>
    </item>
<item>
        <title>ebab9426 - Documentation/ABI: Fix typos</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues#ebab9426</link>
        <description>Documentation/ABI: Fix typosFix typos in Documentation/ABI.  The changes are in descriptions orcomments where they shouldn&apos;t affect use of the ABIs.Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;Reviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;Link: https://lore.kernel.org/r/20230814212822.193684-2-helgaas@kernel.orgSigned-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues</description>
        <pubDate>Mon, 14 Aug 2023 21:28:20 +0000</pubDate>
        <dc:creator>Bjorn Helgaas &lt;bhelgaas@google.com&gt;</dc:creator>
    </item>
<item>
        <title>a4fd1f4b - Documentation: Add explanation for XPS using Rx-queue(s) map</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues#a4fd1f4b</link>
        <description>Documentation: Add explanation for XPS using Rx-queue(s) mapSigned-off-by: Amritha Nambiar &lt;amritha.nambiar@intel.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues</description>
        <pubDate>Sat, 30 Jun 2018 04:27:12 +0000</pubDate>
        <dc:creator>Amritha Nambiar &lt;amritha.nambiar@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>822b3b2e - net: Add max rate tx queue attribute</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues#822b3b2e</link>
        <description>net: Add max rate tx queue attributeThis adds a tx_maxrate attribute to the tx queue sysfs entry allowingfor max-rate limiting. Along with DCB-ETS and BQL this provides anotherknob to tune queue performance. The limit units are Mbps.By default it is disabled. To disable the rate limitation after ithas been set for a queue, it should be set to zero.Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;Signed-off-by: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues</description>
        <pubDate>Wed, 18 Mar 2015 12:57:33 +0000</pubDate>
        <dc:creator>John Fastabend &lt;john.r.fastabend@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>1a02ef76 - net: sysfs: add documentation entries for /sys/class/&lt;iface&gt;/queues</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues#1a02ef76</link>
        <description>net: sysfs: add documentation entries for /sys/class/&lt;iface&gt;/queuesAdd sysfs documentation for the various attributes of a networkinterface exposed in /sys/class/&lt;iface&gt;/queues/{rx,tx}-&lt;queue&gt;/Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-class-net-queues</description>
        <pubDate>Fri, 23 May 2014 23:35:41 +0000</pubDate>
        <dc:creator>Florian Fainelli &lt;f.fainelli@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
