setupnokia

nokia最新手机  时间:2021-02-28  阅读:()
OntheEnergyConsumptionofDesignPatternsChristianBunseUniversityofAppliedSciencesStralsundZurSchwedenschanze1518435StralsundSebastianStiemerUniversityofAppliedSciencesStralsundZurSchwedenschanze1518435StralsundMarch29,2013Introduction.
Energyisoneofthemostlimitingfactorsforinformation&communicationtechnologiesingeneraland,morespecicallyformobiledevicessuchasSmartphones.
Inmostapplicationscenarios,mobiledevicesdonothaveapermanentpowersupplybutuserechargeablebatteries.
Duetotheincreasinghard-wareperformanceandotherdevicepropertiesenergyrequirementsincreasefurther.
However,softwareuti-lizeshardwareandthereforedirectlyaectstheenergyrequirementsoftheentiresystem.
Energy-awaresoftwaredevelopment,energy-awarealgorithmsandenergy-awaresensorsubstitutionareonlythreeexamplesforrecentresearchthattrytoreduceenergyrequirementsbyoptimizingthesoftwareratherthanthehardware.
Energyconsumptionisanimportantsystemproperty,thathasalreadytobeaddressedintheearlystagesofdevelopment.
Inturn,thisrequiresknowledgeonbest-practicesandstructuresfordevelopingenergy-ecientsoftwaresystems.
Following[1],patternsplaymanyrolesinsoftwaredevelopment:theyprovideacommonvocabulary,re-ducesystemcomplexity,constituteabaseforbuildingreusablesoftware,andactasbuildingblocks.
Itisacom-monbelievethatsoftwarequalityincreasesbypatternapplication.
But,theimpactofapatternontopropertiessuchasperformance,securityorenergyconsumptioniswidelyunknown.
Inthispaper,wecomparetheimpactofdesignpatternsontotheenergyconsumptionofmobile(i.
e.
,smartphonebased)applications.
SmallappsfortheAndroidplatformweredevelopedthateitheruseornotuseaspecicpattern.
TheenergyconsumptionoftheseappswasmeasuredbyusingthePowerTutor-App,developedattheUniversityofMichigan.
Theresultsregardingtheselectedpatternsubset(facade,abstractfactory,observer,decorator,prototype,andtemplatemethod)areinteresting.
Especiallythedecoratorpatternshowasignicantnegativeimpactontoenergyconsumption.
Background.
Theresearchpresentedinthispaperisrootedintheresearcheldsofenergy-awarecomput-ingandenergyrequirementascertainmenttechniques.
Manyenergy-awareapproacheseithertrytoreduceen-ergyneedsbysubstitutinghardwareresources[2],orbybalancingenergyrequirementsandinformationquality[3].
In[4]itisillustratedthatasimplesubstitutionoftheresourcescentralprocessingunit,andmemoryhelpstoreducetheamountofenergyrequired.
Theauthorsof[5]showedthatprocessinglessprecisedatarequireslessenergy,andalsopresentasetupformeasuringtheenergyrequirementsofcoreandmemoryofamicrocontrollerbasedsystem,runningsortingalgorithms.
Energymeasurementforsoftwarecaneitherbebasedonhardwareorsoftware-basedapproaches[6].
[7]providesanapproachforgeneratingenergymodelsformobilesystemsbyusingthesmartbatteryinterfaceaccompaniedbymeanstoachieveaccuracy.
ToolssuchastheNokiaEnergyProlerorPowerTutor[8]enabledeveloperstomonitorpowerconsumption.
Thesetoolsarebasedonanunderlyingcostmodelthat,itself,isderivedbyanalyzingaspecicdevice(i.
e.
NokiaS60).
[9]presentsapowermodelingschemeandanimplementationthatallowsne-grainedenergyaccounting.
Insoftwareengineering,apatternisageneralre-peatablesolutiontoacommonlyoccurringproblem[1].
Apatternisanabstracttemplatethatneedstoberenedandadaptedbeforeitcanbeintegratedintothecode.
Patternsfocusondescriptionsthatcommunicatethereasonsfordesigndecisions.
But,littleisknownabouttheirimpactontosystemproperties[10].
[11]examinestheimpactofusingdesignpatternsontoper-formanceandprovideaprocessforpatternselection.
[12]presentsanapproachformappingsoftwaredesigntopowerconsumptionandanalyzehowdesigndecisionsaectanapplication'senergyusage.
[13]analyzessixdesignpatternsandexploretheeectofthemonenergyconsumptionandperformance.
ExperimentsExistingapproacheshaveshownthatpatternusageimpactsenergyconsumptionatleastwhenitcomestoembeddedsystems[13]orC++basedcode[12].
Thegoalofourresearchwasevaluatingtheimpactofpatternsontotheenergyconsumptionofmo-bilesystemsthatuseJava.
Theunderlyinghypothesisbeingthatusingornotusingaspecicpatternwillsignicantlychangeenergyneeds.
Resultscanthenbeusedasastartingpointforfurtherexplorationinordertoidentifywhyandhowthedesignpatternsimpacten-ergyconsumption.
WeselectedasubsetoftheGammapatterns(facade,abstractfactory,observer,decorator,prototype,andtemplatemethod).
Toevaluatetheim-pactofasinglepatternwedevelopedtwo,comparableapplicationsforeachpatternthateitheruseornotusethepattern.
Implementationlooselyfollowedstandardimplementationsavailableintextbooks.
Energycon-sumptionwasthenmeasuredbyusingthePowerTutorApprunningonvariousphones(NexusOne,GalaxySII,Transformer)wherebyexperimentsandmeasurementswerecoordinatedbyaframework.
Figure1:ExperimentalResultsTable1showstheresultsoftherstexperimentseries.
WhilemeasurementsforpatternssuchasFacade,ObserverorTemplateMethodshownodierence,theresultsforthePrototypeandDecoratorshowalargedierenceintimeandenergyneeds(15,2vs.
35.
4and374vs.
873,8).
Thereasonforthegrossdierencemightbethelargeamountofobjectsinstantiationsandmethodcallsofthepattern-basedsystem.
Thissupportsthendingsof[4]thatmemoryconsumptionusingtheheapaswellasthegarbagecollectorareenergy-intensiveoperationsthatalsohaveanegativeimpactontoperformance.
Althoughinteresting,ourresultscanonlybeusedasanindicatorduetoseveralthreatstovalidity.
Implementationandmeasurementmightnotbegeneralizable.
Thiswarrantsfurtherresearch.
SummaryandConclusions.
Inthispaper,wepre-sentedacasestudythatexaminedtheimpactofdesignpatternapplicationontoasystemsenergyconsumption.
Twogroupsofapps,eitherusingornotusingapattern,weredevelopedandmeasured.
TheresultsforadistinctsubsetoftheGammapatternsshowed,thatespeciallythedecoratorpatternhasanegativeimpactontheen-ergyneedsofanapp.
Duetothelowtemporalresolutionofthesoftwaremeasurementmethod,evaluationswithashortruntimeareerror-proneandtheusedsystemsmightnotberepresentable.
However,theinterpretationoftheevaluationresultssupportsourhypothesisandjustiesfurtherresearch.
Usingpatternsisnotalwaysagoodidea.
Theirselectionshouldnotsolelybebasedontofunctionandstructurebutalsoaccordingotherproperties.
Althoughtheresultsofourstudyarenotgeneralizable,theresultsindicate,thatfurtherresearchiswarrantedthatexaminestheimpactofpatternsre-gardingdierentplatformsandapplications.
Resultscanthenbeusedformeta-analysis.
Duringourstudy,wewereabletosupportourhy-pothesesbut,inturn,alsoidentiedissuesthatwarrantfurtherresearch.
First,therobustnessofourapproachregardingthehardwareplatformhastobeevaluated.
Furthermore,itisinterestingtotakeadeeperlookintothecharacteristicsoftheenergyrequirementsofotherpatternsoridioms.
Resultsmightthenbeusedtodeneanti-patternsregardingsoftwareenergyconsumption.
References[1]E.
Gamma,R.
Helm,R.
E.
Johnson,andJ.
M.
Vlissides,"Designpatterns:Abstractionandreuseofobject-orienteddesign,"inECOOP,1993.
[2]C.
BunseandH.
H¨opfner,"Resourcesubstitutionwithcomponents—optimizingenergyconsumption,"inICSOFT'08Proc.
,pp.
28–35,INSTICC,2008.
[3]J.
P.
Sousa,R.
K.
Balan,andD.
G.
etal,"UserGuidanceofResource-AdaptiveSystems,"inICSOFT'08Proc.
,INSTICC,2008.
[4]C.
Bunse,H.
H¨opfner,S.
Roychoudhury,andE.
Man-sour,"Energyecientdatasortingusingstandardsortingalgorithms,"inSoftwareandDataTechnolo-gies,pp.
247–260,Springer,2011.
[5]H.
H¨opfnerandC.
Bunse,"EnergyAwareDataMan-agementonAVRMicroControllerBasedSystems,"ACMSIGSOFTSEN,vol.
35,May2010.
[6]C.
BunseandH.
H¨opfner,"Ocemes:Measuringoverallandcomponent-basedenergydemandsofmobileandembeddedsystems,"inGI-Jahrestagung,2012.
[7]M.
DongandL.
Zhong,"Self-constructivehigh-ratesystemenergymodelingforbattery-poweredmobilesystems,"inProc.
ofthe9thIntl.
conferenceonMobilesystems,applications&services,ACM,2011.
[8]L.
Zhang,B.
Tiwana,andZ.
Q.
etal.
,"AccurateOnlinePowerEstimationandAutomaticBatteryBehaviorBasedPowerModelGenerationforSmartphones,"inCODES/ISSS'10Proc.
,ACM,2010.
[9]A.
Pathak,Y.
C.
Hu,andM.
e.
a.
Zhang,"Fine-grainedpowermodelingforsmartphonesusingsystemcalltracing,"inProc.
ofthe6thconferenceonComputersystems,ACM,2011.
[10]D.
GrossandE.
S.
K.
Yu,"Fromnon-functionalrequirementstodesignthroughpatterns.
,"Requir.
Eng.
,vol.
6,no.
1,pp.
18–36,2001.
[11]N.
Mani,D.
C.
Petriu,andM.
Woodside,"Towardsstudyingtheperformanceeectsofdesignpatternsforserviceorientedarchitecture,"inProc.
ofthe2ndWOSP/SIPEWintntlconferenceonPerformanceen-gineering,ICPE'11,ACM,2011.
[12]C.
Sahin,F.
Cayci,andI.
L.
M.
e.
a.
Gutierrez,"Initialexplorationsondesignpatternenergyusage,"in1stInternationalWorkshoponGreenandSustainableSoftware(GREENS),ACM,2012.
[13]A.
Litke,K.
Zotos,andE.
C.
etal,"Energyconsumptionanalysisofdesignpatterns,"inProc.
WorldAcademyofScience,Engineering&Technology,2005.

