Mono AOT problem from Samsung

张亮 熊 <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
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-
v4t-le_gcc3.2.1).
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
Mobile:86-13913925119
Office:86-25-58748787-3440
Mail:[email protected]
--------------------------------------------------

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.