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*
Megalayer 商家我们还算是比较熟悉的,商家主要业务方向是CN2优化带宽、国际BGP和全向带宽的独立服务器和站群服务器,且后来也有增加云服务器(VPS主机)业务。这次中秋节促销活动期间,有发布促销活动,这次活动力度认为还是比较大的,有提供香港、美国、菲律宾的年付VPS主机,CN2优化方案线路的低至年付159元。这次活动截止到10月30日,如果我们有需要的话可以选择。第一、特价限量年付VPS主...
RAKsmart 商家八月份的促销活动今天更新。基本上和上个月的产品套餐活动差不多的,不过也是有简单的微调。对于RAKsmart商家还是比较了解的,他们家产品虽然这两年增加多个机房,以及在VPS主机方案上有丰富的机房和调整到一些自营机房,他们家的策划能力还是有限,基本上每个月的套餐活动都差不多。RAKsmart 在八月份看到有新增香港高防服务器可选,最高100GB防御。同时原来上个月缺货的日本独立...
RackNerd今天补货了3款便宜vps,最便宜的仅$9.49/年, 硬盘是SSD RAID-10 Storage,共享G口带宽,最低配给的流量也有2T,注意,这3款补货的便宜vps是intel平台。官方网站便宜VPS套餐机型均为KVM虚拟,SolusVM Control Panel ,硬盘是SSD RAID-10 Storage,共享G口带宽,大流量。CPU:1核心内存:768 MB硬盘:12 ...
lotus domino为你推荐
苏州商标注册在江苏怎么注册商标啊??真正免费的网络电话谁有真正免费的网络电话??怎么在qq空间里添加背景音乐怎样在qq空间里免费添加背景音乐?网易公开课怎么下载手机上的网易公开课的付费课程怎么下载??????godaddy美国GODADDY 域名支持域名别名解析吗?怎么点亮qq空间图标怎样点亮qq空间的图标人人逛街人人逛街网是正品吗宕机宕机是什么意思怎么上传音乐如何将电脑上的音乐传到MP3上blogcn怎样设置BLOGCN的访问密码
域名买卖 cn域名备案 cloudstack 域名优惠码 好看的桌面背景大图 论坛空间 hostloc hinet 南通服务器 免费测手机号 爱奇艺vip免费领取 搜索引擎提交入口 跟踪路由命令 智能dns解析 国外的代理服务器 php服务器 阿里dns 香港ip forwarder 国外bt下载网站 更多