MQX Performance problem after open a socket

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX Performance problem after open a socket

2,419件の閲覧回数
rainer22
Contributor I

Hello

I got a problem:

After i have opened and closed a Socket, the whole system is much slower than before.

It seemd like a Interrupt is permanently pending, but it doesn't.

The Task, that contains my socket, sleep after shutdown my accepted socket,

but some influence infects the whole MQX.

 

I start Ethernet :

_RTCSQUEUE_base = DriverTaskTCPIPMBXQ_Base_No;

//Netzwerktreiber laden

_RTCSTASK_priority = 9;

_RTCSPCB_max = 20;

_TCP_bypass_rx = true;

_TCP_bypass_tx = true;

rtcsResult = ENET_initialize(ENET_DEVICE, m_Mac_Addr, 0, &ehandle);

rtcsResult = ENET_initialize(ENET_DEVICE, m_Mac_Addr, 0, &ehandle);

rtcsResult = RTCS_if_bind(ihandle, m_IPAddress, m_SubnetMask);

 

And accept the Socket after selectset:

remotesock = RTCS_selectset(m_socklist, m_sockCount, 0);

m_childsock = accept(remotesock, &TCPIP::ms_Adr.EchoSock[0].Addr, &rlen);

setsockopt(m_childsock, SOL_TCP, OPT_RECEIVE_NOWAIT, &opt_value, opt_length);

setsockopt(m_childsock, SOL_TCP, OPT_SEND_NOWAIT, &opt_value, opt_length);

 

I am using MQX 2.5 and RTCS lite on a ColdFire Proc 5235.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

723件の閲覧回数
prodsp
Contributor I

Did you try to use the MQX 3.4 from Freescale website ?

0 件の賞賛
返信