• No se han encontrado resultados

Optimal configuration of a resource-on-demand 802.11 WLAN with non-zero start-up times

N/A
N/A
Protected

Academic year: 2023

Share "Optimal configuration of a resource-on-demand 802.11 WLAN with non-zero start-up times"

Copied!
10
0
0

Texto completo

(1)

ContentslistsavailableatScienceDirect

Computer Communications

journalhomepage:www.elsevier.com/locate/comcom

Optimal configuration of a resource-on-demand 802.11 WLAN with non-zero start-up times R

Jorge Ortín

a

, Pablo Serrano

b

, Carlos Donato

b,c,

a Centro Universitario de la Defensa Zaragoza, Zaragoza, Spain

b Departamento de Ingeniería Telemática, Universidad Carlos III de Madrid, Leganés, Spain

c IMDEA Networks Institute, Leganés, Spain

a rt i c l e i n f o

Article history:

Received 28 August 2015 Revised 18 April 2016 Accepted 26 April 2016 Available online xxx Keywords:

WLAN 802.11

Resource on demand Energy consumption Infrastructure on demand

a b s t r a c t

ResourceonDemand in802.11WirelessLANs is receiving anincreasing attention,with itsfeasibility alreadyprovedinpracticeandsomeinitialanalyticalmodelsavailable.However,whilethesemodelshave assumedthataccesspoints(APs)startupinzerotime,experimentationhasshowedthatthisishardly thecase.Inthiswork,weprovideanewmodeltoaccountforthistimeinthesimplecaseofaWLAN formedbytwoAPswherethesecondAPisswitchedon/off dynamicallytoadapttothetrafficloadand reducetheoverallpowerconsumption,andshowthatitsignificantlyalterstheresultswhencomparedto thezerostart-uptimecase,bothqualitativelyand quantitatively.Ourfindingsshowthathavinganon- zero startuptimemodifies significantlythetrade-offs betweenpower consumption and performance thatappearsonResourceonDemandsolutions.Finally,weproposeanalgorithmtooptimizetheenergy consumptionofthenetworkwhileguaranteeingagivenperformancebound.

© 2016PublishedbyElsevierB.V.

1. Introduction

One of the most effective techniques to cope withthe grow- ing traffic demand in wireless networks is to deploy more ac- cess points (APs),thus reducing the per-cellcoverage and facili- tatingspectrumre-use.Thistechnique,though,challengesenergy- efficientoperation,asadeploymentplannedforahightrafficload resultsinahugewastageofenergyatalow loadifall theinfras- tructureiskeptpoweredon.

To achieve energy efficient operation in very dense scenar- ios, thenetwork has to implementa Resource-on-Demand (RoD) schemebywhichAPsareactivatedasthedemandgrowsandde- activated as it shrinks. Given that, in general, mobile networks are carefullyplanned, ownedby asingle operator,andconsist of equipmentwithveryhighenergydemands (and,correspondingly, highenergybills),itcomestonosurprisethatmostoftheresearch sofarinRoDhasfocusonthecaseofcellularnetworks[2,3].For the caseofWireless LAN(WLAN), though,fewer works havead- dressedtheproblemofRoD[4–6].

R This paper is an extended version of our paper [1] , which was presented at the Fourth IFIP Conference on Sustainable Internet and ICT for Sustainability.

Corresponding author at: Avenida de la Universidad 30, Edif. Torres Quevedo, 28911 Leganés, Madrid, Spain.

E-mail address: [email protected] (C. Donato).

Veryrecently,twosurveyshaveaddressedtheimpactofsleep- mode techniques [7]and the impact of on-demand activation of resources [8]on theenergyefficiency ofwireless networks. Both surveys agree that the partial or full deactivation of base sta- tions/APswithlowtraffic isakeyenablerforenergyefficiency.In thisregard,twoofthemainconclusionsin[7],whosefocusiscel- lularnetworks,are:(i)dynamicapproachesoutperformstaticsolu- tions;and(ii)thereisawidespreaduseofover-simplifiedmodels, andfurther research analyzing theimpact of parameters such as thetimerequiredtoswitchon/off basestationsisneeded.

The review of on-demand approaches [8] considers both WLANs and cellular networks. In this survey, more than fifty strategies are classified according to the type of network (cel- lular, WLAN), performance metric (user demand, coverage, QoS, energyefficiency), type of algorithm (online fast reaction, online slowreaction,offline)andcontrolscheme(centralized,distributed, pseudo-distributed,cooperative).Inthiswork,itisalsohighlighted that the delay to switch on/off equipment should be considered whenimplementingthealgorithmsinrealenvironments.

Amongthe workscitedin[8],inthe seminalwork of[4],au- thorsdemonstratethefeasibilityandpotential savingsofRoD for 802.11WLANswith“Survey,Evaluate, Adapt, andRepeat” (SEAR), aRoD framework basedon heuristicsthatopportunistically pow- erson and off APs while maintaining coverage and user perfor- mance.Incontrasttothisexperimental-drivenapproach,in[5]au- thorspresent the first analytical model forRoD, focusing on the http://dx.doi.org/10.1016/j.comcom.2016.04.022

0140-3664/© 2016 Published by Elsevier B.V.

Please cite thisarticle as:J.Ortín etal., Optimal configurationof a resource-on-demand802.11 WLAN withnon-zero start-up times,

(2)

Table 1

Time required to switch from the ON state to the OFF state (and vice-versa) in a Linksys WRT54GL.

From (Power) To (Power) Time OFF (0 W) ON (2 .7 W) 45 s ON (2 .7 W) OFF (0 W) 3 s

caseof“clusters” ofAPs(i.e.,deviceswithoverlappingcoveragear- eas)andanalyzingtheimpactofthestrategyusedto (de)activate APsonparameters suchastheenergysavings andtheswitch-off rateofthedevices.In[6],authorsextendtheworkof[5]toana- lyzethecasewhen APsdonot completelyoverlaptheir coverage areas,tounderstandthetrade-offswhene.g.(re)associatingclients fromoneAPtoanotherAPinordertopowerdowntheformer.

