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.

FBICDN,0.1元解决伪墙/假墙攻击,超500 Gbps DDos 防御,每天免费流量高达100G,免费高防网站加速服务

最近很多网站都遭受到了伪墙/假墙攻击,导致网站流量大跌,间歇性打不开网站。这是一种新型的攻击方式,攻击者利用GWF规则漏洞,使用国内服务器绑定host的方式来触发GWF的自动过滤机制,造成GWF暂时性屏蔽你的网站和服务器IP(大概15分钟左右),使你的网站在国内无法打开,如果攻击请求不断,那么你的网站就会是一个一直无法正常访问的状态。常规解决办法:1,快速备案后使用国内服务器,2,使用国内免备案服...

Gcorelabs:美国GPU服务器,8路RTX2080Ti;2*Silver-4214/256G内存/1T SSD,1815欧/月

gcorelabs怎么样?gcorelabs是创建于2011年的俄罗斯一家IDC服务商,Gcorelabs提供优质的托管服务和VPS主机服务,Gcorelabs有一支强大的技术队伍,对主机的性能和稳定性要求非常高。Gcorelabs在 2017年收购了SkyparkCDN并提供全球CDN服务,目标是进入全球前五的网络服务商。G-Core Labs总部位于卢森堡,在莫斯科,明斯克和彼尔姆设有办事处。...

1C2G5M轻量服务器48元/年,2C4G8M三年仅198元,COM域名首年1元起

腾讯云双十一活动已于今天正式开启了,多重优惠享不停,首购服务器低至0.4折,比如1C2G5M轻量应用服务器仅48元/年起,2C4G8M也仅70元/年起;个人及企业用户还可以一键领取3500-7000元满减券,用于支付新购、续费、升级等各项账单;企业用户还可以以首年1年的价格注册.COM域名。活动页面:https://cloud.tencent.com/act/double11我们分享的信息仍然以秒...

nokia最新手机为你推荐
阿里云系统阿里云系统怎么样今日热点怎么删除今日热点自动弹出怎么卸载或屏蔽vbscript教程vbs 学习方法以及 vbs 实例 有编程基础怎么点亮qq空间图标怎样点亮qq空间的图标创维云电视功能创维云电视是指什么人人逛街包公免费逛街打一成语idc前线怎么知道我电脑是3兆的宽带?网站地图制作如何制作网站地图sitemap,经验分享网站排名靠前怎么让自己的网站排名靠前火狐flash插件崩溃电脑Flash插件频繁崩溃是怎么回事?
俄罗斯vps 国外vps主机 汉邦高科域名申请 万网域名管理 特价空间 服务器合租 支付宝扫码领红包 爱奇艺会员免费试用 支持外链的相册 免费外链相册 太原联通测速 监控服务器 韩国代理ip 东莞主机托管 贵阳电信测速 lamp怎么读 lamp的音标 注册阿里云邮箱 国外代理服务器 hdchina 更多