<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Relay behaviour of mesh when buffer is full</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43763/relay-behaviour-of-mesh-when-buffer-is-full</link><description>I&amp;#39;m trying to understand the limitations and configuration options for the mesh stack, in particular what happens when the mesh becomes busy. 
 From studying the code it appears that there may be an issue when receiving messages that need to be relayed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Feb 2019 15:40:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43763/relay-behaviour-of-mesh-when-buffer-is-full" /><item><title>RE: Relay behaviour of mesh when buffer is full</title><link>https://devzone.nordicsemi.com/thread/172161?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 15:40:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:317420ac-aaad-47be-af19-bb6feb980505</guid><dc:creator>Omkar Kulkarni</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Your observation is correct, mesh stack will add network PDU to network cache even if it fails to relay. This is something that could be improved in the mesh stack.&lt;br /&gt;&lt;br /&gt;About other points:&lt;br /&gt;&lt;br /&gt;1. Tx path simply won&amp;#39;t accept any new packets until there is sufficient space available in the buffer. It will not drop already queued packets.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;2. Packet buffers for originator and relay roles are different. Their sizes&amp;nbsp;can be controlled by these settings: `CORE_TX_QUEUE_BUFFER_SIZE_ORIGINATOR`,&amp;nbsp; `CORE_TX_QUEUE_BUFFER_SIZE_RELAY`.&lt;br /&gt;&lt;br /&gt;3. Mesh stack will not check for the number of packets getting originated. The recommendation specified in the mesh specification is not an enforced shall statement. It is mainly directed towards end application developers and network administrators to not configure (many) nodes in their network such that they will generate a&amp;nbsp;lot of traffic. However, in a certain application specific&amp;nbsp;scenario, there could a reasonable requirement to do so for a short period of time without harming a network at large (for example, health model publishing faults at a higher cadence, while other models on other elements on the same node are also publishing their own messages, leading to a higher number of messages being published by a node until the fault is resolved.) Applying a stack level constraint will kill the possibility of momentary higher traffic for valid reasons.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>