Inboth analyticalworks[5,6],aswellasinarecentfollow-up analysis[9],amongothersimplifyingassumptions,authorsneglect thetimerequiredtopoweronanAP.Thisassumptionisalsomade in[10],wheretheimpactoftheAPpowermodelontheenergyef- ficiencyofaWLANisanalyzed.However, in[4]itisreportedthat typicalstart-uptimesrangebetween12and35s.Toconfirmthese results,weperformanexperimentalcharacterizationofthepower consumedbyaLinksysWRT54GLrouterrunningOpenWRT10.03.1, whichisavery popularwireless routerthat hasbeenwidelyde- ployed,followingthe methodology wedescribedin [11] andalso measuringthe averagetime requiredtopower iton (i.e.,thede- vicestartsbroadcastingtheSSID)andtopoweritoff (i.e.,noSSID isbroadcasted).Wenotethat,forthisexperiment,thereisnotraf- fic being transmitted or received in the ON state, which signifi- cantlyimpacts the energyconsumed asreportedin [11]. The re- sultsareprovided inTable 1.As ourresultsconfirm, thesetimes arefarfromnegligible,inparticularwhencomparedagainstinter- arrivalsand/or servicetimes.Inthisworkwerevisit thisassump- tionandassessitsimpactonperformance.

Morespecifically,inthisworkweaddresstheproblemofmod- elingthe time required to start-up an AP ina RoD scenario.We considerthecaseofanetworkwithtwooverlappingAPsandshow that,even in thissimplescenario, considering the start-up times altersbothqualitativelyandquantitativelytheresults,ascompared tothecaseof“immediate” boottimes.Ouranalysisisvalidatedby extensiveevent-drivensimulations, which confirm the validity of themodelforavarietyofscenarios.

2. Systemmodel

Oursystemisasimplifiedversionoftheclustermodelanalyzed in[5],consistingoftwoidenticalAPsserving thesamearea.One of the APs is always on, in order to maintain the WLAN cover- age,while the other AP is opportunistically powered on (off) as usersarrive(leave)thesystem.However, incontrasttothemodel in[5],poweringonthesecond APtakesTon unitsoftime;during thistime,thesecond APisnotavailable andarrivingrequestsare servedbythefirstAP.EachAPconsumesPAP unitsofpowerwhen active (i.e., during start-up and when powered on) and 0 other- wise.Althoughcommodityhardwarecan supportanintermediate state(i.e.,switchingon/off the wireless card),thisdoesnotbring asmuchsavingsaspoweringon/off thecompletedevice[11].

Inourmodel,a“user” isanewconnectiongeneratedbyawire- lessclient.Following[12],thesearegeneratedaccordingtoaPois- son process at rate

λ

and are always served by the lessloaded

AP.TheAPbandwidthisevenlysharedamongalltheusers,which demand an exponentially distributed amount of work. We argue that although in real systems these amounts of work may devi- ate from the exponential distribution, this assumption serves to illustratethe impact of boot-up timeson performance. Based on

theseassumptions,servicetimesarealsoexponentiallydistributed, withthe departure rate being

μ

when there is only one serving

APand2

μ

whenbothAPsareserving,i.e.,weneglecttheimpact

of channel sharing. We assume a load-balancing algorithm such thatusers(re)associatewhiletheyare beingserved,andthatthis (re)association time is negligible –note that thiscan be achieved with the recent 802.11 v and 802.11 r amendments [13], which supporttriggering re-associations andperforming fasttransitions, respectively, with minor disruption of the service. Following our previousmeasurements, wewillalsoneglectthetimerequiredto poweroff anAP.

We set the maximum number of users per APto K. This as- sumptiononthe“hardcapacity” onthenumberofusers,alsoused in [5], emulates the provisioning ofa minimumbandwidth (e.g., QoS)orthefinitesizeoftheaddresspool.Basedonthis,themax- imumnumberof usersallowed intothe networkis2K;however, despite thereshould be atmostK usersper APwhen thismaxi- mum isreached, weallow up to2K usersintothe firstAPwhile thesecondoneisbeingpoweredon,asuserswillre-associateonce itbecomesavailable.

In orderto power on andoff the second AP, we assume that there is a threshold-based policy with hysteresis: the second AP is powered onwhen there are Nh usersassociated withthe first APandanotheruserarrives,anditispoweredoff whenthereare Nl+1users inthesystemandone ofthem leaves.Therefore,the poweron-off processhasahysteresisofsizeNh− Nl.Weillustrate inFig.1anexampleoftheprocessofswitchingon/off APsforthe caseofNh=5andNl=3. Asthefigure shows,when thereare5 usersinthe WLANonlyone APispoweredon,butwhena sixth userarrivesthesecondAPstartstobootup(althoughitmaytake some time beforeit canserve users).Then, atsome point auser leaves,butbothAPs arekepton,andevenwithfourusersnoAP isdeactivated. Onlywhen thelimit Nl=3isreached, the second APisswitched off andonly oneAPremains active. Thisexample correspondstoahysteresisofNh− Nl=2.

Wecharacterizetheperformanceofthesystemwiththefollow- ingfigures:

• TheaveragepowerconsumedbytheinfrastructureP.

• TheaveragetimespentinthesystembyauserTs.

• Theprobability thata userisnot allowedinto thesystembe- causeofreaching thehard limit of2K users, i.e., theblocking probabilitypB.

• TherateatwhichthesecondAPispoweredon/off

ω

,whichis

anotherkeyvariable ofinterestasitcan affectthelifetimeof theequipment.

The focus of the work is first to model the impact of Ton on thesevariables,thentounderstandthedifferenttrade-offsinper- formance,andfinallytoderivetheoptimalconfigurationofanRoD schemebasedonanoptimizationcriterion.

