Re: [PATCH v3 0/2] accel/tcg/tcg-accel-ops-rr: ensure fairness with icount

2023-05-10 Thread Richard Henderson
On 5/3/23 10:44, Jamie Iles wrote: Hi Richard, On Sat, Apr 29, 2023 at 10:28:03AM +0100, Richard Henderson wrote: On 4/27/23 03:09, Jamie Iles wrote: From: Jamie Iles The round-robin scheduler will iterate over the CPU list with an assigned budget until the next timer expiry and may exit ear

Re: [PATCH v3 0/2] accel/tcg/tcg-accel-ops-rr: ensure fairness with icount

2023-05-03 Thread Jamie Iles
Hi Richard, On Sat, Apr 29, 2023 at 10:28:03AM +0100, Richard Henderson wrote: > On 4/27/23 03:09, Jamie Iles wrote: > > From: Jamie Iles > > > > The round-robin scheduler will iterate over the CPU list with an > > assigned budget until the next timer expiry and may exit early because > > of a T

Re: [PATCH v3 0/2] accel/tcg/tcg-accel-ops-rr: ensure fairness with icount

2023-04-29 Thread Philippe Mathieu-Daudé
On 29/4/23 11:28, Richard Henderson wrote: On 4/27/23 03:09, Jamie Iles wrote: From: Jamie Iles The round-robin scheduler will iterate over the CPU list with an assigned budget until the next timer expiry and may exit early because of a TB exit.  This is fine under normal operation but with ic

Re: [PATCH v3 0/2] accel/tcg/tcg-accel-ops-rr: ensure fairness with icount

2023-04-29 Thread Richard Henderson
On 4/27/23 03:09, Jamie Iles wrote: From: Jamie Iles The round-robin scheduler will iterate over the CPU list with an assigned budget until the next timer expiry and may exit early because of a TB exit. This is fine under normal operation but with icount enabled and SMP it is possible for a CP

[PATCH v3 0/2] accel/tcg/tcg-accel-ops-rr: ensure fairness with icount

2023-04-27 Thread Jamie Iles
From: Jamie Iles The round-robin scheduler will iterate over the CPU list with an assigned budget until the next timer expiry and may exit early because of a TB exit. This is fine under normal operation but with icount enabled and SMP it is possible for a CPU to be starved of run time and the sy