Lists the results of memory usage measurements under a few conditions using the session/ProfilingTest
verification program included in the tests
folder of the CTR-Pia package.
The measurement conditions for rendering and sound processing differ significantly from those of a normal retail product. Refer to these measurements as just one guideline for development.
You can individually set the size of each of the communication buffers at Pia initialization. In measurements, the peak value of each of the communication buffers is measured during communication, and the memory size for those peak values when set for the communication buffers of all stations is taken as the Pia memory usage.
Measurements that are expected to have some variation in the results are remeasured as needed. Assume that measurements that were not remeasured have only a small variation from the previous version.
Measurement Conditions
CTR-Pia | 4.10.3 |
CTR-NEX | 3.10.1 |
CTR-SDK | 11.5.0 |
Firmware | 0.25.0 |
ARMCC | 4.1 b1049 |
Build: fast / Release (enhanced application)
Game frame rate: 30 frames per second
NEX thread mode (used in PiaSession
Internet communication): ThreadModeUnsafeTransportBuffer
Signature during communication: MD5
Dispatch is called twice for each game frame.
Use the IS-SNAKE DevKit connected wirelessly to a single router.
Measurement Results
The measurement values are written as:
Local Communication: (Pia memory usage)
Internet Communication: (Pia memory usage) + (NEX server service memory usage)
The above is what the code will look like.
Unreliable Protocol
Each send is 512 bytes of data, which is sent to all of the other stations for every game frame.
4 units | 8 units | |
---|---|---|
Unreliable - Local | 290 (KB) | 443 (KB) |
Unreliable - Internet | 224 + 348 = 572 (KB) | 377 + 345 = 722 (KB) |
Reliable Protocol
Each send is 128 bytes of data, which is sent to all of the other stations once for every two game frames.
4 units | 8 units | |
---|---|---|
Reliable - Local | 302 (KB) | 505 (KB) |
Reliable - Internet | 224 + 346 = 570 (KB) | 413 + 346 = 759 (KB) |