Re: [edk2] [Patch 0/4] Fix performance issue caused by Set MSR task.

2018-10-17 Thread Laszlo Ersek
On 10/16/18 03:39, Dong, Eric wrote: > Hi Laszlo, > > [...] Thanks for your answers, it's all much clearer now. Laszlo ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] [Patch 0/4] Fix performance issue caused by Set MSR task.

2018-10-15 Thread Dong, Eric
Hi Laszlo, > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Monday, October 15, 2018 11:52 PM > To: Dong, Eric ; edk2-devel@lists.01.org > Cc: Ni, Ruiyu > Subject: Re: [Patch 0/4] Fix performance issue caused by Set MSR task. > > Hi Eric, > > On 10/15/18

Re: [edk2] [Patch 0/4] Fix performance issue caused by Set MSR task.

2018-10-15 Thread Laszlo Ersek
Hi Eric, On 10/15/18 04:49, Eric Dong wrote: > In a system which has multiple cores, current set register value task costs > huge times. > After investigation, current set MSR task costs most of the times. Current > logic uses > SpinLock to let set MSR task as an single thread task for all

[edk2] [Patch 0/4] Fix performance issue caused by Set MSR task.

2018-10-14 Thread Eric Dong
In a system which has multiple cores, current set register value task costs huge times. After investigation, current set MSR task costs most of the times. Current logic uses SpinLock to let set MSR task as an single thread task for all cores. Because MSR has scope attribute which may cause GP