GeezerVison is showing github.com — Remove the QUIC data path overrides · meta/proxygen@463609d
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: proxygen/httpserver/samples/hq/HQCommandLine.cpp -7Lines changed: 0 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -118,9 +118,6 @@ DEFINE_bool(migrate_client, |
118 | 118 | false, |
119 | 119 | "(HQClient) Should the HQClient make two sets of requests and " |
120 | 120 | "switch sockets in the middle."); |
121 | | -DEFINE_bool(use_inplace_write, |
122 | | - false, |
123 | | - "Transport use inplace packet build and socket writing"); |
124 | 121 |
|
125 | 122 | DEFINE_bool(send_knob_frame, |
126 | 123 | false, |
@@ -333,10 +330,6 @@ void initializeTransportSettings(HQToolParams& hqUberParams) { |
333 | 330 | } |
334 | 331 | hqParams.transportSettings.connectUDP = FLAGS_connect_udp; |
335 | 332 | hqParams.transportSettings.maxCwndInMss = FLAGS_max_cwnd_mss; |
336 | | - if (hqUberParams.mode == HQMode::SERVER && FLAGS_use_inplace_write) { |
337 | | - hqParams.transportSettings.dataPathType = |
338 | | - quic::DataPathType::ContinuousMemory; |
339 | | - } |
340 | 333 | if (FLAGS_rate_limit >= 0) { |
341 | 334 | CHECK(hqUberParams.mode == HQMode::SERVER); |
342 | 335 | std::get<HQToolServerParams>(hqUberParams.params).rateLimitPerThread = |
|
Collapse file
Copy file name to clipboardExpand all lines: proxygen/lib/http/coro/benchmark/HTTPCoroBenchmark.cpp -4Lines changed: 0 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -259,8 +259,6 @@ class BenchmarkFixture { |
259 | 259 | serverConfig.quicConfig->transportSettings.batchingMode = |
260 | 260 | quic::QuicBatchingMode::BATCHING_MODE_GSO; |
261 | 261 | serverConfig.quicConfig->transportSettings.maxBatchSize = 48; |
262 | | - serverConfig.quicConfig->transportSettings.dataPathType = |
263 | | - quic::DataPathType::ContinuousMemory; |
264 | 262 | serverConfig.quicConfig->transportSettings |
265 | 263 | .writeConnectionDataPacketsLimit = 48; |
266 | 264 | } |
@@ -279,8 +277,6 @@ class BenchmarkFixture { |
279 | 277 | params.transportSettings.maxCwndInMss = quic::kLargeMaxCwndInMss; |
280 | 278 | params.transportSettings.batchingMode = |
281 | 279 | quic::QuicBatchingMode::BATCHING_MODE_GSO; |
282 | | - params.transportSettings.dataPathType = |
283 | | - quic::DataPathType::ContinuousMemory; |
284 | 280 | params.transportSettings.maxBatchSize = 48; |
285 | 281 | params.transportSettings.writeConnectionDataPacketsLimit = 48; |
286 | 282 | resp_ = makeBuf(respSize_); |
|