Re: [PATCH] cpu-throttle: Remove timer_mod() from cpu_throttle_set()

2021-02-02 Thread Paolo Bonzini
On 31/12/20 14:13, Utkarsh Tripathi wrote: During migrations, after each iteration, cpu_throttle_set() is called, which irrespective of input, re-arms the timer according to value of new_throttle_pct. This causes cpu_throttle_thread() to be delayed in getting scheduled and consqeuntly lets guest

Re: [PATCH] cpu-throttle: Remove timer_mod() from cpu_throttle_set()

2021-02-02 Thread Utkarsh Tripathi
PING From: Utkarsh Tripathi Date: Thursday, 31 December 2020 at 6:43 PM To: qemu-devel@nongnu.org Cc: Utkarsh Tripathi , Paolo Bonzini Subject: [PATCH] cpu-throttle: Remove timer_mod() from cpu_throttle_set() During migrations, after each iteration, cpu_throttle_set() is called, which

[PATCH] cpu-throttle: Remove timer_mod() from cpu_throttle_set()

2020-12-31 Thread Utkarsh Tripathi
During migrations, after each iteration, cpu_throttle_set() is called, which irrespective of input, re-arms the timer according to value of new_throttle_pct. This causes cpu_throttle_thread() to be delayed in getting scheduled and consqeuntly lets guest run for more time than what the throttle valu