Hi Edk2 developers,
   After upate to UDK2015 from UDk2014, the Uiapp setup shows very slow. the 
following is our issue and debug information. Anyone meet similar issue before?
 

Issue symptom:

1, System draw the Front Page cost about 2 second. We can see the frame/ menu 
block/ help block draw one by one. Other submenu has same slowly display when 
enter it.

Normally those are instantaneous  work .

2, Change the highlight item in one page meet about half-second delay response.

3, In Data and time page. We can see the scan line to update the time display 
from top-left to bottom-right.

4, In shell environment, “drivers” command can show title part normally, but it 
display the number of driver with a visible slow speed. ”PCI” command still has 
normal behave.




Debug step:

1, Doubt that call back function hook to the form will case this issue .Try to 
remove the callback function for all the form.

Issue still happened.

2. Because the setup has may loop invoke, Try to fixed a single delay point for 
more debug.

In “DisplayPageFrame” when try to clear the screen for First Form display , 
there is about 1-2 second single delay point inside

ClearLines (0, gScreenDimensions.RightColumn, 0, gScreenDimensions.BottomRow, 
KEYHELP_BACKGROUND);  

Trace the string passed to clear screen in this routing .The string is same 
with the UDK2014 normal case. This can preliminary exclusion the string 
analysis issue and special font issue.

3,  Deep debug, Delay is happened in “PrintInternal” try to invoke 
”Out->OutputString(XXXXXX)”.

This Out is point to system table  conout , There is only one SimpleTextOutput  
“GraphicsConsoleController” in consplitter list in our project.

     And the GOP protocol install  optrom in both UDK2014 and UDK2015 are the 
same one. BTW, The logo display and post information display has no delay 
symptom.

4, There is  three ”Out->OutputString(XXXXXX)” invoke “PrintInternal”, String 
is display by first two after remove the CHAR type. the last invoke is used for 
display space to meet the request display size.

If we don’t do this work. Symptom 2 Will have a great improvement.
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to