<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC MicrocontrollersのトピックFreeRTOS Queue Performance on LPC54102</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-Queue-Performance-on-LPC54102/m-p/1743117#M54492</link>
    <description>&lt;P&gt;I am developing an application on an LPC54102 that makes use of FreeRTOS. I am planning on using FreeRTOS queues for IPC between application tasks. Has any performance profiling for FreeRTOS queues been publicly documented? I am interested, for example, in metrics like messages/second. Does anyone have experience&amp;nbsp;in pushing 1000s of messages (assume small messages: &amp;lt; 100 bytes) through a queue (assume application message processing is low overhead) a second on an LPC5410x (or similar)?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 17:56:43 GMT</pubDate>
    <dc:creator>BTaylor</dc:creator>
    <dc:date>2023-10-19T17:56:43Z</dc:date>
    <item>
      <title>FreeRTOS Queue Performance on LPC54102</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-Queue-Performance-on-LPC54102/m-p/1743117#M54492</link>
      <description>&lt;P&gt;I am developing an application on an LPC54102 that makes use of FreeRTOS. I am planning on using FreeRTOS queues for IPC between application tasks. Has any performance profiling for FreeRTOS queues been publicly documented? I am interested, for example, in metrics like messages/second. Does anyone have experience&amp;nbsp;in pushing 1000s of messages (assume small messages: &amp;lt; 100 bytes) through a queue (assume application message processing is low overhead) a second on an LPC5410x (or similar)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 17:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-Queue-Performance-on-LPC54102/m-p/1743117#M54492</guid>
      <dc:creator>BTaylor</dc:creator>
      <dc:date>2023-10-19T17:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Queue Performance on LPC54102</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-Queue-Performance-on-LPC54102/m-p/1743336#M54496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For the queue number, I suppose that there is not restriction as long as the memory is enough.&lt;/P&gt;
&lt;P&gt;Pls refer to the queue description in freertos.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.freertos.org/a00116.html" target="_blank"&gt;https://www.freertos.org/a00116.html&lt;/A&gt;&lt;/P&gt;
&lt;PRE style="font-size: 16px; font-weight: bold; line-height: normal; color: #202020; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;QueueHandle_t xQueueCreate( UBaseType_t uxQueueLength,
                             UBaseType_t uxItemSize );&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P style="color: #202020; font-family: Arial; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;Each queue requires RAM that is used to hold the queue state, and to hold the items that are contained in the queue (the queue storage area). If a queue is created using xQueueCreate() then the required RAM is automatically allocated from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="text-decoration: none; color: #0000ee;" href="https://www.freertos.org/a00111.html" target="_blank"&gt;FreeRTOS heap&lt;/A&gt;. If a queue is created using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="text-decoration: none; color: #0000ee;" href="https://www.freertos.org/xQueueCreateStatic.html" target="_blank"&gt;xQueueCreateStatic()&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;then the RAM is provided by the application writer, which results in a greater number of parameters, but allows the RAM to be statically allocated at compile time. See the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="text-decoration: none; color: #0000ee;" href="https://www.freertos.org/Static_Vs_Dynamic_Memory_Allocation.html" target="_blank"&gt;Static Vs Dynamic allocation&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;page for more information.&lt;/P&gt;
&lt;P style="color: #202020; font-family: Arial; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DL style="color: #202020; font-family: Arial; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" compact="compact"&gt;
&lt;DT&gt;&lt;STRONG&gt;Parameters:&lt;/STRONG&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;TABLE style="line-height: 1.5em; font-size: 16px;" border="0" width="604px" cellspacing="10" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="133.4px" valign="top"&gt;&lt;EM&gt;uxQueueLength&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="470px"&gt;The maximum number of items the queue can hold at any one time.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="133.4px" valign="top"&gt;&lt;EM&gt;uxItemSize&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="470px"&gt;The size, in bytes, required to hold each item in the queue.
&lt;P&gt;Items are queued by copy, not by reference, so this is the number of bytes that will be copied for each queued item. Each item in the queue must be the same size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your case, each&amp;nbsp; queue occupies 100 bytes, so 1000 queues occupy 100KBytes, so it is okay.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;</description>
      <pubDate>Fri, 20 Oct 2023 02:50:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-Queue-Performance-on-LPC54102/m-p/1743336#M54496</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-10-20T02:50:09Z</dc:date>
    </item>
  </channel>
</rss>

