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.

腾讯云轻量服务器两款低价年付套餐 2核4GB内存8M带宽 年74元

昨天,有在"阿里云秋季促销活动 轻量云服务器2G5M配置新购年60元"文章中记录到阿里云轻量服务器2GB内存、5M带宽一年60元的活动,当然这个也是国内机房的。我们很多人都清楚备案是需要接入的,如果我们在其他服务商的域名备案的,那是不能解析的。除非我们不是用来建站,而是用来云端的,是可以用的。这不看到其对手腾讯云也有推出两款轻量服务器活动。其中一款是4GB内存、8M带宽,这个比阿里云还要狠。这个真...

CloudCone月付$48,MC机房可小时付费

CloudCone商家在前面的文章中也有多次介绍,他们家的VPS主机还是蛮有特点的,和我们熟悉的DO、Linode、VuLTR商家很相似可以采用小时时间计费,如果我们不满意且不需要可以删除机器,这样就不扣费,如果希望用的时候再开通。唯独比较吐槽的就是他们家的产品太过于单一,一来是只有云服务器,而且是机房就唯一的MC机房。CloudCone 这次四周年促销活动期间,商家有新增独立服务器业务。同样的C...

OneTechCloud(31元),美国CN2 GIA高防VPS月

OneTechCloud发布了本月促销信息,全场VPS主机月付9折,季付8折,优惠后香港VPS月付25.2元起,美国CN2 GIA线路高防VPS月付31.5元起。这是一家2019年成立的国人主机商,提供VPS主机和独立服务器租用,产品数据中心包括美国洛杉矶和中国香港,Cera的机器,VPS基于KVM架构,采用SSD硬盘,其中美国洛杉矶回程CN2 GIA,可选高防。下面列出部分套餐配置信息。美国CN...

paessler为你推荐
酒店回应名媛拼单酒店分房时出现单男单女时,怎样处理?月神谭求几个个性网名:鹤城勿扰黑龙江省的那个 城市是被叫做鹤城?本冈一郎本冈一郎是什么东西??谁知道??汴京清谈求好看的鼠猫文~弗雷德疯谁知百里挑一的冯晔炀的家乡在哪?他喜欢什么食物?喜欢去哪里旅游?vovokan新白发魔女传41集什么时候播出性间道男人的性癖好有哪四种?查看源代码如何查看软件源代码关键字工具什么软件可以大量批量查询关键词的排名
备案域名查询 政务和公益机构域名注册管理中心 大庆服务器租用 免费申请网站域名 美国独立服务器 香港服务器99idc 美国主机评论 圣迭戈 服务器cpu性能排行 qq数据库 申请个人网页 免费ftp站点 e蜗 老左正传 可外链网盘 免费活动 1g内存 卡巴斯基免费试用版 银盘服务 空间登陆首页 更多