Fix the bug that the task total execution time is not updated on time. The bug is introduced by #67.
This bug can affect the performance impact of big task for small tasks.
I test the performace impact by running sysbench oltp_read_only(--thread=50 --range-selects) as small tasks and run go-tpc tpch --sf=10 as big tasks.
Before:
After
The throughput impact is much better and the tail latency is slightly better.
Fix the bug that the task total execution time is not updated on time. The bug is introduced by #67. This bug can affect the performance impact of big task for small tasks. I test the performace impact by running sysbench oltp_read_only(--thread=50 --range-selects) as small tasks and run go-tpc tpch --sf=10 as big tasks. Before:
After
The throughput impact is much better and the tail latency is slightly better.