Mirko Bonadei
d8543dedf2
Revert "Pacer: Reduce TQ wake up and improve packet size estimation"
This reverts commit 37195cf2e577cc09ad1362d046b5c8a9b65d4f99.
Reason for revert: Breaks downstream tests (more investigations and testing is necessary).
Original change's description:
> Pacer: Reduce TQ wake up and improve packet size estimation
>
> The TQ Pacer schedules delayed task according to target time of
> PacingController. It drains all valid ProcessPackets() in single loop,
> denies retired scheduled tasks, and round up the timeout to 1ms.
>
> This CL also improves packet size estimation in TQ Pacer by removing
> zero initialization, and introduces `include_overhead_` configuration.
>
> Tests:
> 1. webrtc_perf_tests: MaybeProcessPackets() calls
> 2075147 -> 2007995
>
> 2. module_unittests: MaybeProcessPackets() calls
> 203393 -> 183563
>
> 3. peerconnection_unittests: MaybeProcessPackets() calls
> 66713-> 64333
>
> Bug: webrtc:13417, webrtc:13437
> Change-Id: I18eb0a36dbe063c606b1f27014df74a65ebfc486
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/242962
> Reviewed-by: Erik Språng <sprang@webrtc.org>
> Reviewed-by: Henrik Boström <hbos@webrtc.org>
> Commit-Queue: Erik Språng <sprang@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#36179}
No-Try: True
Bug: webrtc:13417, webrtc:13437
Change-Id: I5418d26d3978f21765ef38acfb002398e671e036
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/255301
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Owners-Override: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#36185}
2022-03-14 09:35:56 +00:00
..
2021-08-02 11:16:59 +00:00
2022-02-21 13:35:24 +00:00
2022-03-07 09:56:42 +00:00
2022-01-24 11:50:20 +00:00
2022-03-02 15:50:57 +00:00
2022-03-09 13:23:21 +00:00
2022-03-09 17:14:42 +00:00
2021-07-30 22:40:29 +00:00
2022-03-14 09:35:56 +00:00
2022-03-09 13:23:21 +00:00
2022-03-09 14:39:42 +00:00
2021-11-04 13:46:17 +00:00
2022-02-01 09:15:50 +00:00
2022-03-11 20:54:03 +00:00
2022-01-26 11:05:25 +00:00
2021-02-01 13:46:19 +00:00