Content-Filtered Topics

The following tests have been performed to show the benefits of using Content-Filtered Topics (CFT) in your system design. For more information about this feature, see ContentFilteredTopics in the RTI Connext Core Libraries User’s Manual.

In this set of scenarios, we will communicate an RTI Perftest Publisher application with several RTI Perftest Subscribers distributed across several machines in the same LAN network. Communication is done through UDPv4. The idea for the scenario is that only one Subscriber from all of them is interested in each sample at a time (we do this in a Round-Robin fashion).

The three different approaches we will test are the following:

  • Using Unicast: Samples are sent by the Publisher individually through Unicast. All samples are received by all Subscribers, which then discard the samples if they are not interested. This could be the approach followed in an initial design of a system.

  • Using Multicast: First level of improvement, samples are sent only once; however, all the Subscribers will need to receive and process them (only to discard them at the end).

  • Using Unicast and CFT: The benefit of using Content-Filtered Topics is that in most cases the filtering can be performed on the writer side (see this section in the Connext Core Libraries User’s Manual to see the conditions). Hence, samples are sent via Unicast only to the Subscriber that is interested in them (that information is known through the filter query of the CFT). That way, we minimize the processing in each Subscriber and save bandwidth.

See below the results of performing these test for keyed samples of 64 Bytes and 1 kB.

The graph below shows the one-way latency for the use-cases mentioned above for best-effort as well as strict reliable reliability scenarios.

Note

We use the median (50th percentile) instead of the average in order to get a more stable measurement that does not account for spurious outliers.

Note

In cases where the Latency has to be measured between an RTI Perftest Publisher and multiple RTI Perftest Subscribers, each latency sample is assigned by the Publisher to be answered by a different Subscriber (and not by any other) in a Round-Robin fashion.

Detailed Statistics

This table contains the raw numbers presented by RTI Perftest.

  • CFT, Best Effort

Subscribers

Min

Median

90percentile

Max

1

16

16.0

16.0

16

2

22

22.0

22.0

22

4

21

21.0

21.0

21

10

23

23.0

23.0

23

30

25

25.0

25.0

25

50

26

26.0

26.0

26

70

28

28.0

28.0

28

80

26

26.0

26.0

26

100

24

24.0

24.0

24

120

24

24.0

24.0

24

150

24

24.0

24.0

24

200

24

24.0

24.0

24

  • CFT, Reliable

Subscribers

Min

Median

90percentile

Max

1

18

18.0

18.0

18

2

24

24.0

24.0

24

4

25

25.0

25.0

25

10

25

25.0

25.0

25

20

25

25.0

25.0

25

30

26

26.0

26.0

26

50

27

27.0

27.0

27

70

28

28.0

28.0

28

80

28

28.0

28.0

28

100

28

28.0

28.0

28

120

28

28.0

28.0

28

150

28

28.0

28.0

28

200

30

30.0

30.0

30

  • Multicast, Best Effort

Subscribers

Min

Median

90percentile

Max

1

15

15.0

15.0

15

2

17

17.0

17.0

17

4

16

16.0

16.0

16

10

19

19.0

19.0

19

20

24

24.0

24.0

24

30

30

30.0

30.0

30

50

42

42.0

42.0

42

70

49

49.0

49.0

49

80

54

54.0

54.0

54

100

64

64.0

64.0

64

150

85

85.0

85.0

85

200

102

102.0

102.0

102

  • Multicast, Reliable

Subscribers

Min

Median

90percentile

Max

1

17

17.0

17.0

17

2

17

17.0

17.0

17

4

18

18.0

18.0

18

10

22

22.0

22.0

22

20

28

28.0

28.0

28

30

34

34.0

34.0

34

50

46

46.0

46.0

46

70

56

56.0

56.0

56

80

68

68.0

68.0

68

100

79

79.0

79.0

79

120

90

90.0

90.0

90

150

107

107.0

107.0

107

200

139

139.0

139.0

139

  • Unicast, Best Effort

Subscribers

Min

Median

90percentile

Max

1

15

15.0

15.0

15

2

17

17.0

17.0

17

4

16

16.0

16.0

16

10

19

19.0

19.0

19

20

24

24.0

24.0

24

30

30

30.0

30.0

30

50

42

42.0

42.0

42

70

49

49.0

49.0

49

80

54

54.0

54.0

54

100

64

64.0

64.0

64

150

85

85.0

85.0

85

200

102

102.0

102.0

102

  • Unicast, Reliable

Subscribers

Min

Median

90percentile

Max

1

17

17.0

17.0

17

2

17

17.0

17.0

17

4

18

18.0

18.0

18

10

22

22.0

22.0

22

20

28

28.0

28.0

28

30

34

34.0

34.0

34

50

46

46.0

46.0

46

70

56

56.0

56.0

56

80

68

68.0

68.0

68

100

79

79.0

79.0

79

120

90

90.0

90.0

90

150

107

107.0

107.0

107

200

139

139.0

139.0

139


Test Hardware

The following hardware was used to perform these tests:

Linux Nodes

Dell R340 Servers (13 Units)
Processor: Intel Xeon E-2278G (3.4-5GHz, 8c/16t, 16MB cache, 2 memory channels @2666MHz)
RAM: 4x 16GB 2666MHz DIMM (64GB RAM)
HD: 480GB SATA SSD
NIC 1: Intel 710 dual port 10Gbps SFP
OS: Ubuntu 20.04 -- gcc 9.3.0

Switch

Dell 2048 -- 10Gbps switch (10Gbps and 1Gbps interfaces)