3. Performanceanalysis

We modelour systemwith theregenerative process [14] illus- tratedinFig.2.Thisregenerativeprocessisformedbythreestages, whichdependonthestatusofthesecondAP:

• StageA,inwhichthesecondAPisinactive.

• Stage B, in which it is being powered on but cannot serve clientsyet.

• StageC,inwhichbothAPsareactiveandservingusers.

Followingthedescriptionofthesystemmodel,therearethree transitions:

• The transition AB, which is produced when there are Nh usersassociatedwiththefirstAPandanewuserarrives.

(3)

Fig. 1. Example of the powering on/off process for N h = 5 and N l = 3 .

two APs

A B

C T

on

N

h

+1 N

l

one AP second AP

boong up

Fig. 2. Regenerative process to model the system.

• ThetransitionBC,which istriggeredby thecompletionof theTonunitsoftimerequiredtopoweronthesecondAP.

• ThetransitionCA,whichoccurswhenthereareNl+1users inthesystemandoneofthemleaves.

Wenotethat,incasethereareNlorfeweruserswhenthetran- sitionBChappens(i.e.,anumberofusershigherthanthehys- teresis left whilethe second APwas switchingon), we will con- sider that the systemtraversesstate C witha zerosojourn time, andthentransitionstostateA.

Inthefollowing,we firstdescribehowtocompute theperfor- mance figures of the complete system, based on per-stage vari- ables, andthen presenta modelforthe dynamicsofthe system, basedonaMarkovchainmodelforeachstage.Throughoutthear- ticle, we will refer with“stage” to the three statesof theregen- erativeprocess illustratedinFig.2,andreservethe useof“state”

forthedescriptionoftheMarkovchains.Wenotethatthisanaly- sisofatwo-APscenarioisexactaslongastheassumptionsonthe arrivalanddepartureprocesses,andthe(re)associationtimeshold.

3.1. Computingtheoverallperformancefigures

Theaverageduration Tofacompletecycleoftheregenerative processcanbecomputedas

T=TA+TB+TC, (1)

whereTjistheaveragesojourntimeofstagej.

Notethat,inourscenario,wehavebydefinitionthatTB=Ton, whilethecomputationofTA andTC willbe performedinthefol- lowingsubsection.

BasedontheTj,theaveragepowerconsumedbythenetworkis

P=PAPTA+2PAP

(

TB+TC

)

T . (2)

Tocompute the other performance figures, we needto obtain theexpectedamountoftime thatthereare iusers inthe system duringthedurationofacycle,Ti.Similarlyto(1),thisvaluecanbe expressedas

Ti=TiA+TiB+TiC, (3)

whereTij is theaverageamount oftime thatthere arei usersin thesystemduringthesojourntime ofstagej.Withthe valuesof Ti andT,theprobability pi thatthereare iusers inthesystemis

givenby pi=Ti

T =TiA+TiB+TiC

TA+TB+TC. (4)

Basedonthe pi,theblockingprobabilityisequal totheproba- bilitythatthereare2Kusersinthesystem,i.e.

pB=p2K, (5)

whiletheaveragetimespentbyauserinthesystemTsisgivenby Little’sformula

Ts= Nt

λ (

1− pB

)

, (6)

whereNt corresponds totheaveragenumberofusers inthesys- tem,whichiscomputedas

Nt=

2K



i=0

ipi. (7)

Finally,thederivationofthedeactivationrateofthesecondAP

ω

isalmostimmediate,giventhatitcorrespondstotheinverseof acompletepoweron–poweroff cycle,i.e.,theaveragedurationof acycleoftheregenerativeprocess.Therefore,it canbecomputed as

ω

=TA+T1B+TC. (8)

Withtheabove,wecancomputetheperformancefiguresofthe systemwith (2),(5),(6), and(8), giventhe times Tij and Tj. We next describe how to compute these times by modeling the dy- namicsofeachstageoftheregenerativeprocess.

3.2.Modelingeachstageoftheregenerativeprocess

The three stages of the regenerative process can be modeled withthree differentContinuous-Time MarkovChains (CTMCs),il- lustratedinFig.3.Inall thechains,thestate modelsthenumber ofusersbeingservedbythesystem,eachchainhavingadifferent numberofstates:

• CTMCA models the systemwhen only one AP is powered on, and thereforeits numberof statesranges from0(empty sys- tem)toNh+1(thesystemtransitionstothenextstage).

• CTMCBmodelsthesystemduringtheTonunitsoftimeittakes forthesecondAPtopower,andthereforeitcanservebetween 0andthemaximumnumberofusers2K.

• CTMCCmodelsthesystemwhenthetwoAPsareservingusers, andthereforerangesbetweenNland2K(thesystemtransitions tostageA).

WenextanalyzeeachoftheseCTMCsseparately,startingwith CTMCB (theonewiththelargestnumberofstates).

3.2.1. CTMCB

Thiscaseis illustrated inFig.3b, whereusers arriveat arate

λ

andareservedatarate

μ

.Ouraimistocomputetheexpected

(4)

Fig. 3. CTMCs representing the different stages of the regenerative process.

totaltime the CTMC spends in each state duringthe interval [0, Ton). Ifwedefine

π

i(t)astheprobabilitythat aCTMCisinstatei attime t,the expectedtotal timespent inthat statei duringthe interval[0,t)is

Li

(

t

)

=t

0

π

i

(

u

)

du, (9)

andbasedonthis,wecancomputeTiB=LBi(Ton),whichisrequired toderivetheperformancefiguresofthesystemasexplainedinthe previoussection.

Tocompute

π

i(t),wemustsolvethedifferentialequation d

π (

t

)

dt =

π (

t

)

Q, (10)

where

π

(t)andQarethevectorofstateprobabilitiesandthegen- eratormatrixoftheCTMCrespectively.

ForCTMCBwehavethat

π

B

(

t

)

