IBMLotusDominoServerandApplicationPerformanceintheRealWorldAndrewPollack,PresidentNorthernCollaborativeTechnologiesandrewp@thenorth.
comhttp://www.
thenorth.
comWhoAmIAdministrator&Developersinceversion2.
0IBMLotusBeaconAwardWinnerServicesSitePerformanceReviewsLegalCaseConsultingApplicationDevelopmentAdministrativeOverhaulSecurityReview&PenetrationTestingProductsNCTSearchNCTComplianceSearchNCTSimpleSignOnStructuralFirefighterKeyFocusPointsPerformancewithaBigPictureapproachDefiningPerformanceInUserTermsKeyPerformanceChokePointsGeneralConsiderationsCommonGeneralTweaksMakeYourWebSiteFaster!
Developers,Developers,DevelopersServersandSANSandVMs–ohMy!
VirtuallyPerfectionWhengoodINIsettingsgoBad!
FindingYourOwnChokePointsSummaryCanPreventPerformanceProblemsPERFORMANCEWITHABIGPICTUREAPPROACHBigPicture:ThereIsNoMagicNoSingleINIVariable--#1ServerFixFocusOnTheBasics!
NoSuperStorageNetworkNoUltimateNetworkSwitchNoOmnipotentThirdPartyApplicationNober-ConsultantNotEvenMe!
BigPicture:SmallIssuesStackUpPerformanceProblemsArelikesnowflakesIndividually,theydon'tmattermuchatallYounoticethemonlyoncetheystackupForexample:PoorlyPerformingDiskI/O+AgentsChangingManyDocuments+ManyViews(orBADviews)toUpdate==VerySlowSystemThesekindsofproblemscreateafeedbackloop,whichamplifiestheproblemsBewareofINIChangesMyNumberOneServerCrashResponseINIChangesComeFromWellmeaningtipsLowleveltech-supportToomuchtimeonpublicforumsHowtofixmostservercrashesCleanoutALLnon-defaultINIsettingsUnlessyoucanspecificallydocumentwhyit'scriticalCleanoutALLnon-shippingCodeGetridofthosefix-packsthatdidn'tfixtheproblemYes,therearesomegoodchangestomaketotheINIfileDEFININGPERFORMANCEINUSERTERMSIt'snothowyoufeel,itshowyoulook.
Darling,youlookmarvelous!
BillyCrystalPerformanceinUserTermsIftheusermustwaitforsomething,itwillalwaysseemslow–nomatterhowfastyoumakeit.
Nothingisworsethananhourglasscursorandabarslowlymovingacrossthescreen…ExceptNOThavingthebarPerformanceinUserTerms:TipsMoveanythingnotimmediatelyrequiredbytheusertoabackgroundprocessBatchprocessupdatesofdatathatusersdonotneedinstantlyCacheCommonlyReferencedDataHowoftendoyourcommonlookupschangeCountryNamesEscalationLevelsDocumentCategoriesLookuponcewhenthedatabaseisopened,andstorethevaluesasenvironmentvariableslocallyDon'tpop-upmodaldialogboxeswithnochoices!
KEYPERFORMANCECHOKEPOINTSWe'regoingthewrongway,butwe'remakingexcellenttime!
ChokePoints:TheNetworkBandwidthvs.
LatencyBandwidthHowbigaroundisthepipeLatencyHowlongisthepipefromendtoendEvenlighttakesseveralminutestoreachusfromtheSun.
Latencyimpacts"Chatty"connectionsNotesDatabaseOpenMultipleViewLookupsAJAXonWebApplicationsWheredoesLatencyComefromPingtimeslargerthan100msare"high"latency.
WANlinks,Satellitelinks,Modems,andVPN'sareallpronetolatencyissuesMulti-HopconnectionsacrossbufferedroutersandfirewallscanintroducelatencyEncryptionsoftwarecanintroducelatencyDealingwithHighLatencyAvoidopeningandclosingmanydocumentsAvoidDBLookupsbycachingcommonvaluesExample:UseadbopenscripttowritecommonlookupvaluestoalocalenvironmentvariableeachtimetheuseropensthedatabaseUse"RunOnServer"tomovecomplexagentworktotheserver,thereadtheresultfromaprofiledocumentConsiderJSONembeddedonthedocumentinsteadofAJAXlookupsStopusing"NoCache"onyourDBLookupsChokePoints:DiskI/OThisisthe#1,#2,and#3RootperformanceproblemonDominoServerNearlyanyotherperformanceproblemismademanytimesworseiftheDiskI/OisoverwhelmedMostDominoServersarenotwelloptimizedforDiskI/OCommonSourcesofDiskPerformanceProblemsFailuretouseDAOS!
One"Data"driveisusedfortoomuchdatabases,indexrebuilds,temporaryfiles,swapfiles,andeventransactionloggingPoorSANconfigurationforDominovolumesTooheavyarelianceonStorageAreaNetworksPoorchoiceofRAIDconfigurationsForFSMSake,StartUsingDAOS!
DAOSissafe.
Itwilllikelysaveyou50%ormoreofyourstoragespaceReally-Itissafe.
Thatmeans50%ormoresavingsinDISKI/OaswellIt'snotlike"SharedMail"–IpromiseItalsomeans50%lessspaceoneverybackupAndit'ssafe,too!
InthenewestserverversionsitwillalsosavenetworktrafficWheneverPossibleUseMultipleDrivesPutyourtransactionloggingfilesonaseparatedriveMoveyourviewindexingtemporaryfilestoanotherdriveConsidermovingdisk-intensiveapplicationstotheirowndriveIfyoumusthavememoryswapping,giveititsowndriveActiveLogFilesforWebServers,SMTP,etc.
canalsobeoffloadedtotheirowndrivesNotEverythingNeedsItsownDriveThingsthatloadonceandarenotre-accessedfrequentlydonotneedtobeonhighperformanceresourcesTheOperatingSystemApplicationProgramFilesArchivedLogFilesUniqueDrivelettersmaynotbedifferentdrivesInVirtualizedenvironmentsandonaSAN,multiplevirtualdrivesonthesamephysicalvolumedonothelpOneDiskmayhavemultiplepartitionsDifferentpartitionsareNOTdifferentspindlesAllthepartitionsonthesamedrive,sharethesameread-writeheadandareimpactedbydataaccessasasingleentity.
MultipledrivesinaRAIDarraydon'tcountARAIDarrayistreatedbythesystemasasingledrive.
Bydefinition,dataiswrittenacrossthewholearrayThe"Best-Case"ismultipledrivesondifferentdrivecontrollersTooheavyarelianceonStorageAreaNetworksTheSANisnotEvil–Butitisn'tperfecteitherHighSpeed,butHighLatencyASANisaCompromiseTradesthespeedandsimplicityoflocaldrivesforenterprisemanageabilityandflexibilityGoodforBackupDataGoodforBig,SequentialFilesMediaFilesInstallationKitsArchivalDataChokepointforactivedatabaseworkDominowithaSANConsiderthebenefitsofaSANHighlyredundantstorageSinglebackuppointConsolidatedfreespacePerformanceIhaveyettoseeaSANthattrulyoutperformslocalhighspeeddisksNotallDominoDataneedsthesefeaturesTransactionLogs–ConsiderlocalRAIDifpossibleIndexingScratchSpace–UseCheap,Local,FastDrivesIfyou'realreadyclusteringDomino,onlyoneoftheclusteredmachinesmayneedtobeontheSANIfyoudouseaSANWorkwiththeSANteamtoconfigureyourvolumesDedicatedLUN&Disksforeachoftheseifpossible:DominoDataTransactionLogsTempSpaceforviewindexrebuildingOperatingsystem"TEMP"variableNotes.
INI"View_Rebuild_Dir="TelltheSANteamtotreatitlikearelationaldatabaseHighlyReadIntensiveWherecanyoucompromiseCheaplocaldrivesforlow-riskuseMemorySwapFileTemporaryScratchSpaceforViewRebuildsWebServerCacheFilesLogFilesVirtualizationandDominoDominorunsjustfineinVMWARESomeofmybestfriendsarevirtualserversAllmyproduction&developmentserversareinVMsPerformanceissuesareVERYsimilartoSANsDiskI/OisagaincriticaltoDominoperformanceVirtualenvironmentsoftensharediskresourcesVirtualenvironmentsoftenutilizeSANsFollowtheguidelinesforusingDominoonaSANLocal,dedicatedstoragespindleswhereverpossibleDedicatedLUN&DiskswhereveryoucanPoorchoiceofRAIDconfigurationsRAIDisnotALWAYSthebestperformancechoiceSomeCommonTypesofRAIDRAID0Increaseperformance,DecreaseReliability(xnumberofdrives)RAID1IncreaseReliability,NoPerformanceDifferenceRAID5(TheMostCommon)–Uses3ormoredrivesBalanceofredundancyplussomeperformancegainRAID1+0(akaRAID10)TwopairsofRAID1readasaRAID0(Hybrid)RAID0+1TwopairsofRAID0writtenasRAID1(Hybrid)WhyRAIDisn'tALWAYSthebestwayCompetitionforResourcesAnoverallperformancegainwithRAID5of30%(typically)isspreadacrossallthediskI/Oontheserver.
YouaresmarterthanRAIDYoucanputhighlyintensiveresourcesonspecificdrivesorarrays,balancingtheloadmoreeffectivelyMultipleRAIDArraysarenotalwayspossibleExpensiveMultipleDriveBaysPowerHungryDrivesDiskI/O:RethinkingRAIDMostRAIDarraysareconfiguredtoimproveredundancy,notnecessarilyspeed.
NotalldatarequiresredundancyLossofsomedataisverylowriskMemorySwapFilesIndexingscratchspaceTemporaryfilesCachefilesInexpensiveSATAdrivescanbeusedforarealperformancegainSolidStateDrives–VeryfastbutoftennotideaSolidStateDrives(SSD)Alsoknownas"FLASH"drivesGettingmorecommononLaptops,NetbooksReliabilityIssuesareLargelyResolvedVERYFastREADTimesWritePerformanceQuicklyDegradesThisischangingquickly,butstillthecaseformostusesWindows7&WindowsServer2008R2Support"TRIM"http://en.
wikipedia.
org/wiki/TRIMGoodforProgramFiles,JavaLibrariesBadforNSFDatabases,Indexing,TranslogsChokePoints:SystemResourcesTheseshouldbeobviousMoreRAMisbetter–UptowhatissupportedDependingontheOS,youmayneedtopartitionyourservertotakefulladvantageDriveCache–IfyourOSletsyoumanageit,youshouldworktoreallyoptimizethisMostAnti-VirusSoftwareisEVILwhenitrunsagainstDominoDatabasesMakesureyourAVisDominoaware!
DoyoureallyneedAVsoftwarerunningonaDominoServerHint:No,youusuallydon'tMAKEYOURWEBSITEFASTER!
Fasterfaster!
Thelightsareturningred…LetthebrowsercachecommonitemsResourcesthatdon'tchangefrequentlycanbecachedJPGPNGGIFMOVMP3MSIMPGZIPEXEAPPLICATIONDESIGNSTRATEGIESDevelopersreallyLOVEwhenadministratorsgivethemfeedbackChokePoints:ViewsForapplicationperformancetuning,viewsarethefirst,second,andthirdplacetolookViewindexingisverydiskintensive–andcanamplifydiskI/OshortcommingsToupdateaview,afulldatabasescanoftenneedstohappen.
ThatcanbeveryveryslowonlargedatabasesAnyviewperformanceproblemgrowsexponentiallywiththevolumeofdataTheseproblemsareoftennotcaughtintestWHENGOODVIEWSGOBADWhatKillsViewPerformanceUsethe"ManageViews"AdminClientFeatureBadViewDesign:TooMuchDataSwitch@Responesesto@AllDescendantsNOvisibibledifferencetousersCanreduceviewsizesdrasticallyCanYouSetaCUTOFFdateForm="Request"&@ModifiedDominoConfigurationTunerDeliveredasadatabasetemplate(DCT.
NTF)Availableforfree–downloadfromIBMhttp://www-01.
ibm.
com/support/docview.
wssuid=swg24019358EvaluatestheserverandcomparestoknownbestpracticesMakesrecommendationsforchangesRecommendationsaregenerallygood–butnotuniversalDonotfollowblindly–UnderstandtherecommendationfirstDocumentanychangesyoumakesotheycanbeundoneIfsomethingshould"alwaysbeset"acertainway,itwouldbethedefault.
INISETTINGTWEAKSYoureallycameherelookingforcoolINIsettingslikeDominoRunFaster=11Remember–Manyofthesehavebecomethedefaultovertime.
YouareusuallyBetteroffusingthedefaultsettings.
Beespeciallycarefulofoldinisettingsafteryouhaveupgradedtheservertoanewversion.
ObsoleteINIsettingsHURTperformanceSomeNOTES.
INItweaksCOMMENTNOTES.
INIChanges!
Here'ssomethatIuseMailLeaveSessionsOpen=1Forbusymailservers,canspeedupdeliveryUpdate_Fulltext_Thread=1Movefulltextindexingtoitsownthread,distinctfromtheindexer–Thisistheclosestto"runfaster"IhavefoundFtg_use_sys_memory=1UsememoryoutsidetheDominoserverHttpQueueMethod=2LikehavingonelineformultiplecashregistersDefaultin8.
5.
1andlaterAfewmorenotes.
initweaksUseTheseTogether:SERVER_NAME_LOOKUP_NO_UPDATE=1TellstheservertousetheoldindexwhilethenewonecatchesupStartingwith8.
0thisshouldbethedefaultDEBUG_ENABLE_UPDATE_FIX=8191FinetuneswhenthedirectoryindexesgetrefreshedStartingwith8.
0.
1thisshouldbethedefaultSERVER_MAX_CONCURRENT_TRANS=-1Defaultasof8.
03and8.
0–usedtobe20SERVER_POOL_TASKS=100Defaultasof7.
03an8.
0isnow40Usedtobe2timesserver_max_concurrent_trans100isusedinIBMPerferformanceTestingSetlowerifprocessorismaxedAndofcourse…NSF_Buffer_Pool_Size_MBNSF_Buffer_Pool_Size_MB=Verypowerful,butverycomplexChecktheLotusNotesKnowledgebaseStartsataround300NotascriticalasitusedtobeDocumentationSaysitisnowsetAUTOMATICALLYfornon-partitionedServersMyTestingSaysitisalsonowsetAUTOMATICALLYevenforpartitionedServersin8.
5.
xCheckyoursuccesswiththisconsolecommandshowstatdatabase.
database.
b*Don'tchecktoosoonafterachange,itsonlyvalidovertimeNotes8ClientTweakTomaketheEclipsebasedclientloadfasterOpenthisfolder:{NotesProgramDirectory}\framework\rcp\deployPriorto8.
5.
1usethisfolderinstead:{NotesProgramDirectory}\framework\rcp\eclipse\plugins\com.
ibm.
rcp.
j2se.
{Version}Editthefile:jvm.
propertiesChangetheline:vmarg.
Xmx=-Xmx256mSothatitreads:vmarg.
Xmx=-Xmx512mNote:Youcansetithigher,butaimfornomorethanhalfofyouravailableRAMReadersonmyblogoverwhelminglyreportfantasticresultswiththisoneSummaryRepeatAfterme:ThereisNo"RUN_FASTER=1"IwillcleanupmyNOTES.
INIIwillCOMMENTmyNOTES.
INIchangesPerformanceIsn'tMagic,itsPlanningSavetheDiskI/O,SavetheServerLatencyisascriticalasBandwidthWhenindoubt,BlamethedeveloperQuestionsAsknow,don'twaitfortheendandaskquietlyatthepodiumThemostuptodatecopyofthispresentationwillbeonmyblogsite:http://www.
thenorth.
com/apblogAndrewPollack–NorthernCollaborativeTechnologiesandrewp@thenorth.
comhttp://www.
TheNorth.
com*
RepriseHosting是成立于2012年的国外主机商,提供独立服务器租用和VPS主机等产品,数据中心在美国西雅图和拉斯维加斯机房。商家提供的独立服务器以较低的价格为主,目前针对西雅图机房部分独立服务器提供的优惠仍然有效,除了价格折扣外,还免费升级内存和带宽,商家支持使用支付宝或者PayPal、信用卡等付款方式。配置一 $27.97/月CPU:Intel Xeon L5640内存:16GB(原...
puaex怎么样?puaex是一家去年成立的国人商家,本站也分享过几次,他家主要销售香港商宽的套餐,给的全部为G口带宽,而且是不限流量的,目前有WTT和HKBN两种线路的方面,虽然商家的价格比较贵,但是每次补一些货,就会被抢空,之前一直都是断货的状态,目前商家进行了补货,有需要这种类型机器的朋友可以入手。点击进入:puaex商家官方网站Puaex香港vds套餐:全部为KVM虚拟架构,G口的带宽,可...
创梦网络怎么样,创梦网络公司位于四川省达州市,属于四川本地企业,资质齐全,IDC/ISP均有,从创梦网络这边租的服务器均可以****,属于一手资源,高防机柜、大带宽、高防IP业务,另外创梦网络近期还会上线四川眉山联通、广东优化线路高防机柜,CN2专线相关业务。广东电信大带宽近期可以预约机柜了,成都优化线路,机柜租用、服务器云服务器租用,适合建站做游戏,不须要在套CDN,全国访问快,直连省骨干,大网...
lotus domino为你推荐
eset用户名急求 一个有效的ESET 的 用户名 .......网络明星想知道3大网络歌手是谁?spgnuxPC操作系统如何描述依赖注入Spring 的依赖注入是什么意思?pwPW考试是指什么http与https的区别http和https到底有什么区别啊???创维云电视功能谁能具体介绍一下创维云电视的主要功能,以及基本的使用方式,如果能分型号介绍就更好了,O(∩_∩)O谢谢发邮件怎么发如何发邮件?声母是什么什么是声母网站地图制作我想给网站做网站地图不知道怎么做的,请教高手!
韩国vps俄罗斯美女 域名服务器上存放着internet主机的 warez 42u机柜尺寸 英文简历模板word lol台服官网 空间技术网 vul 美国盐湖城 德隆中文网 阿里云邮箱登陆地址 免费网络空间 国外免费网盘 winds 美国西雅图独立 火山互联 linuxvi 神棍节 留言板 ddos攻击工具 更多