gtpa2m1iApplication Programming

Tuning Memory Allocation

To accommodate processor unique queues that reside in memory, you will need to allocate significantly more memory resources to system work blocks (SWBs). To calculate the number of SWBs required to accommodate message traffic, assume each SWB can hold 1000 bytes of message data plus an additional 500 bytes of message header for each message. Therefore, if the average message size is 750-850 bytes of message data, each message will fit in one SWB. If the message size is 4096 (on the average), each message will then require five SWBs.