=



π

0B

(

t

)

,...,

π

2BK

(

t

) 

and QB=



qi j



,i,j

{

0,...,2K

}

,

withtheelementsofthismatrixbeing

qi j=

⎧ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎩

λ

fori=0and j=0

μ

fori=2K,j=2K

λ

μ

fori=

{

1,...,2K− 1

}

andj=i

λ

fori=

{

0,...,2K− 1

}

andj=i+1

μ

fori=

{

1,...,2K

}

andj=i− 1 0 inanyothercase

(11)

We also need theset ofinitial conditions

π

B(0)to solve (10).

Giventhat stage B startswhen there are Nh users inthe system andanewarrivalhappens,wehavethat

π

iB

(

0

)

=

1 fori=Nh+1 0 inanyothercase

Withthese,wecansolvethesystemspecifiedby(10)andcom- puteTiBwith(9)asexplainedabove.1Notethatwecanalsoobtain

π

B(Ton), whichisrequiredtocomputethesetofinitialconditions

forboththenextstageCandstageA,asexplainednext.

3.2.2. CTMCC

This caseis illustrated in Fig. 3c, withthe departure rate be- ing 2

μ

asbothAPs areserving users.In contrasttothe previous

chain,CTMCC hasanabsorbingstate,namely,Nl.Whenthesystem reaches thisnumber ofusers, the second AP is powered off and thesystemtransitionstostageA.

Asintheprevious case, weneedtocompute theexpectedto- tal time the chain spends in each state during the sojourn time TC. Thesevalues correspond to the timeuntil absorption spent in each ofthenon-absorbingstatesofCTMCC, whichare definedas limtLi(t)forthesetofstates

TN

l+1,...,T2K

.Thetimesbefore absorptioncanbecomputedas[15]

LC

(

)

QC=

π

C

(

0

)

, (12)

where LC

(

t

)

=



LCNl+1

(

t

)

,...,LC2K

(

t

) 

,

π

C

(

t

)

=



π

NCl+1

(

t

)

,...,

π

2CK

(

t

) 

, and

QC=



qi j



,i,j

{

Nl+1,...,2K

}

,

with

qi j=

⎧ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎩

−2

μ

fori=2K,j=2K

λ

− 2

μ

fori=

{

Nl+1,...,2K− 1

}

andj=i

λ

fori=

{

Nl+1,...,2K− 1

}

andj=i+1

2

μ

fori=

{

Nl+2,...,2K

}

andj=i− 1 0 inanyothercase

(13)

Theinitialconditions

π

C(0)aredetermined bythedistribution ofthestateprobabilitiesattheendofstageB,i.e.,

π

iB(Ton):ifthere arelessthanNl+1usersinthesystem,thesecondAPisimmedi- atelypoweredoff andthesystemtransitionstostageA;otherwise, thenumberofusersattheendofstageBcorrespondstothenum- berofusersatthebeginningofstageC.

Followingtheabove,wehavethat

π

iC

(

0

)

=

π

iB

(

Ton

)

fori=

{

Nl+1,...,2K

}

0 inanyothercase

Therefore,the systemwill spendzerosojourn time atstage C withprobability1− 2K

Nl+1

π

iC(0).

Once (12)is solved, the sojourn time ofstage Ccan be com- putedas

TC=

2K



i=Nl+1

LCi

(

)

, (14)

andTiC=LCi()fori=

{

Nl+1,...,2K

}

and0elsewhere.

3.2.3. CTMCA

This case, illustrated in Fig. 3a,is also modeled with a CTMC withanabsorbingstate,namely,Nh+1.Thisstatetriggerstheac- tivation ofthe second AP, whichcorresponds to the transitionto stageB.

1 Instead of solving (10) and then computing (9) , πi ( t ) and L i ( t ) can be efficiently evaluated for a given t = T on value using the uniformization method.

(5)

The times before absorption can be computed also with(12), wherenowwehave

LA

(

t

)

=



LA0

(

t

)

,...,LANh

(

t

) 

,

π

A

(

t

)

=



π

0A

(

t

)

,...,

π

NAh

(

t

) 

, and

QA=



qi j



,i,j

{

0,...,Nh

}

,

with

qi j=

⎧ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎪

⎪ ⎩

λ

fori=0 and j=0

λ

μ

fori=

{

1,...,Nh

}

and j=i

λ

fori=

{

0,...,Nh− 1

}

and j=i+1

μ

fori=

{

1,...,Nh

}

and j=i− 1 0 in anyothercase

(15)

Similarly to the case of CTMCC, the set of initial conditions

π

A(0)isdeterminedbythestatusofthesystemattheendofstage

B: in case there were less than Nl users once the second AP is available,thesystemwilltransitiondirectlytostageA,i.e.

π

iA

(

0

)

=

π

iB

(

Ton

)

,fori=

{

0,...,Nl− 1

}

, (16)

otherwise,the transitiontostage A willhappen throughstate Nl, i.e.

π

iA

(

0

)

=1

Nl−1

j=0

π

jB

(

Ton

)

,fori=Nl (17)

andcorrespondingly

π

iA(0)=0foranyotherstate.

Finally,thesojourntimeofstageAiscomputedas TA=

Nh



i=0

LAi

(

)

, (18)

andTiA=LAi()fori=

{

0,...,Nh

}

and0elsewhere.

4. ImpactofTononperformance

ToanalyzetheimpactofTon ontheperformance,weassumea systeminwhichupto2K=10usersareallowed,afixedvalue of PAP=3.5W,2 and

λ

=0.1arrivals/s and1/

μ

=10s, whichcorre- spondsto an averageloadofapprox.50%.3 Weconsider fourdif- ferentactivationpolicies:

Nl=Nh=4: no hysteresis and the activation threshold lower thanthemaximumnumberofuserperAP(K).

Nl=Nh=5:nohysteresisandtheactivationthresholdsettoK.

