userpaessler
paessler 时间:2021-03-26 阅读:(
)
IJCSNSInternationalJournalofComputerScienceandNetworkSecurity,VOL.
7No.
9,September2007103ManuscriptreceivedSeptember5,2007ManuscriptrevisedSeptember20,2007RummageWebServerTuningEvaluationthroughBenchmark(Casestudy:CLICK,andTIMEParameter)HiyamS.
EnsourTheArabAcademyforBankingandFinancialSciences.
Amman,Jordan.
2007.
Dr.
AhmadKayedTheAppliedSciencesUniversity.
Amman,Jordan.
2007.
Abstract-Thisstudyexaminesawebserverperformancetuningbyusingspecialmainparametersinbenchmark,usingrealdataandrealapplicationsinmorethan13differentcases.
Twoadaptiveparameters(CLCIKandTIME)areusedasmeasurementsfortuning.
Awebserverstresstools7benchmark(WSST)isusedasarecognizedapplication.
Someproceduresareprojectedtocomparethefinalresults,thefirstprocessisbasedonfindingthemainfactoroftheparametersaffectingontuning.
Second,avarietyofthevaluesofthebenchmarkparametersarediscussedtohavebetterresultsofthewebserverperformancebyfindingthecorerelationshipamongmainparametersinWSST.
Theparameterscriteriashowtheeffectonwebserverbehaviorundercertainconditionsandenvironments.
Wemonitoritatdifferenttimesandworks.
Contributingdiscusessomeresultssuchas,bottleneck,traffic,andresponsetimewhichrelatedwithcriteria'sandmeasurements.
Keywords:Performance,Webserver,Benchmark,andTuning.
OverviewThispaperpresentstheimportancewebserverperformancetuninginintroductionsectioninfirstsection,andwhyusesbenchmarkasmainsolutionProblemstatementforwebserverisfoundinsection2.
Alltestwebsseverstresstoolsbenchmark(WSST)criteria,thetestenvironment,andmainparameterswillbeshowninsection3.
Observations,scenariosofclickandtimeprocesswillbediscussedinsection4.
Resultsandconclusions,alongwithfuturework.
Willbeaddressedinthelastsection.
1IntroductionTheimportanceofperformancewebserversisquiteclear;therefore,themainpurposeofthisstudyistogainabetterunderstandingofwebserverperformancetuning(WSPtuning).
Webserversdidtaketheperformanceasanintrinsicdesignpremise;thisisacceptableattheearlyadoptionphaseoftheWebserver.
Mostwebserversareusedtoserveasmallgivenloadoverlow-capacitylinks.
Incontrast,nowadays,themainfeaturesofwebserversarestabilizedandcommercialimplementationsarenormal.
Consequently,theimportanceofwebserverperformancetuninghasincreased.
Scalability,reliability,andcontinualityarecrucialelementsinstudyingtheperformancetuning[7,8].
Benchmarksreflecttheperformancebymonitoringtheparametersthatmightaffectthewebserver.
Thisresearchwillstudyawell-knownbenchmarknamedWebServerStressTools7(WSST).
Thefactorstobeusedwillbedefined,andthentheireffectwillbeinvestigatedonawebserverperformanceunderworkloadforacertainapplication.
Thebenchmarkwillbeusedtoevaluatetheperformanceofthewebserverdependingondifferentparameterssuchasusers,delay,time,clicks,ramp,users,URLandrecursivebrowsing.
Software,hardwareandoperatingsystemenvironmentsarefixed.
Weselectonlynaturalfactorsaffectingthewebserverperformance(WSP),whichareCLICK,TIMEandhowtheyarerelatedtoclicktime,clickpersecond,andhitspersecond.
Benchmarkdependsontestingasimulationproceduretorepresentthemodelbehaviorofthewebserverinthetimedomain.
ThesimulatorinbenchmarkrevealsanunpredictedbehavioroftheexaminedWSP.
Thiswouldimplyflexibletechniquesinbenchmarkforperformancetuningevaluation[11,12].
WebServerStressTool(WSST)wasdevelopedbyPaesslerGmbH1[1];itisaconfigurableclient-serverbenchmarkforHTTPserversthatuseworkloadparameters.
Itusesthreeteststomeasuretheserverperformance;namely,HTML,CGI,andAPI.
BysimulatingtheHTTPrequestsgeneratedbymanyusers;i.
e.
;benchmarkcantestWSPundernormalandexcessiveloads[1,4,and5].
Thewebserver(WS)behaviorcanimprovebytuningseveralparameters.
Discoveringthedirectrelationsamongsuchparametersisessentialtodeterminethebestpossiblewebserverbehaviorand,consequently,achieveahighquantitativeperformanceforeachparameterintheWS.
1http://paessler.
netIJCSNSInternationalJournalofComputerScienceandNetworkSecurity,VOL.
7No.
9,September20071042ProblemStatementforWebServerTuningTherearemanywaystotuneawebserver'sperformance.
Theseincludemodeling,analyticalsystem,mathematicalsimulation,andbenchmark.
Benchmarkisusedinthisstudyforanumberofreasons.
Benchmarkgivesusareliable,repeatableandcomparable("standardized")performanceassessment(measurements)ofcompletehardware/softwarewebserverunder(closeto)realisticworkloads[13].
IthasaresponsibilityfortuneWStobestservestaticwebpagesordynamicallycompiledapplicationpages.
Eachwebserverdemandsadifferenthardware,application,andIISperformanceforthetuningoptions.
AnotherconsiderationistheamountoftrafficthatwerealisticallyexpectourWStohandle,particularlyduringthepeakloadperiods.
LoadandtimewillaffecttheWSperformanceandthevaryingbusinesschoices.
Oneshouldbewellacquaintedwithwhattheseloadswillbeandsimulatethemonourserversbeforeputtingthemon-linetoknowhowthewebserverwillperformitsfunction.
Thesearesomereasonswhyitisimportanttorecommendhowtotunethewebserverthroughbenchmark2[15].
2.
1WebServerTuningOneofthedifficultiesintuningthewebserverknowswhattotuneexactlyForthisreason,itisvitaltomonitorthewebservers'behaviorundercertaincriteriaafteradjustingthesettingsofthehardware,software,andwebapplications.
TuningtheWSwillrequireustocarefullymonitorhowchangestoitwillaffecttheperformanceofthewebserver.
First,weshouldknowhowtheserverisfunctioning,andthenwecanmakechangestoimproveperformance.
Changesshouldbemadeonceatatimeandunderanumberofclicks,userswitharollbacktests.
Otherwise,itwillbedifficulttoassesstheimpactofindividualchanges.
Toimprovethewebserverperformancetuning,wewillexamineeverypartoftheWSPparametersofbenchmark.
This,forexample,includestheclicktime,timeforthefirstbyte,timetoconnect,timeforDNS,andtimeforthelocalsocketasmainfactorsthroughthetuningprocess.
2http://microsoft.
com2.
2ProposalSolutionFeedinginformationaboutwebserverhasbeenusedextensivelytosolvemanykindsofWSPproblems.
OneofthefundamentalproprietiesmakingtheseWSPusefulisbenchmarkfortuning.
Inthiswork,weusetwodifferenttypesofwebserverbenchmarkparameters.
Inpreviousstudies,weexaminedallfactorsplayingthemostconspicuouseffectonthebehaviorofthewebserver[15].
Here,however,itisrecommendedtouse(CLICK,TIME)asmainparameterstoguideusinstudyingthewebserver'sbehaviortodealwiththetuningconcept.
2.
3WebServerStressBenchmark(WSST)Performancetestswereusedtoexamineeachpartofthewebserverorthewebapplicationtodiscoverhowtooptimizethemforboostingthewebtraffic(e.
g.
undernumbersofclicks).
WSSTsupportstypesoftestsandiscapableofrunningseveral(e.
g.
20-100)simultaneousrequestsononeURLandrecordtheaveragetimetoprocessthoserequests.
2.
4WhyuseWSSTinourExperimentMostwebsitesandwebapplicationsrunsmoothlyandappropriatelyaslongasonlyoneuserorafewusersarevisitingatthegiventime.
WhathappenswhenthousandsofusersaccessthewebsiteorwebapplicationatthesametimeWhathappenstothewebserverinthiscaseByusingtheWSST,wecansimulatevariousloadpatternsforourwebserver,whichwillhelpusspotproblemsinourwebserverset-up.
Withsteadilyrisingloads(alsocalled"ramptests"),wecanfindouthowmuchloadtheservercanhandlebeforeseriousproblemsarise[1].
TheWSSTcanbeusedforvarioustests[1]:PerformanceTests(PT),LoadTests(LT),StressTests(ST),andRampTests(RT)wherePTareusedtotesteachpartofthewebserverorthewebapplicationtodiscoverhowtobestoptimizethemforhigherwebtraffic.
LTareperformedbytestingthewebsiteusingthebestestimateofthetrafficwebsiteneedstosupport.
Considerthisisa"realworldtest"ofthewebsite.
STconstitutedsimulated"bruteforce"attacksthatapplyexcessiveloadtowebserver.
RTisasetofvariationsofthestresstestsinwhichthenumberofusersraiseduringthetestprocessesfromasingleusertohundredsofusers.
OurtestsneedonlyPT,LT,andST.
IJCSNSInternationalJournalofComputerScienceandNetworkSecurity,VOL.
7No.
9,September20071053TheMainParametersoftheExperimentWehaveadoptedmanytestsusedinliterature[1,2,3,5,and12].
Theyusesometimesalltheparametersatthesametimewithoutbeingspecificandseparate,weindividualtheparametersinourcasejusttotuningourWS.
TheparametersthataretobetakenintoconsiderationinWSSTare:users,clicks,time,delay,ramp,URL,andrecursivebrowsing,thisstudywillfocusonCLICKandTIMEonlywhichhelpstogetaholisticviewofwebsite/webserver/applicationperformance.
WhereCLICKSrepresentfinishtimewheneachuserhasinitiatedagivennumberofclicks.
TIMErepresenttheteststhatrunforaspecifiednumberofminutese.
g.
keepaserverunderfullloadfor15hours.
[1,5]3.
1WSSTParametersExperimentalTestThisBenchmarkingtoolsimulateswebclients,servers,andalargenumberofclient/servertostresswebserver.
Theconfigurationparameterswerefixedinthetestsrunare[1]:Hardwareconfiguration,loadgeneratorsnumberandtype,numberoftherepeating,timeduration,thedelayofclick,runtestwithnumberofclicksperuser,runtestinnumberofminutes,andURLname.
Inourworkwehavesomeconstantsintestsexperimentalasfollows:thenumberofuserare10,weadapt10usersasanormalcase,butbeforewemonitoringthebehaviorsofWSunderworkloadwecheckitunder5,10,and100users,sotheperfectexamplehereisthetestunder10user.
100clickspereveryuseristhebestexampleinourtestthatcomesafterstudyingthenumberofclickperuser.
Werepeatthetests13timesunderdifferentnumbersofclicksandtimeswithchangingtheheterogeneousworkloadthatdoneunder5secondsasconstantofclickdelayinrandomclickdelay,weadapting20MGforeachworkspace.
TheconstantrequirementinWSSTexperimentaltestconfigurationparameterswhichhavefivevariableswithitsvaluesandspecialcommentsinconsecutive:CLICKRunttestfrom5to120clicksperuser,thisistheamountofclickfromthebeginningtotheendoftheWSSTtest.
TIMERuntestfrom5to120perminute,thisistheamountoftimefromthebeginningtotheendofthewebstresstoolstest.
DELAYwith5seconds,howlongatestWSistowaitbeforestartingthetest.
WORKSPACEwith20MB,Thesizeofdata'sfilesusedbyatestWS,eachofdatahasitsownworkspace.
NUMBEROFUSER:with5,10,50,and100.
3.
2TestEnvironmentOurtestsenvironmentspecificationsarefixedeitherinsoftwareorinhardwareasfollows:(CPU,mainMemory,andRAM),ServerSoftware(HTTP),ServerOperatingSystem(windows2000,windowsXP,apacheforwebserver),NetworkSpeedeitherin(Gig,Meg),andthekindofworkload(static,dynamic).
Morespecifically,a64MBofRAMineachclient,a100Base-TXnetworkadapterineachclient,a500MBdiskminimumineachclient,afull-duplex,andswitchednetwork,inServerConfigurationneedCPU:500MHzPentiumIII,RAM:256MB,andNetwork:2x100Base-TX.
[1,2,and7].
3.
3TestWSSTCriteriaAnychanginginclickandtimeparametersinWSSTwillbydefaultmakechanginginsomecriterialikeprotocoltimeforallclicktimes,timeforfirstbyte,timetoconnect,timeforDNS,andtimeforlocal.
Wheretheclicktimerepresentsasimulateduser'smouseclickthatsendsarequest(oneoftheURLsfromtheURLlist)totheserverandimmediatelyrequestinganynecessaryredirects,framesandimages(ifenabled).
Theclicktimeiscalculatedasthetimebetweenwhentheuserclickedandwhentheserverdeliveredtherequestedresourceswithallreferenceditems(imagesetc.
).
AverageClickTimes:showtheaveragevaluesperURL,peruserorperwebsite,TimeforDNStalkedabouttheTimetoresolveaURL'sdomainnameusingtheclientsystem'scurrentDNSserver,alsotheTimetoconnectshowTimetosetupaconnectiontotheserver.
AndthelastcriteriarepresentthetimebetweeninitiatingarequestandreceivingthefirstbyteofdatafromtheserverthatisaTimetofirstbyte(TFB).
3.
4ObservationsThissectiondeterminesbrieflytheWSSTtestscenariosofourexperimentalresearch,whicharebasedonobservationsthataremadeduringthetestingprocess.
3.
4.
1ScenariosofResearchOurprocessesconsistoftwodistinctphases;scenariosdependingontheCLICKparameter,andscenariosdependingontheTIMEparameter.
IJCSNSInternationalJournalofComputerScienceandNetworkSecurity,VOL.
7No.
9,September2007106ProtocolTimesforallURLsUserSimulation:10simultaneoususers-5secondsbetweenclicks(Random)TestType:CLICKS(runtestuntil10clicksperuser)ClickTimeTimetoFirstByteTimetoConnectTimeforDNSTimeforlocalsocketTimeSinceStartofTest[s]20191817161514131211109876543210Time[ms]1701601501401301201101009080706050403020100Figure1.
110clicksperuserinCLICKparameter3.
4.
2CLICKParameterScenario.
Theworkloadofthewebserverispresentedin13stagesrangingfrom5to120clickspersecond.
However,hereweshowtheresultsonlyingraphsthatrepresentcurveactionsinourresearch.
Wewillgiveasampleexampleinthecaseof100clicksperuser.
Thedetailsofresultswillbestatedintheconclusions.
Itisnecessarytoshowgraphsandfinalresultsof10,50,and100clickstovalidatetheargument.
ProtocolTimesforallURLsUserSimulation:10simultaneoususers-5secondsbetweenclicks(Random)TestType:CLICKS(runtestuntil50clicksperuser)ClickTimeTimetoFirstByteTimetoConnectTimeforDNSTimeforlocalsocketTimeSinceStartofTest[s]1101009080706050403020100Time[ms]1401301201101009080706050403020100Figure1.
2(50clicksperuserinCLICKparameter)Figure1describesthecases(10,50,100)intheclickparameter:10clicks:timetofirstbyte,timetoconnect,timeforDNS,andtimeforsocketarerisingslightlybetween0and20ms,buttheclicktimesrisesharplyandthenplummetbetween0and120ms.
50clicks:clicktimesreachthepeakin140msbuttheothercriteriareachaplatedbehaviorwithtimesincethestartoftest(s)between0and150s.
100clicks:clicktimeschangegentlyandrelativelyandtheothercriteriaremainunchangedbutover250mssincestartofthetest.
Wehaveaconspicuouschangecomparedwiththe50clicksintheclickparameter.
Itwasnoticedthattheincreasingnumberofuserswiththehugevolumeofclicksaddstotheworkloadofthewebserver.
Thisdrawsastrongcorrelationbetweentheclickanditscriteria,whicharetheclicktime,timetofirstbyte,timetoconnect,timeforDNS,andtimeforsocket.
ProtocolTimesforallURLsUserSimulation:10simultaneoususers-5secondsbetweenclicks(Random)TestType:CLICKS(runtestuntil100clicksperuser)ClickTimeppppppTimetoFirstByteppppppTimetoConnectppppppTimeforDNSppppppTimeforlocalsocketppppppTimeSinceStartofTest[s]220200180160140120100806040200Time[ms]1601501401301201101009080706050403020100Figure1.
3(100clicksperuserintheCLICKparameter)Figure1:ClickParameters(Clicktime,timeforfirstbyte,timetoconnect,timeforDNS,andtimeforlocalsocket).
3.
4.
3TIMEParameterScenarioTheworkloadofWSispresentedin13stagesfrom5,10,20,to120timespersecond.
However,theresultshereareshowningraphsrepresentingthe10,50,and100timespersecondasasampleonly.
Thecurveactionsrepresentingtheresultswillbeclearintheresultsandconclusionsection.
ProtocolTimesforallURLsUserSimulation:10simultaneoususers-5secondsbetweenclicks(Random)TestType:TIME(runtestfor10minutes)ClickTimeTimetoFirstByteTimetoConnectTimeforDNSTimeforlocalsocketTimeSinceStartofTest[s]550500450400350300250200150100500Time[ms]350300250200150100500Figure2.
110mstimeparameterProtocolTimesforallURLsUserSimulation:10simultaneoususers-5secondsbetweenclicks(Random)TestType:TIME(runtestfor50minutes)ClickTime000000TimetoFirstByte000000TimetoConnect000000TimeforDNS000000Timeforlocalsocket000000TimeSinceStartofTest[s]2,8002,6002,4002,2002,0001,8001,6001,4001,2001,0008006004002000Time[ms]1301201101009080706050403020100Figure2.
250mstimeparameterIJCSNSInternationalJournalofComputerScienceandNetworkSecurity,VOL.
7No.
9,September2007107ProtocolTimesforallURLsUserSimulation:10simultaneoususers-5secondsbetweenclicks(Random)TestType:TIME(runtestfor100minutes)ClickTimeTimetoFirstByteTimetoConnectTimeforDNSTimeforlocalsocketTimeSinceStartofTest[s]5,5005,0004,5004,0003,5003,0002,5002,0001,5001,0005000Time[ms]1009080706050403020100Figure2.
3100mstimeparameterFigure2:Timeparameters(Clicktime,timeforfirstbyte,Timetoconnect,timeforDNS,timeforlocalsocket.
)Figure2describesthecasesof10,50,100msinthetimeparameter:10times:Normalbehaviorswithcriteria(timetofirstbyte,timetoconnect,timeforDNS,andtimeforsocket),exceptforslightchangesintheclicktime.
50times:Theclicktimesincreasesharplyandrelativelywithaconspicuouschangeinthebehaviorofothercriteria(timetofirstbyte,timetoconnect,timeforDNS,andtimeforsocket)comparedwiththeclickparameter.
100times:in2,500stheclicktimesreachthepeakwith100msintimeandastrongdramaticbehavior,andwithaslightsteadystateandarelativechangeinothercriteria.
So,wecandomoreactionsbyextendingthetime.
Itisquiteclearthattheclicktimesinthetimeparameterhaveareversesrelationwiththeclicktimeintheclickparameter.
WSSTshowsthatwecanenhancetheWSbydependingonthetimeparameterwhileraisingthenumberofclicks.
AhighworkloadresultingfromhitsandclickswillnotcauseanyproblemtotheWSifwehaveenoughtimefordoingallthatclicksandhitspersecond.
TheresultperuserandtheresultperURLwillhelpustodosomespecialcalculationslikecountingthenumberofhitsontheWS,andtofindthemaximumandminimumnumberofhitsandK-bitspersecond.
Inaddition,itwillbefeasibletocomparethefinalresultsperURLandperUserfortheCLICKandTIMEparameters,whichcontainssomecriteriasuchasclick,timespent[ms],andaverageclickTime[ms],withtheexistingaverageclicktimeinminutesanddeterminethenumberofusersinourexperimentaltestforallthecasesparameters(click,andtime).
Tables2,3,and3showthisbenefit.
Inthesetwocases(Click,Time),weconcludethatthetimeparameterrisesdramaticallyintheclicktime,whichindicatesthattimeplaysamajorroleinchangingtheWSbehaviors.
Itisbettertoincreasetimewhilewehavemanyclicks,decreasetheloadonWSjustgivenasubmittimeforeveryclick,andstopdoingahundredofclicksorhitsinashortperiodoftime,whichcausesdifficultiesinWSandbadresponses.
Thefirstcolumnintable1and2aredescribesdifferentnumbersofclicks.
Thistellsusthatanincreaseinthenumberofuserswhosendarequest(URL)tothewebserverleadstoanincreaseinthenumberofhitsasacompleteHTTPrequest.
ThistookplaceintheclickparameterinWSST,whichcausedclickduplicationineverysecondandminute,whichmeansanexcessiveloadonthewebserverleadsustohaveanormalresponsetimewithzeroerrorinHTTPrequest.
Consumingthememory,therequestofURL'swithdifferenttypesmakesthewebserversobusy.
Timespent[ms]inthetimeparametersinourtestswithmultipletrialsformorethan13timesindifferentcasesshowsthatthetimespentincreasesinparallelandconcurrencygrowslargerintime.
Dependingonequation1,therearemanydifferentvaluesbetweenthetimespentintimeparametersandthetimespentinclickparametersinordernottowastemuchtime,werecommenddoingmanyrequest(clicks)inashortspanoftimefortheWSwillnotneedopentimestoanswertherequests.
Becausetheserverlosesmuchtimeandmakestheuserwaitforalongtime,wereiterateourrecommendationnottospendmanytimeswithoutmakinggooduse.
Seethesecondcolumnintable3.
Equation1:ThedifferencesbetweenTimeSpent[ms]inCLICK,TIMEparameters.
(1)Ddiffrepresentsthevalueofdifferentfactors.
Themilemeasuresthetimespentsecond,whichisoneofthecriteria.
WhileTIMEandCLICKrepresentthemainIJCSNSInternationalJournalofComputerScienceandNetworkSecurity,VOL.
7No.
9,September2007108parameters,theyareusedinWSST,wherethedotintheequationindicatestheparametertype.
Clicksincreaseintheclickparameterinparallelwiththerisingnumberofclicks.
However,thiswouldbeamassiveincreaseinthetimeparametercomparedwiththesamenumberofclicksundertheclickparameter.
Thetimespent[ms]increasesdirectlywithtimeinthetimeparametermorethanitdoesintheclickparameter.
TheAvg.
clicktime[ms]dropswithtimeinthetimeparametercomparingwiththeclickparameter.
Inotherwords,wehavethehighestvalueintheclickandtimespent[ms]criteriaandthelowestvalueintheAvg.
clicktime[ms]intimeparameter.
Forusers,theaveragetimesingeneralarenormalvaluesiftheaverageiscalculatedwithinalongspanoftime.
Theresults,however,willnotbesatisfactoryifcalculatedfewerthanhundredsofclicks.
(Seetable3)4DiscussionandResultsInthisworkthepurposeofwebserverevaluationsprocessesbyusingWSST,whichisforimprovingtheperformanceandcatchingthemomentoftuninginit.
WhereprotocoltimeforallURLsinallcases(TIME,CLICK)representanHTTPrequestconsistsofseveralstages.
First,theWSnamehastoberesolvedintoanIPaddressusingDNS(TimeforDNS),andthenanIPportisopenedontheserverbytheclienttosendtherequestheader(TimetoConnect).
Theserverthenanswerstherequest(TimetoFirstByte)andsendsalldata.
Whenalldataistransferred,therequestisfinished(ClickTime).
Alsointheabovegraphsalineisshownforthe"timeforlocalsocket"whichisthetimethatWSSTneededtoacquireanopensocketfromtheIPstackofthemachineitrunson.
Forexample,inausualtest,thisvalueshouldalwaysbeinthelowermillisecondarea(1-30ms).
Forextremetraffictests,thisvaluecanriseabove50-100mswhichisasignthattheperformancelimitsofthelocalmachinehavebeenreached,thatwasindicatedanddisplayedinourgraphs.
Dependingontheobservationsabove,weseethatCLICKandTIMEarestronglyrelatedandhaveanimpactontheWStuningevaluation.
IgnoringtheroleofbenchmarkonWSwillcausepoorWSP.
Ifthenumberofclicksislowasshowninourtest(10,50,100clicksperuser),theserverwouldberespondingtorequestsquickly.
Ifthenumberofclicksishigh,respondingtoarequestwillbeslow,becausewewouldhavededicatedtoomuchmemorytothecaches.
Inthiscase,wesuggesttuningtheWSSTtoleaveenoughmemoryfortherestoftheWS.
WealsoneedtoincreasetheamountofRAMonthewebserver,althoughloweringthecachesizescanbeeffective.
Theincreasenumberofclickswouldcausetheworkloadonthewebservertorisedramatically.
Thiswouldsuddenlycausearelativechangetotheresponsetime,increasingthetimegivenforactions,andallowingforfasterresponseswithfewererrorsintheWSP.
Highvolumeoftraffic,whichdependsonthenumberofclicksandhits,makesthememoryloaded.
Aftermonitoringthewebserver,wewonderiftheserverhasenoughmemorysizeornot.
WerecommendthattheminimumamountofRAMneededforthewebserveris128MB,but256MBto1GBwillbebetterfortheWSPtuning.
WeknowthatwemayhaveaproblemwhenWStrafficishighbutthenumberofrequestsbarelybudges.
Whenthathappens,it'slikelythatthereisabottleneckintheWS.
Bottlenecksoccurwiththeriseofthenumberofclicksandperiodsoftimesarelongerthantheyshouldbe.
Weseethatthetimeforthefirstbyte,andothercriteriahavenearlythesamevaluesandbehaviors,exceptforthecriteriaoftheclicktime,whichhasdifferentvaluesandbehaviorsintheclickparameters(Seetable1,2).
However,theyalsohavedifferentvaluesandbehaviorsatthetimeparameters.
Thisshowsthatwecanhaveariseinthetimeconnect,timeforDNS,andlocalsocketwhenthereisachangeinthetimeparameter,becausethebottleneckoftheWSgrowssmaller.
5ConclusionsAllcriteriaforCLICKandTIMEparametersaremeasured,bythat,wehavetodecideifwereducetheserverloadthroughincreasingthetime,anddecreasetheloadsonWS(reverserelation)happensthroughdecreasingthenumbersofclicksandhits,thismakesWSPmoretunableincriteria'sespeciallyonclient'slatency,thatleadustoreducenetworkbandwidthconsumptioneasily,thentheWSPtuningbecomesmorereliablebydefaultifauserhasenoughtimetheyshouldnotworryabouthowmanyclickstheyhadandwhethertheWSisbusyornot.
Becauseuserscandowhatevertheylikewithoutproblemsorerrors,theyshouldjustgivetheserverthetimewhichwebserverneeds.
Weconcludethatifusersdonothavetimeandneedtodotheirworkveryquickly;theyshouldpushthemselvestodecreasethenumberofclicksthatIJCSNSInternationalJournalofComputerScienceandNetworkSecurity,VOL.
7No.
9,September2007109supportthefocusofWSPtuning,makingthewebserverfaster,andmoreefficient.
Wedon'tneedtowaituntiltrafficischokingtheWS,orforcingtoimplementload-balancingsolutionsandthrowingmoreserversattheproblem.
Distributionandobjectarchitectureshelpustoimplementloadbalancingandfaulttolerance.
Load-balancingproductstypicallyarenotrequireduntilaWSscalessohighthattheWSbecomesabottleneckoncethathappensusershavetwochoices:loadbalance,orincreasethebandwidthoftheirconnectionstotheWeb.
Ourparametersareaffecteddirectlyonitcase,soweneedtobemorecarefulwhendetermininghowmuchnumberofclicksandhowlongtimesareavailable3.
SometimesasysteminWSdesignedforacertainleveloftrafficwillspiralintounacceptableresponsetimeswhentrafficincreasesbeyondacertainpoint.
Thisisknownasascalabilityissue.
Weneedachancetoeventuallyencounterabottleneck.
TolocatethebottleneckthatcomesfromraisingthenumberofClickwithspecifictime,weneedtouseaseriesofperformancemonitors.
Thesemonitorsallowuserstoviewtheserverloadandresponsetimeunderavarietyofreal-worldortestconditions.
Responsetimerepresentsthetime(oftenanaverage)thatelapsesbetweentheinitialrequestforinformationandwhenthatdataisdelivered(ornotdelivered,whentheservercan'tprovideitbeforethetimeoutlimitisreached).
WhentheWSisprocessingalargenumberofrequests(underload),itmaytakelongertimetocompletethaniftheserverwereunloaded.
Foruserrequests,thiscanresultinincreasedresponsetimeforclients.
Iftheserverisunderanexcessiveload,dependingonWSSTanalysisweclosetoward"self-tuning"4conceptwhenusebenchmarkasaguideandmaindirectedforWS.
6FutureworkFutureworkwillincludemonitoringthemainparametersinbenchmarkforevaluatingwebserverunderworkloadwithanothercriteria,suchastherelationbetweenClick/hits/users/error/URLatthesametimetuningevaluatethewebserverperformance.
3http://informationweek.
com4http://newsandtech.
com7References[1]http://paessler.
com[2]JohnDilley,"WebServerWorkloadCharacterization",Hewlett-PackardLaboratories.
[3]J.
Dilley,R.
Friedrich,T.
Jin,J.
Rolia.
MeasurementToolsandModelingTechniquesforEvaluatingWebServerPerformance.
HPL-TR-96-161,December1996.
SubmittedtoPerformanceTools'97.
[4]Levy,R.
,etal.
PerformanceManagementforClusterBasedWebServices.
InThe8thIFIP/IEEEInternationalSymposiumonIntegratedNetworkManagement(IM2003).
2003.
ColoradoSprings,Colorado,USA.
[5]Li,C.
,etal.
PerformanceGuaranteeforCluster-BasedInternetServices.
InThe23rdIEEEInternationalConferenceonDistributedComputingSystems(ICDCS2003).
2003.
Providence,RhodeIsland.
[6]Wolf,J.
andP.
S.
Yu,OnBalancingtheLoadinaClusteredWebFarm.
ACMTransactionsonInternetTechnology,2001.
1(2):p.
231-261.
[7]Tapus,C.
,I.
-H.
ChungandJ.
K.
Hollingsworth.
ActiveHarmony:TowardsAutomatedPerformanceTuning.
InSC'02.
2002.
Baltimore,Maryland.
[8]CarlosMaltzahn,KathyJ.
Richardson,andDirkGrunwald.
Performanceissuesofenterpriselevelwebproxies.
InProceedingsoftheACMSigmetricsConferenceonMeasurementandModelingofComputerSystems,Seattle,WA,June1997.
ACM.
[9]JussaraM.
Almeida,VirgilioAlmeida,andDavidJ.
Yates.
MeasuringthebehaviorofaWorld-WideWebserver.
InSeventhConferenceonHighPerformanceNetworking(HPN),pages57–72,WhitePlains,NY,April1997.
IFIP.
[10]M.
Aron,D.
Sanders,P.
Druschel,andW.
Zwaenepoel.
ScalableContent-awareRequestDistributioninCluster-basedNetworkServers.
InProceedingsofthe2000AnnualUSENIXtechnicalConference,SanDiego,CA,June2000.
[11]V.
V.
PanteleenkoandV.
W.
Freeh.
InstantaneousOffloadingofTransientWebServerLoad.
InProceedingsoftheSixthInternationalWorkshoponWebCachingandContentDistribution,Boston,2001.
[12]P.
Joubert,R.
B.
King,R.
Neves,M.
Russinovich,J.
M.
Tracey.
High-PerformanceMemory-BasedWebServers:KernelandUser-SpacePerformance.
InProceedingsof2001USENIXAnnualTechnicalConference,June2001.
[13]StandardPerformanceEvaluationCorporation(SPEC),http://performance.
netlib.
org[14]Riska,A.
,etal.
ADAPTLOAD:EffectiveBalancinginCusteredWebServersUnderTransientLoadIJCSNSInternationalJournalofComputerScienceandNetworkSecurity,VOL.
7No.
9,September2007110Conditions.
In22ndInternationalConferenceonDistributedComputingSystems(ICDCS'02).
2002.
[15]Ribler,R.
L.
,H.
Simitci,andD.
A.
Reed,theAutopilotPerformance-DirectedAdaptiveControlSystem.
FutureGenerationComputerSystems,specialissue(PerformanceDataMining),2001.
18(1):p.
175-187.
Aboutauthors:HiyamS.
Ensour,PHDinCIS(ComputerInformationSystem)fromtheArabAcademyforBankingandFinancialSciences.
Jordan.
MasterinIT(InformationSystem)andBsc.
InComputerSciencefromprincesssumayauniversityfortechnology/RoyalScientificSociety(RSS),Jordan.
WorkinIrbidprivateuniversityaslecturer.
Hayammn@hotmail.
com,hayammn@maktoob.
com.
Dr.
AhmadKayed,theAppliedSciencesUniversity,Kayed_a@asu.
edu.
jo,formoredetailspleasevisit:http://www.
asu.
edu.
jo.
在上个月的时候也有记录到 NameCheap 域名注册商有发布域名转入促销活动的,那时候我也有帮助自己和公司的客户通过域名转入到NC服务商这样可以实现省钱续费的目的。上个月续费转入的时候是选择9月和10月份到期的域名,这不还有几个域名年底到期的,正好看到NameCheap商家再次发布转入优惠,所以打算把剩下的还有几个看看一并转入进来。活动截止到9月20日,如果我们需要转入域名的话可以准备起来。 N...
DiyVM 香港沙田机房,也是采用的CN2优化线路,目前也有入手且在使用中,我个人感觉如果中文业务需要用到的话虽然日本机房也是CN2,但是线路的稳定性不如香港机房,所以我们在这篇文章中亲测看看香港机房,然后对比之前看到的日本机房。香港机房的配置信息。CPU内存 硬盘带宽IP价格购买地址2核2G50G2M1¥50/月选择方案4核4G60G3M1¥100/月选择方案4核8G70G3M4¥200/月选择...
最近我们是不是在讨论较多的是关于K12教育的问题,培训机构由于资本的介入确实让家长更为焦虑,对于这样的整改我们还是很支持的。实际上,在云服务器市场中,我们也看到内卷和资本的力量,各大云服务商竞争也是相当激烈,更不用说个人和小公司服务商日子确实不好过。今天有看到UCloud发布的夏季促销活动,直接提前和双十一保价挂钩。这就是说,人家直接在暑假的时候就上线双十一的活动。早年的双十一活动会提前一周到十天...
paessler为你推荐
存储备份数据备份有哪些方式呢?酒店回应名媛拼单有谁知道有一个日本短片!是一个男的为了表白!杀了酒店好多人然后把他们房间拼成表白的子!微信回应封杀钉钉微信发过来的钉钉链接打不开?比肩工场比肩是什么意思,行比肩大运的主要意象8090lu.com8090看看电影网怎么打不开了杨丽晓博客明星的最新博文sodu.tw给个看免费小说的网站www.147qqqcom求女人能满足我的…www.diediao.com跪求鸭王2dpscycle国服魔兽WLK,有什么适合死亡骑士的插件?
猫咪永久域名收藏地址 tk域名注册 域名主机基地 韩国俄罗斯 香港机房 godaddy支付宝 win8升级win10正式版 私有云存储 地址大全 gg广告 元旦促销 空间出租 建立邮箱 双线空间 lamp兄弟连 中国联通宽带测速 测速电信 阿里云邮箱个人版 北京主机托管 美国主机 更多