资源描述:
《基于qemu的热点代码探测与动态优化模型的分析与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、-------ABSTRACTABSTRACTBinarytranslationtechnologyisthecoretechnologyofsoftwareportableacrossplatformsandhardwaresimulation,whichenablestheexecutableobjectfileofdifferenthardware/softwareplatformstobeexecutedonanotherone,andisconvenientforhardwarelogicverificationandsystemsoftwaredebuggingaswe
2、ll.Dynamicbinarytranslationtechnologyiscurrentlythemostpopularbinarytranslationtechnology.Ittakesthestrategyofreal-timetranslationandexecutiontotransformthebinarycodeoftheobjectCPUarchitectureintothelocalone,andequipswithcharacteristicsofreal-timetranslation,rapidresponse,multi-sourcesandmulti
3、-targetsandsoon.Dynamicbinarytranslation,however,isstillonthestageofcontinuousdevelopmentandneededtobeperfected.Forexample,combineswithdifferenthardwaretechnologiestoacceleratetheexecutionspeedoftheemulator,introducesnovelandefficientoptimizationalgorithmtoimprovequalityoftranslatedcodeetc.How
4、totranslateandoptimizeitfasthasbeenthehotresearchpointforalongtime.QEMUisatypicaldynamicbinarytranslationsystem,itusesdynamicbinary
translationtechnologytoachievereal-timetranslationandexecutiononthetarget
binarycode,andhavemulti-sourcesandmulti-targets,rapidtranslation,support
self-referencin
5、g/self-modifyingcodeandothercharacteristics.Comparedtothefast
translation,however,thehostcodegeneratedbyQEMUoftenexistmanyunnecessary
memoryaccessandregistermoveoperations,thesewillleadtosignificantexecution
overhead.Besidesthat,QEMUtranslates,optimizesandexecutestheobjectbinarycode
inaseriali
6、zedway,whichleadsmanyadvancedoptimizationalgorithmstobehardly
used,becauseofthesealgorithmsdooptimizationneedsfortime-consuming
optimizationoperation,andoptimizationoverheadoftenoutweighsthebenefits.
ThepaperstudiestheTCGtranslationengineindetails,andputforwards,basedon
theresearch,amodelofhot
7、spotcodedetectionanddynamicoptimization:combination
withmulti-coresofprocessesandmulti-threadstechnologies,implementationtodetect
thehotspotcodeofQEMUthroughcodeinstrumentationandNETalgorithm,andII-----------------------ABSTRACTmergethe