Nl=2andNh=4:ahysteresisoftwousersandtheactivation thresholdsettoK− 1.

Nl=2andNh=5:ahysteresisofthreeusersandtheactivation thresholdequaltoK.

When presenting the results, we depict withlines the values fromouranalyticalmodelandwithpointstheresultsofadiscrete eventsimulatorthatiswritten inCandwhoseoperationweval- idatedthoroughly.Eachpointrepresentstheaverageoftensimu- lationruns,andeachrunconsistingonmorethan106userdepar- tures (we do not represent the 95%-confidence intervalsas their relativesizeiswellbelow1%).

2 For simplicity, we assume a constant power consumption figure throughout all scenarios. Following our previous work of [11] , the consumption of a Linksys AP ranges between approx. 2.7 W when there is no activity and 4.4 W when the ac- tivity is maximum. The average of these figures results approx. 3.5 W, which is the value used.

3 These service times can emulate a scenario where a user downloads e.g. 20 MB using 802.11g, assuming an effective throughput of approximately 15 Mbps.

22 24 26 28 30 32 34 36 38 40

0 5 10 15 20 25 30 35 40

Ts(s)

Ton (s)

Nh = 5, Nl = 5 Nh = 4, Nl = 4 Nh = 5, Nl = 2 Nh = 4, Nl = 2

Fig. 4. Impact of the activation time T on on the total delay T s .

3.8 4 4.2 4.4 4.6 4.8 5 5.2

0 10 20 30 40 50

Power (W)

Ton (s)

Nh = 5, Nl = 5 Nh = 4, Nl = 4 Nh = 5, Nl = 2 Nh = 4, Nl = 2

Fig. 5. Impact of the activation time T on on the power consumed P .

4.1. TotaldelayTs

Wefirst analyze,forthe fourconsidered policies listed above, theimpactofTon onthetotaldelayTs,withtheresultsshownin Fig.4.Thereareseveralobservationsthat canbe drawnfromthe figure. First,the results from the modelcoincide with the simu- lations values for all considered configurations (we obtained the same accuracy for other configurations of the load, omitted for space reasons), which confirms the validity of our analysis.Sec- ond,theresultsalsoconfirmthatTon hasanon-negligible impact onperformance, as itincreases delayfigures by 25–35% ascom- paredto thecaseof zerostart-up times.Finally,the policy more reluctanttopoweronthesecondAP(i.e.,Nh=5,Nl=5)resultsin thelargestdelaysforall valuesof Ton, whilethepolicy moreea- gertopoweronthe secondAP(i.e.,Nh=4,Nl=2) resultsinthe smallestdelayvalues.

4.2.PowerconsumedP

WenextanalyzetheimpactofTononthetotalpowerconsumed bythenetworkwiththefourconsideredpolicies,withtheresults showninFig.5.First,asinthepreviouscase,itisclearthatTonhas significant impacton theperformance w.r.t. thisvariableaswell, asit increases power consumption by up to 20%. In addition to theabove,whichconfirmsthequantitativeimpactofTononperfor- mance,wenotethatnon-zerostart-uptimesintroducequalitatively different results. For instance, when Ton=0, the less consuming schemeisNh=5,Nl=5(whichisinlinewithintuition,giventhat

(6)

0 0.005 0.01 0.015 0.02 0.025

0 5 10 15 20 25 30 35 40

pB

Ton(s) Nh = 5, Nl = 5

Nh = 4, Nl = 4 Nh = 5, Nl = 2 Nh = 4, Nl = 2

Fig. 6. Impact of the activation time T on on the blocking probability p B .

thesystemspends mostofthetime instage A andtherefore the termPAPTA prevailsin(2));however,whenTon>5s,thelesscon- sumingpolicybecomesNh=5,Nl=2.Wealsonotethatthepolicy thatresultedinthesmallestdelays(Nh=4,Nl=2)hasthelargest powerconsumptiononlyforTon<5s.Morespecifically,thereisa trade-off betweendelayperformance andpowerconsumption for Ton ≈ 0, i.e., lessconsumingstrategieslead to thelargest delays;

however,when Ton > 5 s, this trade-off disappears partially un- dersome configurations (we willfurther explorethese trade-offs inthenextsection).Inthisway,a strategydesignedtominimize thepowerconsumptionforTon=0canbe outperformedbyother policieswhenTon>0(indeed,forTon≥ 20sitisoutperformedby twostrategies).

4.3.BlockingprobabilitypB

Concerningthe resultsontheprobability pB that auserisnot allowed into the system, because the maximum capacity2K has beenreached, they are presented in Fig. 6. The observed behav- ior inthis caseis expected, given the results on Ts presented in Fig.4andtherelationshipbetweenTsandpBgivenin(6),withthe relativeorder ofthe different activation policiesbeing thesame:

thehigher the delays(because the second AP ispowered off for relativelylongerperiodsoftime),thehighertheprobabilitythata usercannotbeadmittedintothesystem.

4.4.Activationrate

ω

Finally,we analyzetheimpactofTon ontherateatwhich the secondAP ispowered onandoff

ω

,withthe resultsbeingillus-

tratedinFig.7.Asexpected,theresultsshowthat,ingeneral, the longer ittakes the AP to boot(and consequently, the longer the systemremains instage B),the lower theactivation ratewillbe, asexpressedin(8).Thefigurealsoshowsthatthosepolicieswith morehysteresis(i.e.,Nl=2) obtainlower activation ratesandre- sultlesssensitive toTon,the reasonbeingthat the hysteresis in- creasestheaveragesojourntimesofstagesAandC,thusdecreas- ingtheinfluenceofthetermTBin(8).Finally,givenaspecifichys- teresis,thepoliciesmorereluctanttopoweronthesecondAPalso obtainloweractivationsrates,sincetheconditiontoswitchonthe secondAP(i.e.,reachingNh users)ishardertosatisfy.

5. Onthetrade-offsinaRoDscheme

