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.

CheapWindowsVPS:7个机房可选全场5折,1Gbps不限流量每月4.5美元

CheapWindowsVPS是一家成立于2007年的老牌国外主机商,顾名思义,一个提供便宜的Windows系统VPS主机(同样也支持安装Linux系列的哈)的商家,可选数据中心包括美国洛杉矶、达拉斯、芝加哥、纽约、英国伦敦、法国、新加坡等等,目前商家针对VPS主机推出5折优惠码,优惠后最低4GB内存套餐月付仅4.5美元。下面列出几款VPS主机配置信息。CPU:2cores内存:4GB硬盘:60G...

Hostodo(年付$34.99), 8TB月流量 3个机房可选

Hostodo 算是比较小众的海外主机商,这次九月份开学季有提供促销活动。不过如果我们有熟悉的朋友应该知道,这个服务商家也是比较时间久的,而且商家推进活动比较稳,每个月都有部分活动。目前有提供机房可选斯波坎、拉斯维加斯和迈阿密。从机房的地理位置和实际的速度,中文业务速度应该不是优化直连的,但是有需要海外业务的话一般有人选择。以前一直也持有他们家的年付12美元的机器,后来用不到就取消未续约。第一、开...

Megalayer美国独立服务器新用户首月优惠350元(30M优化不限流量)

Megalayer 商家在开始看到有提供香港服务器、香港站群服务器的时候有介绍过,后来就一直没有怎么关注。但是前几天有看到网友使用到他们家的美国独立服务器问其如何的,但是我没有使用过就不好评论,这不前几天也有介绍到Megalayer美国独立服务器。以及我们也有看到商家有提供美国站群服务器和美国大带宽服务器产品,可选30M不限制流量CN2优化线路,以及100M不限制流量国际带宽线路。新年元旦后,Me...

nokia最新手机为你推荐
文件夹删不掉文件夹删不掉怎么办vista系统重装怎样重装vista系统安卓应用平台哪个手机应用平台的软件比较正版,安全?qq空间装扮qq空间的装扮空间在哪?畅想中国淄博畅想中国消费怎么样idc前线永恒之塔内侧 删档吗 ?freebsd安装FreeBSD怎么安装熊猫直播频道熊猫TV直播平台主播有哪些腾讯免费升级win10腾讯免费升win10安装包在什么位置托管服务器什么情况下公司需要托管服务器呢?
广东虚拟主机 深圳虚拟主机 宿迁服务器租用 美国linux主机 cve-2014-6271 59.99美元 轻量 193邮箱 阿里云浏览器 linux空间 谁的qq空间最好看 银盘服务 双12 移动服务器托管 路由跟踪 上海电信测速 免费ftp 服务器论坛 免费个人主页 金主 更多