Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeOut error when Throughput example payload size is large #423

Open
allenwang-git opened this issue Jun 13, 2023 · 0 comments
Open

TimeOut error when Throughput example payload size is large #423

allenwang-git opened this issue Jun 13, 2023 · 0 comments

Comments

@allenwang-git
Copy link

allenwang-git commented Jun 13, 2023

Hi I want to report an issue when i run the Throughput example with such command: cxxThroughputPublisher 65536 0 1 0 "Throughput example" 524288 and ./cxxThroughputSubscriber 0 0 "Throughput example" , The output is so strange as below:

=== [Subscriber] Cycles: 10 | PollingDelay: 0 ms | Partition: Throughput example
=== [Subscriber] Using a waitset approach.

=== [Subscriber] Waiting for a writer ...
=== [Subscriber] Waiting for samples...

=== [Subscriber] Total received: 1 samples, 524288 bytes.
=== [Subscriber] Out of order: 0 samples.
=== [Subscriber] Average transfer rate: 9.756 samples/s, 40.92 Mbit/s.
== [Publisher] Current parameters:
	payloadSize: 524288
	bytes burstInterval: 0 ms
	burstSize: 1 samples
	timeOut: 0 seconds
	partitionName: Throughput example
1686691120.850876 [0] cxxShmThro: Current process name for iceoryx is iceoryx_rt_23820_1686691120850661183
1686691120.852287 [0] cxxShmThro: My iceoryx address: 16/[02:0c:94:58:eb:43:00:00:00:00:00:00:00:00:00:00]:0
1686691120.853494 [0] cxxShmThro: Writer's topic name will be DDS:Cyclone:Throughput

=== [Publisher] Waiting for a reader...
=== [Publisher] Writing samples..........
=== [Publisher] Writer has no reader to communicate with.

=== [Publisher] Terminated, 384612 samples written.
1686691130.857721 [0] cxxShmThro: Release iceoryx's publisher

Then I found it's because subscriber trigger the TimeOutError so the done flag is set to true directly.
My problem is if this example can work good with small payloadsize like (64KB), why it cannot receive payload a little bit bigger(512K)? Any idea @eboasson ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant