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
..
2022-03-09 22:17:52 +00:00
2021-11-29 10:54:30 +00:00
2021-09-08 13:39:36 +00:00
2021-09-06 14:26:55 +00:00
2021-09-06 14:26:55 +00:00
2020-01-13 18:31:30 +00:00
2020-10-02 12:33:34 +00:00
2021-07-27 18:29:33 +00:00
2022-03-09 13:23:21 +00:00
2021-07-27 18:29:33 +00:00
2020-08-06 11:50:08 +00:00
2022-03-09 22:17:52 +00:00
2021-06-01 06:57:31 +00:00
2022-02-14 16:59:20 +00:00
2022-02-23 12:10:21 +00:00
2021-02-10 15:04:55 +00:00
2021-09-02 12:58:02 +00:00
2021-07-27 18:29:33 +00:00
2022-03-09 22:17:52 +00:00
2022-01-24 11:30:28 +00:00
2022-02-23 12:10:21 +00:00
2022-02-23 12:10:21 +00:00
2021-08-30 10:20:55 +00:00
2021-07-27 18:29:33 +00:00
2022-01-03 15:36:02 +00:00
2022-01-20 11:00:18 +00:00
2022-01-03 15:36:02 +00:00
2021-09-08 13:39:36 +00:00
2021-09-14 13:38:44 +00:00
2021-06-14 17:57:57 +00:00
2021-11-22 08:44:15 +00:00
2021-05-29 07:37:33 +00:00
2022-03-09 22:17:52 +00:00
2022-01-10 12:34:23 +00:00
2021-09-08 13:39:36 +00:00
2022-03-09 22:17:52 +00:00
2022-03-09 22:17:52 +00:00
2022-03-09 22:17:52 +00:00
2020-01-10 16:39:51 +00:00
2020-03-26 20:41:46 +00:00
2022-01-20 11:00:18 +00:00
2021-11-15 21:44:59 +00:00
2021-08-10 10:40:03 +00:00
2022-01-03 20:00:52 +00:00
2022-01-03 20:00:52 +00:00
2022-01-05 08:51:44 +00:00
2022-03-09 22:17:52 +00:00
2021-11-15 21:44:59 +00:00
2022-03-09 22:17:52 +00:00
2021-01-18 09:10:14 +00:00
2021-02-10 15:04:55 +00:00
2022-01-03 15:36:02 +00:00
2021-06-01 06:57:31 +00:00
2021-06-01 06:57:31 +00:00
2021-11-29 10:54:30 +00:00
2022-03-14 09:35:56 +00:00
2022-03-09 22:17:52 +00:00
2022-01-26 11:05:25 +00:00
2022-03-09 22:17:52 +00:00
2022-03-09 22:17:52 +00:00
2022-03-09 22:17:52 +00:00
2021-05-05 16:22:33 +00:00
2021-05-05 16:22:33 +00:00
2020-05-07 17:04:15 +00:00
2020-02-18 16:09:50 +00:00
2021-08-10 10:40:03 +00:00
2021-07-27 18:29:33 +00:00
2020-09-09 15:44:47 +00:00
2022-03-14 05:05:25 +00:00
2020-12-14 16:22:35 +00:00
2021-07-01 11:23:51 +00:00
2022-01-26 08:09:40 +00:00
2021-11-16 11:21:41 +00:00
2022-02-01 09:15:50 +00:00