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

Network BDN batch size 1 #896

Merged
merged 1 commit into from
Dec 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions benchmark/BDN.benchmark/Network/NetworkBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,10 @@ public IEnumerable<NetworkParams> NetworkParamsProvider()
}

/// <summary>
/// Batch size per method invocation
/// With a batchSize of 100, we have a convenient conversion of latency to throughput:
/// 5 us = 20 Mops/sec
/// 10 us = 10 Mops/sec
/// 20 us = 5 Mops/sec
/// 25 us = 4 Mops/sec
/// 100 us = 1 Mops/sec
/// Batch size per method invocation - we use a batch size of 1 for network BDNs
/// in order to stress the network layer.
/// </summary>
const int batchSize = 100;
const int batchSize = 1;
EmbeddedRespServer server;
EmbeddedNetworkHandler networkHandler;

Expand Down
Loading