-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMaxMulticast.xml
More file actions
78 lines (65 loc) · 3.37 KB
/
MaxMulticast.xml
File metadata and controls
78 lines (65 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0"?>
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schema/rti_dds_qos_profiles.xsd" version="5.1.0">
<!-- QoS Library containing the QoS profile used in the example. A QoS library is a named set of QoS profiles.-->
<qos_library name="BasicAEONProfile">
<!-- This profile is used to set up transport settings for the maximum size allowed for UDP. This is required to get the maximum possible throughput.-->
<qos_profile name="MaxTransportThroughput">
<participant_qos>
<receiver_pool>
<buffer_size>65536</buffer_size>
</receiver_pool>
<property>
<value>
<!--Configure UDP transport for higher throughput:-->
<element>
<name>dds.transport.UDPv4.builtin.parent.message_size_max</name>
<value>65536</value>
</element>
<!--
The next setting is to setup the buffers for sending and recieving data
on the transport to be at least double what our expected message size will be.
In this case our expected message size is 1MB, so therefore we are setting
the buffer sizes to 2MB.
-->
<element>
<name>dds.transport.UDPv4.builtin.send_socket_buffer_size</name>
<value>2097152</value>
</element>
<element>
<name>dds.transport.UDPv4.builtin.recv_socket_buffer_size</name>
<value>2097152</value>
</element>
<!-- Configure shared memory transport for higher throughput: -->
<element>
<!-- Set the shared memory maximum message size to the same value that was set for UDP.-->
<name>dds.transport.shmem.builtin.parent.message_size_max</name>
<value>65536</value>
<!-- 64 KB - header sizes -->
</element>
<element>
<!-- Set the size of the shared memory transport's receive buffer to some large value.-->
<name>dds.transport.shmem.builtin.receive_buffer_size</name>
<value>2097152</value>
</element>
<element>
<!-- Set the maximum number of messages that the shared memory transport can cache while waiting for them to be read and deserialized.-->
<name>dds.transport.shmem.builtin.received_message_count_max</name>
<value>2048</value>
</element>
</value>
</property>
</participant_qos>
</qos_profile>
<qos_profile name="MaxThroughputMulticast" base_name="MaxTransportThroughput">
<datareader_qos>
<multicast>
<value>
<element>
<receive_address>239.255.5.1</receive_address>
</element>
</value>
</multicast>
</datareader_qos>
</qos_profile>
</qos_library>
</dds>