[Mono-dev] Mono AOT problem from Samsung

=?gb2312?B?1cXBwSDQ3A==?= xdz3701 at hotmail.com
Sun Oct 24 00:08:55 EDT 2010

Dear all,
I am Xiong ZhangLiang from Samsung Electronics (China) RD Center.
Recently we try to adopt Mono2.8 as embedded S/W platform for Samsung products, 
and we wrote an network communication App with Winform UI on it.
The app of LOC is approximately 70K.
Target board is S3C24400(ARM920T-ARMv4t, 400MCPU, 128M Flash, 128M SDRAM, Linux2.4.20, arm-
We ported XServer for UI.
We found the app performance on Mono is bad.
Init time is more than 3 min, Memory occupation is more than 80M and UI repsonse time is 
more than 8 sec.
And memory cannot be released when user operated until memory is used up.
ARM byte order is middle order, but App on Mono can not execute double calculation correctly 
because of the byte order.
Then we try the AOT to reduce the startup time.
Full AOT can be executed except two Mono files (I18Rare.dll), but it cannot run and print 
"undefined instructions".
If compile Mono file with --aot -O=all option, about 10 Mono files cannot be compiled (most 
important is System.Windows.Winform.dll), then libGdiplus.so can be found, the app can be 
executed with 10% startup time reduce. But that's not enough.
If we compile System.Windows.Winform.dll with --aot option, it can be compiled. 
But with compiled System.Windows.Winform.dll.so, app cannot run and print "libGdiplus.so 
unable to be load" because of "error loading libFontconfig.so.1:R_ARM_PC24 relocation out of 
range". But to reduce the startup time significantly, I think compile 
System.Windows.Winform.dll is the most important. 
Could you kindly give us some guidance?
Thank you very much.
With BR,
Xiong ZhangLiang
Samsung Electronics (China) RD Center
Mono project, Project Leader, PhD
Mail:xdz3701 at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101024/654a1a74/attachment-0001.html 

More information about the Mono-devel-list mailing list