Re: [edk2] [Patch 0/3] Optimize load uCode performance

2018-07-12 Thread Dong, Eric
Hi Laszlo, > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Thursday, July 12, 2018 5:58 PM > To: Dong, Eric ; edk2-devel@lists.01.org > Subject: Re: [edk2] [Patch 0/3] Optimize load uCode performance > > On 07/11/18 13:07, Eric Dong wrote

Re: [edk2] [Patch 0/3] Optimize load uCode performance

2018-07-12 Thread Laszlo Ersek
On 07/11/18 13:07, Eric Dong wrote: > Use below three rules to optimize load uCode performance: > 1. Let BSP relocate uCode from flash to memory for better performance. > 2. BSP caches the CPU ID and address of uCode so AP doesn’t need to look >for the uCode again if the CPU ID is same as

Re: [edk2] [Patch 0/3] Optimize load uCode performance

2018-07-11 Thread Laszlo Ersek
Hi Eric, On 07/11/18 13:07, Eric Dong wrote: > Use below three rules to optimize load uCode performance: > 1. Let BSP relocate uCode from flash to memory for better performance. > 2. BSP caches the CPU ID and address of uCode so AP doesn’t need to look >for the uCode again if the CPU ID is

[edk2] [Patch 0/3] Optimize load uCode performance

2018-07-11 Thread Eric Dong
Use below three rules to optimize load uCode performance: 1. Let BSP relocate uCode from flash to memory for better performance. 2. BSP caches the CPU ID and address of uCode so AP doesn’t need to look for the uCode again if the CPU ID is same as BSP’s. 3. Only apply uCode in one thread of a