Re: [dpdk-dev] [PATCH v1] ticketlock: ticket based to improve fairness

2019-01-14 Thread Honnappa Nagarahalli
> Subject: [PATCH v1] ticketlock: ticket based to improve fairness > > From: Joyce Kong > > The spinlock implementation is unfair, some threads may take locks > aggressively while leaving the other threads starving for long time. As shown > in the following test, within same period of time, ther

[dpdk-dev] [PATCH v1] ticketlock: ticket based to improve fairness

2019-01-13 Thread Gavin Hu
From: Joyce Kong The spinlock implementation is unfair, some threads may take locks aggressively while leaving the other threads starving for long time. As shown in the following test, within same period of time, there are threads taking locks much more times than the others. The ticketlock give