10gbiz七月活动首月半价$2.36/月: 香港/洛杉矶CN2 GIA VPS

10gbiz怎么样?10gbiz 美国万兆带宽供应商,主打美国直连大带宽,真实硬防。除美国外还提供线路非常优质的香港、日本等数据中心可供选择,全部机房均支持增加独立硬防。洛杉矶特色线路去程三网直连(电信、联通、移动)回程CN2 GIA优化,全天低延迟。中国大陆访问质量优秀,最多可增加至600G硬防。香港七星级网络,去程回程均为电信CN2 GIA+联通+移动,大陆访问相较其他香港GIA线路平均速度更...

RackNerd:便宜vps补货/1核/768M内存/12G SSD/2T流量/1G带宽,可选机房圣何塞/芝加哥/达拉斯/亚特拉大/荷兰/$9.49/年

RackNerd今天补货了3款便宜vps,最便宜的仅$9.49/年, 硬盘是SSD RAID-10 Storage,共享G口带宽,最低配给的流量也有2T,注意,这3款补货的便宜vps是intel平台。官方网站便宜VPS套餐机型均为KVM虚拟,SolusVM Control Panel ,硬盘是SSD RAID-10 Storage,共享G口带宽,大流量。CPU:1核心内存:768 MB硬盘:12 ...

