PiaSession Memory Usage Measurement

Lists the results of memory usage measurements under a few conditions using the session/ProfilingTest verification program included in tests.

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 3.10.1 equivalent
CTR-NEX 3.8.0
CTR-SDK 7.1.1
Firmware 0.23.5
ARMCC 4.1 b1049

Build: fast / Release

Game frame rate: 30 frames per second

NEX thread mode (used in PiaSession Internet communication): ThreadModeUnsafeTransportBuffer

Signature during local communication: None

Signature during Internet communication: MD5

Dispatch is called twice for each game frame.

Use the IS-SNAKE DevKit connected wirelessly.

Measurement Results

The measurement values are written as

Local Communication:         (Pia memory usage)

Internet Communication: (Pia memory usage) + (NEX server service memory usage)

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 245.0 (KB) 372.8 (KB)
Unreliable-Internet 261.0 + 333.0 = 594.0 (KB) 395.0 + 334.7 = 729.7 (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 257.9 (KB) 414.2 (KB)
Reliable - Internet 275.4 + 334.7 = 610.1 (KB) 426.8 + 334.8 = 761.6 (KB)

CONFIDENTIAL