Skip to content

Commit

Permalink
We use a batch size of 1 for network BDNs in order to stress the netw…
Browse files Browse the repository at this point in the history
…ork layer. (microsoft#896)
  • Loading branch information
badrishc authored Dec 22, 2024
1 parent 47ac84f commit d445d1e
Showing 1 changed file with 3 additions and 8 deletions.
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

0 comments on commit d445d1e

Please sign in to comment.