Buildingonthepreviousresults,inthissectionweanalyzethe differenttrade-offsthatappearinanetworkthatimplementsare- sourceondemandscheme.Morespecifically,inthe previoussec-

0 0.2 0.4 0.6 0.8 1 1.2

0 10 20 30 40 50 60

(cycles/min)

Ton (s)

Nh = 5, Nl = 5 Nh = 4, Nl = 4 Nh = 5, Nl = 2 Nh = 4, Nl = 2

Fig. 7. Impact of the activation time T on on the activation rate ω.

tionwehaveseenthat,dependingontheNhandNlconfiguration, andthevalue ofTon,the performanceintermsofTs,P,pB and

ω

changesboth qualitativelyandqualitatively. Now wewantto fur- therexplorethesechanges,consideringalsodifferentvaluesofthe systemload

ρ

.

Throughoutthissectionwewillfocusourfindingsonthemost illustrativetrade-offs,namely:

1. Totaldelay(Ts)vs.powerconsumption(P).Thistrade-off serves torepresentthecostintermsofpowerconsumptionforagiven gainintermsofperformance,e.g.,howmanywattscostagiven reductioninseconds.

2. Power consumption (P) vs. activation rate (

ω

). This trade-off

illustrates that the resource consumption hastwo dimensions that must be carefully considered when configuring the RoD scheme,sincea decreaseofthe powerconsumption maylead toan undesirableincrease oftheactivation rateofthesecond AP.4

5.1. ImpactofTon

We startour analysiswiththeimpact ofTon onthe twocon- sideredtrade-offs. To thisaim, we build on the results fromthe previous section (i.e.,

ρ

=1/2), anddepict theminFigs. 8and9, whereeachpointcorrespondstoapairofvalues({P,Ts}forFig.8, and{

ω

,P}forFig.9)foradifferentvalueofTon.5

Onthe one hand, Fig.8 illustrates that, asalready showedin the previous section, the longer the value of Ton, the worse the performance of the system both in terms of Ts and P, and that differentNh,Nl configurationsresultindifferentperformance fig- ures, both quantitatively and qualitatively. The figure also shows anothereffectofnon-zeroTon,namely,thattherearesomeconfig- urationsworse than others underall circumstances. Indeed,while forthecaseofTon=0,ifoneconfigurationresultsinalower de- lay thanother it alsoresultsina largerpower consumption,this isnolongertruewhenTon >0.Forinstance,whenTon=60s,the configurationsNh=Nl=5andNh=Nl=4obtainworsefiguresof bothPandTsthantheothertwoconfigurations.

On the other hand, Fig. 9 reveals one “positive” aspect of a longer Ton: given that it takes longer to complete a cycleof the

4 For instance, in our previous experimental works (e.g. [16,17] ) we have expe- rienced faulty behavior from the power sources due to frequent rebooting of the devices. As a high rate of switching on/off an AP may impact its lifetime, we con- sider as “very large” values of ω those in the same order of magnitude as 1/ T on .

5 Given the tight matching between analytical and simulation values, from now we will only represent the values corresponding to the analysis.

(7)

20 25 30 35 40 45

3.5 4 4.5 5 5.5

Ts(s)

Power (W) Nh = 5, Nl = 5

Nh = 4, Nl = 4 Nh = 5, Nl = 2 Nh = 4, Nl = 2

Ton = 0

Ton = 60

Fig. 8. Impact of the activation time T on on the T s vs. P trade-off.

2 3 4 5 6 7 8

0 0.2 0.4 0.6 0.8 1 1.2

Power (W)

(cycles/min) Nh = 5, Nl = 5

Nh = 4, Nl = 4 Nh = 5, Nl = 2 Nh = 4, Nl = 2

Ton = 0 Ton = 60

Fig. 9. Impact of the activation time T on on the P vs. ω trade-off.

regenerativemodel,thepowerconsumptionincreasesbuttheac- tivationratedecreases,whichcould helptoextendthelifetimeof thesecondAP.

5.2. Impactof

ρ

We nextanalyze howthetrade-offs variesfordifferentvalues ofthe networkload

ρ

.Tothisaim,we setTon equal to30s and plot the two considered trade-offs for

ρ

values ranging between

0.05and0.95insteps of0.05,withtheresults beingdepictedin Figs. 10and11.Forthe caseoftheTs vs.P trade-off (Fig.10),we canderivethefollowingmainresults:

• When the load is very low, there is very little difference be- tween the(de)activation policies,asonlyone APison almost allthetime.

• When the load is very high, though, there are non-negligible differences interms of power (approx. 4%) and, in particular, delay (approx. 30%) between the best and worst performing case.Inallcases,thepowerconsumptionisverycloseto7W, hintingthatthesecondAPisonmostofthetime,eitherboot- ing(stageB)oractivated(stageC).Thedifferenceindelayper- formancedependsonthevalueofNl:thesmallerthisvalue,the longer the systemstays in stage C, thus providing users with betterservice.

• LikeforthecaseofTon,seenintheprevioussection,thereare qualitativelyvariationsintheTsvs.Ptrade-off when

ρ

changes,

5 10 15 20 25 30 35 40 45 50

3 3.5 4 4.5 5 5.5 6 6.5 7

Ts(s)

Power (W)

Nh = 5, Nl = 5 Nh = 4, Nl = 4 Nh = 5, Nl = 2 Nh = 4, Nl = 2 = 0.05

= 0.95

Fig. 10. Impact of the load ρon the T s vs. P trade-off.

2 3 4 5 6 7 8

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

Power (W)

(cycles/min)

Nh = 5, Nl = 5 Nh = 4, Nl = 4 Nh = 5, Nl = 2 Nh = 4, Nl = 2 = 0.95

= 0.05

Fig. 11. Impact of the load ρon the P vs. ω trade-off.

asthelinescorrespondingtodifferentNh,Nl configurationsnot onlychangetheirslopebutalsomightcrosseachother.

