<?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>MQX Software Solutions中的主题 Re: MQX Performance problem after open a socket</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Performance-problem-after-open-a-socket/m-p/165943#M1596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try to use the MQX 3.4 from Freescale website ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2010 19:08:17 GMT</pubDate>
    <dc:creator>prodsp</dc:creator>
    <dc:date>2010-02-03T19:08:17Z</dc:date>
    <item>
      <title>MQX Performance problem after open a socket</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Performance-problem-after-open-a-socket/m-p/165942#M1595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I got a problem:&lt;/P&gt;&lt;P&gt;After i have opened and closed a Socket, the whole system is much slower than before.&lt;/P&gt;&lt;P&gt;It seemd like a Interrupt is permanently pending, but it doesn't.&lt;/P&gt;&lt;P&gt;The Task, that contains my socket, sleep after shutdown my accepted socket,&lt;/P&gt;&lt;P&gt;but some influence infects the whole MQX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I start Ethernet :&lt;/P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size="2"&gt;_RTCSQUEUE_base = DriverTaskTCPIPMBXQ_Base_No;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;//Netzwerktreiber laden&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;_RTCSTASK_priority = 9;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;_RTCSPCB_max = 20;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;_TCP_bypass_rx = true;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;_TCP_bypass_tx = true;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;rtcsResult = ENET_initialize(ENET_DEVICE, m_Mac_Addr, 0, &amp;amp;ehandle);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;rtcsResult = ENET_initialize(ENET_DEVICE, m_Mac_Addr, 0, &amp;amp;ehandle);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;rtcsResult = RTCS_if_bind(ihandle, m_IPAddress, m_SubnetMask);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;And accept the Socket after selectset:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;remotesock = RTCS_selectset(m_socklist, m_sockCount, 0);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;m_childsock = accept(remotesock, &amp;amp;TCPIP::ms_Adr.EchoSock[0].Addr, &amp;amp;rlen);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;setsockopt(m_childsock, SOL_TCP, OPT_RECEIVE_NOWAIT, &amp;amp;opt_value, opt_length);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;setsockopt(m_childsock, SOL_TCP, OPT_SEND_NOWAIT, &amp;amp;opt_value, opt_length);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;I am using MQX 2.5 and RTCS lite on a ColdFire Proc 5235.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 23:38:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Performance-problem-after-open-a-socket/m-p/165942#M1595</guid>
      <dc:creator>rainer22</dc:creator>
      <dc:date>2010-01-07T23:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Performance problem after open a socket</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Performance-problem-after-open-a-socket/m-p/165943#M1596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try to use the MQX 3.4 from Freescale website ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 19:08:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Performance-problem-after-open-a-socket/m-p/165943#M1596</guid>
      <dc:creator>prodsp</dc:creator>
      <dc:date>2010-02-03T19:08:17Z</dc:date>
    </item>
  </channel>
</rss>

