You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been using this tool to test the performance of Fast-RTPS for some time. Recently, Fast-RTPS has added a new feature which is a participant white-list, meaning that users can use the XML to set, for each participant, a list of participants that are "allowed" to be discovered. We believe that this feature really much applies to the benchmark case where the topology is known beforehand.
However, we have encountered a problem when using this participant white-listing, which is that we hit the assertion in performance_test::System::wait_pdp_discovery()
// check if maximum discovery time exceededauto t = std::chrono::high_resolution_clock::now();
auto duration =
std::chrono::duration_cast<std::chrono::milliseconds>(t - pdp_start_time - max_pdp_time).count();
if (duration > 0){
assert(0 && "[discovery] PDP took more than maximum discovery time");
}
The problem is that with the white-list, the nodes do not discover all the other nodes, but only they ones the are interested in. We have tackled this issue by avoiding to wait for participant discovery using PR #7, but we believe that a better approach would be to refactor performance_test::System::wait_pdp_discovery() so it uses the topology to check which participant has discovered which, returning when all the necessary connections are established.
The text was updated successfully, but these errors were encountered:
I all!
We have been using this tool to test the performance of Fast-RTPS for some time. Recently, Fast-RTPS has added a new feature which is a participant white-list, meaning that users can use the XML to set, for each participant, a list of participants that are "allowed" to be discovered. We believe that this feature really much applies to the benchmark case where the topology is known beforehand.
However, we have encountered a problem when using this participant white-listing, which is that we hit the assertion in
performance_test::System::wait_pdp_discovery()
The problem is that with the white-list, the nodes do not discover all the other nodes, but only they ones the are interested in. We have tackled this issue by avoiding to wait for participant discovery using PR #7, but we believe that a better approach would be to refactor
performance_test::System::wait_pdp_discovery()
so it uses the topology to check which participant has discovered which, returning when all the necessary connections are established.The text was updated successfully, but these errors were encountered: