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.

10gbiz($2.36/月),香港/洛杉矶CN2 GIA线路VPS,香港/日本独立服务器

10gbiz发布了9月优惠方案,针对VPS、独立服务器、站群服务器、高防服务器等均提供了一系列优惠方面,其中香港/洛杉矶CN2 GIA线路VPS主机4折优惠继续,优惠后最低每月仅2.36美元起;日本/香港独立服务器提供特价款首月1.5折27.43美元起;站群/G口服务器首月半价,高防服务器永久8.5折等。这是一家成立于2020年的主机商,提供包括独立服务器租用和VPS主机等产品,数据中心包括美国洛...

virmach:AMD平台小鸡,赌一把,单车变摩托?$7.2/年-512M内存/1核/10gSSD/1T流量,多机房可选

virmach送来了夏季促销,价格低到爆炸,而且在低价的基础上还搞首年8折,也就是说VPS低至7.2美元/年。不过,这里有一点要说明:你所购买的当前的VPS将会在09/30/2021 ~ 04/30/2022进行服务器转移,而且IP还会改变,当前的Intel平台会换成AMD平台,机房也会变动(目前来看以后会从colocrossing切换到INAP和Psychz),采取的是就近原则,原来的水牛城可能...

特网云57元,香港云主机 1核 1G 10M宽带1G(防御)

特网云官網特网云服务器在硬件级别上实现云主机之间的完全隔离;采用高端服务器进行部署,同时采用集中的管理与监控,确保业务稳定可靠,搭建纯SSD架构的高性能企业级云服务器,同时采用Intel Haswell CPU、高频DDR4内存、高速Sas3 SSD闪存作为底层硬件配置,分钟级响应速度,特网云采用自带硬防节点,部分节点享免费20G防御,可实现300G防御峰值,有效防御DDoS、CC等恶意攻击,保障...

paessler为你推荐
openeuleropen opening opens opened有什么区别2020双十一成绩单2020考研成绩出分后需要做什么?安徽汽车网安徽什么汽车网站比较好?杨紫别祝我生日快乐周杰伦的祝我生日快乐这首歌有什么寓意或者是在什么背景下写的老虎数码虎打个数字刘祚天还有DJ网么?www.haole012.com阜阳有什么好的正规的招聘网站?www.haole012.com012qq.com真的假的5xoy.comhttp www.05eee.com4400av.com在www.dadady.com 达达电影看片子很快的啊
长沙虚拟主机 中国十大域名注册商 优惠码 美国仿牌空间 英文简历模板word mobaxterm 免费ddos防火墙 美国在线代理服务器 免费测手机号 最漂亮的qq空间 视频服务器是什么 带宽租赁 php服务器 阿里云邮箱登陆地址 114dns 徐州电信 免费稳定空间 789电视剧网 汤博乐 锐速 更多