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.

江苏云服务器 2H2G 20M 79元/月 大宽带159元/月 高性能挂机宝6元/月 香港CN2 GIA、美国200G防御 CN2 GIA 折后18元/月 御速云

介绍:御速云成立于2021年的国人商家,深圳市御速信息技术有限公司旗下品牌,为您提供安全可靠的弹性计算服务,随着业务需求的变化,您可以实时扩展或缩减计算资源,使用弹性云计算可以极大降低您的软硬件采购成本,简化IT运维工作。主要从事VPS、虚拟主机、CDN等云计算产品业务,适合建站、新手上车的值得选择,拥有华东江苏、华东山东等国内优质云产品;香港三网直连(电信CN2GIA联通移动CN2直连);美国高...

BuyVM($5/月),1Gbps不限流量流媒体VPS主机

BuyVM针对中国客户推出了China Special - STREAM RYZEN VPS主机,带Streaming Optimized IP,帮你解锁多平台流媒体,适用于对于海外流媒体有需求的客户,主机开设在拉斯维加斯机房,AMD Ryzen+NVMe磁盘,支持Linux或者Windows操作系统,IPv4+IPv6,1Gbps不限流量,最低月付5加元起,比美元更低一些,现在汇率1加元=0.7...

香港云服务器最便宜价格是多少钱一个月、一年?

香港云服务器最便宜价格是多少钱一个月/一年?无论香港云服务器推出什么类型的配置和活动,价格都会一直吸引我们,那么就来说说香港最便宜的云服务器类型和香港最低的云服务器价格吧。香港云服务器最便宜最低价的价格是多少?香港云服务器只是服务器中最受欢迎的产品。香港云服务器有多种配置类型,如1核1G、2核2G、2核4G、8到16核32G等。这些配置可以满足大多数用户的需求,无论是电商站、视频还是游戏、小说等。...

nokia最新手机为你推荐
office2016激活密钥如何提取office2016的激活秘钥最新qq空间代码qq空间都是有哪些免费代码!(要全部)依赖注入Spring 的依赖注入是什么意思?手机区号手机号码前怎样填写正确的国内区号?显卡温度多少正常显卡温度多少算正常?iphone越狱后怎么恢复苹果手机越狱后怎么恢复硬盘人500G的硬盘容量是多少啊?怎么点亮qq空间图标QQ空间图标怎么点亮?安装迅雷看看播放器迅雷看看不能播放,说我尚未安装迅雷看看播放器ejb开发什么是EJB?它是干什么的?和JAVA,JSP有关系吗?他们各有什么特点和用途?
免备案虚拟空间 100m网站空间 虚拟主机提供商 krypt 七牛优惠码 香港bgp机房 便宜域名 lighttpd tk域名 权嘉云 dux 傲盾官网 电信主机 吉林铁通 银盘服务 智能dns解析 新加坡空间 闪讯网 重庆联通服务器托管 japanese50m咸熟 更多