hostyun评测香港原生IPVPS

hostyun新上了香港cloudie机房的香港原生IP的VPS,写的是默认接入200Mbps带宽(共享),基于KVM虚拟,纯SSD RAID10,三网直连,混合超售的CN2网络,商家对VPS的I/O有大致100MB/S的限制。由于是原生香港IP,所以这个VPS还是有一定的看头的,这里给大家弄个测评,数据仅供参考!9折优惠码:hostyun,循环优惠内存CPUSSD流量带宽价格购买1G1核10G3...

nokia最新手机为你推荐
如何免费开通黄钻如何免费开通黄钻??手机区号打电话怎么加区号?硬盘人什么叫“软盘人”和“硬盘人”?ejb开发什么是EJB?它是干什么的?和JAVA,JSP有关系吗?他们各有什么特点和用途?linux虚拟机怎么样在Linux下安装虚拟机网页打开很慢如何解决网速正常 网页打开很慢问题blogcnblogcn网页无法正常显示,直接跳转http://www.7t7t.com/7?blogcnblogcn的博客可以搬家到哪些网站?cisco防火墙思科路由器上自带防火墙功能吗?263企业邮箱设置ipad mini2怎么设置263企业邮箱
shopex虚拟主机 怎样注册域名 上海服务器租用 cn域名个人注册 virpus 老鹰主机 韩国俄罗斯 美国主机推荐 免费主机 sub-process 国外空间 个人空间申请 777te 免费个人空间 lol台服官网 太原联通测速 lick photobucket 贵阳电信 杭州电信宽带 更多