• Given a Nh value, a configuration withouthysteresis (Nl=Nh) obtains a poorerperformance bothin terms ofTs andP than theconfigurationwithhysteresis(Nl <Nh)forallthevaluesof

ρ

.

WenextanalyzehowthePvs.

ω

trade-off varieswith

ρ

,which

isillustratedinFig.11andshowsavery-differentbehaviorascom- paredwiththecaseofthevariationwithTon.Basedonthefigure, wecanderivethefollowingmainconclusions:

• Again, for small

ρ

values,there are little differencesbetween configurations, withPbeingvery closetothe useofonlyone APand

ω

beingcloseto0.

• As

ρ

increases, performance worsens for both variables, i.e., thereisan increaseofthepowerconsumptionandtheactiva- tionrate,theformeralreadyseeninthepreviousfigure,while thelatterbeingcausedbythecrossingoftheNhthresholddue tothelargerload.

• However, once a certain

ρ

threshold is crossed, power con-

sumption keeps increasing but the activation rate decreases:

thisisbecause,thehighertheload,thelesslikelytheNlthresh- old willbe reached,andthereforethesystemwillincreasethe amountoftimewithbothAPsactive,whichresultsinasmaller

ω

.

• Like inthe previous case, strategieswithout hysteresis obtain worse figuresthanthosewithhysteresis,sincethetotalpower

(8)

18 20 22 24 26 28 30 32 34

3.9 4 4.1 4.2 4.3 4.4

Ts(s)

Power (W)

Nh = 5

Nl = 0 Nl = 5

Nh = 4

Nl = 0 Nl = 4

Fig. 12. Impact of N l on the T s vs. P trade-off, T on = 0 .

3.8 3.9 4 4.1 4.2 4.3 4.4 4.5

0.2 0.4 0.6 0.8 1 1.2

Power (W)

(cycles/min)

Nh = 5

Nl = 5 Nh = 4

Nl = 0

Nl = 0

Nl = 4

Fig. 13. Impact of N l on the P vs. ω trade-off, T on = 0 .

issimilarforbothtypesofRoDschemesbuttheactivationrate ismuchhigherwhennohysteresisisemployed.

5.3.ImpactofNl

Finally,we analyzetheimpact oftheconfigurationoftheRoD onperformance.Tothisaim,wefix

ρ

=1/2andperformasweep onNl fortwovaluesofNh=

{

4,5

}

.Tofurther analyzetheimpact

ofnon-zerostart-up times onperformance, we first considerthe caseofTon=0,andthenthecaseofTon=30s.

ScenarioI:Ton=0. Theresultscorrespondingtothisconfiguration aredepictedinFig.12(Tsvs.P)andFig.13(Pvs.

ω

).Inbothcases,

thetrade-offsaremonotonous:givena Nh configuration,decreas- ingthedelayimpliesincreasingthepowerconsumptionand,sim- ilarly,decreasingthe powerconsumption impliesahigheractiva- tionrate.Additionally,ahigherNh valueresultsinsmaller power consumptionsandactivationrates.

ScenarioII:Ton=30s. Werepresenttheresults correspondingto thisconfigurationinFig.14(Tsvs.P)andFig.15(Pvs.

ω

).Inthis

case, there is no monotonous behavior forany of the trade-offs, whichfurtherconfirmsthequalitativeimpactofhavinganon-zero Ton. More specifically, when there isa notable hysteresis (i.e., Nl

≤ 2), theprevious trade-offs still exist, witha decrease of delay (power)resulting inan increase of power(activation rate).How- ever,when there is no orvery small hysteresis (i.e., Nl closer to

20 25 30 35 40 45

4.4 4.5 4.6 4.7 4.8 4.9 5

Ts(s)

Power (W) Nh = 5

Nl = 0

Nl = 5 Nh = 4

Nl = 0

Nl = 4

Fig. 14. Impact of N l on the T s vs. P trade-off, T on = 30 s.

4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5

0.1 0.2 0.3 0.4 0.5 0.6

Power (W)

(cycles/min) Nh = 5

Nl = 0

Nl = 5 Nh = 4

Nl = 0

Nl = 4

Fig. 15. Impact of N l on the P vs. ω trade-off, T on = 30 s.

Nh),the performanceworsensforboththedelay(power)andthe powerconsumption(activationrate).Additionally,thegraphshows that,ingeneral,givenadelaybound,ahighervalueofNhisprefer- ablesinceitleadstosmallerpowerconsumption.

6. OptimalconfigurationofaRoDscheme

Ourmodelnotonlyservestoanalyzethetrade-offsinaWLAN implementing a RoD scheme,but alsocan be used to derive the optimalconfigurationofits parameters (namely, Nh andNl) fora givenscenario (in termsof

ρ

andTon), aswe illustrate next. We

note that there are many different algorithms and configuration criteriathat could be usedto configurethe WLAN,andtherefore thatourproposalonlyservestoillustrateoneapproach.

6.1. Optimizationalgorithm

Our optimizationcriterion isas follows. Forour 2-AP setting, thebestperformanceintermsofdelayforany

ρ

valueistheone

provided whenboth APsare always active.We denotethis mini- mumaverage delayasTs.Then,we assumethat thenetworkad- ministratoriswillingtotrade-off anincreaseofthisaveragedelay bye.g.

α

%inexchangeforabetterpowerconsumptionbymeans ofaRoD scheme.Tothisaim,wesweep onallpossiblevaluesof Nh andNl,andselectthatconfigurationwiththeminimumpower consumption(denotedasPmin)amongalltheoneswithanaverage

(9)

0 1 2 3 4 5 6

0 0.2 0.4 0.6 0.8 1

Ton = 0 s

N

Nh Nl

0 1 2 3 4 5 6

0 0.2 0.4 0.6 0.8 1

Ton = 30 s

Fig. 16. Optimal configuration of N h and N l vs. ρwith T on = 0 and T on = 30 s.

