RTCS pre-defined parameter (PCB,Pool,socket)

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

RTCS pre-defined parameter (PCB,Pool,socket)

ソリューションへジャンプ
1,588件の閲覧回数
daweiyou
NXP Employee
NXP Employee

Hi all:

We could find some pre-defined parameter for RTCS applications, like below:

   /* runtime RTCS configuration for devices with small RAM, for others the default BSP setting is used */

   _RTCSPCB_init = 4;

   _RTCSPCB_grow = 2;

   _RTCSPCB_max = 20;

   _RTCS_msgpool_init = 4;

   _RTCS_msgpool_grow = 2;

   _RTCS_msgpool_max  = 20;

   _RTCS_socket_part_init = 4;

   _RTCS_socket_part_grow = 2;

   _RTCS_socket_part_max  = 20;

user could modify the default value, I want to know,

(1)How these values work? since Max value is defined and allocated, why not set the init value same with Max value?

(2)how to decide these value for one specified application? for example, I open one FTP, one SNMP, maybe one HTTPs application together, how to calculate the right value?

(3)when the value is not renough, how to check? I see  some task crashed in MQX spy tool. but no guide to use this tool.

thx!

ラベル(1)
0 件の賞賛
返信
1 解決策
1,200件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Dawei:

The following link is for the document (draft)

MQX RTCS Memory Configuration Parameters Introduction

Have a great day,
Daniel

-

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,200件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Dawei:

Please let me answer your questions

Each socket has its own PCBs and each PCB has its own msgpool.

we cann't set the init value same with Max value, because we want spend less RAM in the sockets in most cases.

If you will have a total of 8 sockets then suggest the following settings

_RTCSPCB_init = 8;

_RTCSPCB_grow = 2;

_RTCSPCB_max = 10;

_RTCS_msgpool_init = 8;

_RTCS_msgpool_grow = 2;

_RTCS_msgpool_max = 10;

_RTCS_socket_part_init = 8;

_RTCS_socket_part_grow = 2;

_RTCS_socket_part_max = 10;

You can check and debug this value with TAD.

I am trying to make a document about this later.
Have a great day,
Daniel

1,200件の閲覧回数
daweiyou
NXP Employee
NXP Employee

Thx, Daniel, If you have such doc, PLS share with me.

So, as you said, if I could confirm my socket number, so PCB,Poll,&socket is decided same as socket number?

It's enough for entire application? I could try for this guide.

0 件の賞賛
返信
1,201件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Dawei:

The following link is for the document (draft)

MQX RTCS Memory Configuration Parameters Introduction

Have a great day,
Daniel

-

0 件の賞賛
返信
1,200件の閲覧回数
daweiyou
NXP Employee
NXP Employee

thx

0 件の賞賛
返信