delaysmallerthan(1+

α

/100)Ts.Wedenotethisconfigurationas

{

Nh,Nl

}

.

We summarize the operation of this scheme in Algorithm 1, whosecomputational complexityisquadraticandrelativelysmall (i.e., it consists of two sweeps over a small number of possible configurations).Wenotethatthesweepincludestheconfiguration withNh=0andNl=−1,i.e.,the caseofthetwo APsalways on, andthereforethealgorithmwillalways provideatleastthiscon- figurationasaresult.

Algorithm1 Centralizedadaptivecontrolalgorithm 1: ComputeTs

2: SetPmin=∞ 3: forNh=0. . .K do

4: forNl=−1...Nh− 1do 5: ComputeTswith(6) 6: ifTs<Ts(1+

α

/100)then

7: ComputePwith(2) 8: ifP<Pmin then

9: PminP

10:

{

Nh,Nl

}

{

Nh,Nl

}

11: endif

12: endif

13: endfor 14: endfor 15: Return:

{

Nh,Nl

}

6.2. Results

Fig. 16 showsthe optimal configuration for Ton=0 (top) and Ton=30s(bottom).Inbothcases,whentheloadislow(

ρ

<0.2), the most efficient strategy is to use large values of Nh (and Nl), since the probability that the system reaches a high number of users is very small and therefore there is no need to power on thesecondAP.Thesevaluesarealmostthesameforboththezero andnon-zerostart-upcase.

Asloadincreases,thevalue ofNh decreases,toensurethatthe total delaydoes not exceed the imposed threshold. Similarly, Nl also decreases toensure that the second APis active forenough time to maintain the total delay below the threshold. We note that herethe configurationbetweenthe zeroandnon-zerocases changes: whenTon is 30s,highervaluesofhysteresis (andlower valuesofNh)arerequiredtokeepthetotaldelaybelowthethresh- old whileminimizing theconsumedpower,whichalsoleadstoa

3 3.5 4 4.5 5 5.5 6 6.5 7

0 0.2 0.4 0.6 0.8 1

Power (W)

Ton = 0 s Ton = 30 s

Fig. 17. Power consumption with { N h , N l} , T on = 0 and T on = 30 s.

loweractivationrateofthesecondAP.Additionally,thevalueofNh isalsolower thanin thezerostart-up case,to prevent situations inwhichtherearemanyusersinthesystemwhilethesecondAP isbeingpoweredon.Incontrast,whenTonis0theoptimalvalues ofbothNhandNl arehigher,thankstothebetterdynamicsofthe system.

Forhigh loads (

ρ

> 0.8),the value ofNh is increased in one unit. This is because Nh and Nl cannot be but natural numbers, andthereforethis“rounding” hasanotableimpactontheresulting configuration.Forourconsidered systemand

α

value, when

ρ

is

above0.8boththeresultingoptimalNh,andNh− 1fulfillthecon- ditiononthedelay(notethat itisarelativecondition),whilethe former results insmaller values of the power consumption (this canbe seeninFig.17,astheincrease inthepowerconsumption changesslightly).

Wenextanalyzethepowerconsumptionoftheoptimalstrate- giesforTon=0andTon=30s,withtheresultsbeingdepictedin Fig.17.We notethat the configurationwithminimumdelaycor- respondstobothAPspoweredon,i.e., a7Wconsumption forall valuesof

ρ

,andthattheoptimalstrategyallowanincreaseofthis

minimumdelayof(atmost)10%inordertominimizepowercon- sumption. For low values of the load (

ρ

< 0.2), performance is identical forthe zero and non-zero Ton cases, as only one AP is poweredon.Whentheloadislarger(

ρ

≥ 0.2),thereisa notable differencebetweenthetwocases,thisbeingcausedbythelower valuesofNh andNl fortheTon=30scase,thatincrease thetime spentbythesysteminstagesBandC.Comparedtotheconfigura- tionwithminimumdelay,thesavingsrangebetweenapprox.10%

(highload)and50%(lowload),whichfurthermotivatestheuseof RoDschemes.

7. Conclusionsandfuturework

Inthisworkwehavepresentedananalyticalmodelforthecase of a simple RoD system, which takes into account the time re- quired to power on an AP. The accuracy of the model has been validatedvia simulations, andresultshaveshowed that,even for the simple scenario considered, the time required to start-up an APhasadramaticimpactonperformance.Indeed,thistimealters both the quantitative and qualitative results as compared to the caseofzerostart-uptime.Wehavealsoobtainedtheoptimalcon- figurationofasimpleRoDschemetakingintoaccountthestart-up time,findingthatthistimemodifiestheoptimalparametersofthe RoD system.As a consequence,we believethat thestart-up time shouldbetakenintoaccountwhendesigninginfrastructureonde- mandpoliciesinreal-lifedeployments.

Referencias

Documento similar

Previous studies have concluded that “it is the responsibility of the government, not the industry, to set the rhythm of this process, and to ensure the existence of

The stability of the colloidal suspensions of soils, associated with colloids of organic matter, is diminished dramatically (increasing the ζ ), to the extent that it decreases

For each set of parameters, we compute the average service time T s and power consumption P using the exact and the simplified analysis, as well as the time required to compute

In this work, we provide a new model to account for this time in the simple case of a WLAN formed by two APs where the second AP is switched on/off dynamically to adapt to the

Similarly to the previous case, to estimate the percentage threshold value given a certain FP rate, let us consider a packet of length N as a sequence of bytes, each with probability

Astrometric and photometric star cata- logues derived from the ESA HIPPARCOS Space Astrometry Mission.

Therefore, considering that the distribution of compact and large H II regions does not seem to depend on the galactocentric radius, that the observed scatter in metallicity is due

teriza por dos factores, que vienen a determinar la especial responsabilidad que incumbe al Tribunal de Justicia en esta materia: de un lado, la inexistencia, en el