Thread:Project:Support desk/Page loading time, very very slow/reply (2)

I think i got it trhough profiling and got this output in the log file:

100.00% 114.906320     1 - -total 61.01% 70.108058     1 - Setup.php 53.36% 61.316173     1 - Setup.php-session 31.11% 35.747660     1 - MediaWiki::main 10.65% 12.241228     1 - MediaWiki::performRequest 10.33% 11.868490     4 - Title::getUserPermissionsErrorsInternal 6.86% 7.884598     1 - OutputPage::output 6.24% 7.174037     1 - Output-skin 6.24% 7.173814     1 - SkinTemplate::outputPage 5.57% 6.405274     1 - SkinTemplate::prepareQuickTemplate 4.30% 4.936135     1 - Setup.php-globals 3.94% 4.530615     1 - WebStart.php-conf 3.87% 4.447622     1 - Parser::firstCallInit 3.39% 3.896233     1 - StubObject::_unstub-wgParser 3.18% 3.653472   131 - MessageCache::get 3.05% 3.510178     1 - SkinTemplate::prepareQuickTemplate-stuff4 2.51% 2.883641     1 - SkinTemplate::prepareQuickTemplate-stuff5 2.21% 2.544714    49 - LocalisationCache::getSubitem-load 2.15% 2.466097     5 - Parser::transformMsg 2.15% 2.465418     5 - Parser::preprocess 1.82% 2.093708     1 - -setup 1.22% 1.400795     1 - MediaWiki::triggerJobs 1.21% 1.394851     6 - Parser::clearState 1.20% 1.381355     1 - User::load 0.93% 1.064142    77 - LoadBalancer::getConnection 0.92% 1.054192    77 - LoadBalancer::openConnection 0.91% 1.051072     1 - Setup.php-memcached 0.90% 1.033683     1 - User::loadDefaults 0.66% 0.763045     1 - SkinTemplate::outputPage-execute 0.63% 0.724634     6 - Parser::replaceVariables 0.62% 0.713787     1 - StubObject::_unstub-wgLang 0.62% 0.712793     1 - ResourceLoader::__construct 0.62% 0.709913     1 - Setup.php-includes 0.61% 0.705638     2 - ResourceLoader::register 0.61% 0.705040     1 - Setup.php-extensions 0.61% 0.704638     1 - Setup.php-extensions-efMobileFrontend_Setup 0.61% 0.700123     2 - ResourceLoader::makeModuleResponse 0.61% 0.696383     4 - Linker::link 0.32% 0.364441     1 - RequestContext::getSkin-createskin 0.30% 0.349542     1 - ResourceLoader::makeModuleResponse-user.cssprefs 0.30% 0.349425     3 - ResourceLoader::filter 0.30% 0.349204     1 - Setup.php-exception 0.30% 0.349174     2 - MessageCache::load 0.30% 0.348876     1 - hook: MakeGlobalVariablesScript 0.30% 0.348676     7 - Title::getLinkURL 0.30% 0.348478     2 - MessageCache::load-fromcache 0.30% 0.347971     1 - Setup.php-misc1 0.30% 0.347945     1 - WebStart.php-ob_start 0.30% 0.347560     4 - Linker::linkUrl 0.04% 0.045876    72 - DatabaseBase::query 0.04% 0.045066    16 - Linker::titleAttrib 0.03% 0.031613    62 - query: SELECT lc_value FROM `abcmartin_l10n_cache` WHERE lc_lang = 'X' LIMIT N  [TRX#066098e5d7f9] 0.01% 0.016827    11 - LocalisationCache::getItem-load 0.01% 0.016463    12 - PPFrame_DOM::expand 0.01% 0.013636     6 - Parser::braceSubstitution 0.01% 0.012508   129 - MagicWord::load 0.01% 0.011886    14 - Linker::accesskey 0.01% 0.011744     1 - SpecialPageFactory::getPageList 0.01% 0.011479     1 - SkinTemplate::buildNavUrls 0.01% 0.011410     1 - hook: SpecialPage_initList 0.01% 0.011225     1 - MessageCache::parse 0.01% 0.010990     1 - Parser::parse 0.01% 0.010881     1 - Parser::parse-MessageCache::parse 0.01% 0.010346     6 - Parser::braceSubstitution-modifiers 0.01% 0.008593     1 - SkinTemplate::buildPersonalUrls 0.01% 0.008415     1 - Parser::internalParse 0.01% 0.007601     1 - Skin::buildSidebar 0.01% 0.006922     1 - MobileFrontendHooks::onSpecialPage_initList 0.01% 0.006699   139 - hook: MessagesPreLoad 0.01% 0.006664     2 - MobileFrontendHooks::onSkinTemplateOutputPageBeforeExec 0.01% 0.006492   131 - hook: MessageCache::get 0.01% 0.005775     1 - hook: ParserFirstCallInit 0.00% 0.005581     1 - wfCite 0.00% 0.005264     7 - Preprocessor_DOM::preprocessToObj 0.00% 0.005073     1 - SkinTemplate::outputPage-init 0.00% 0.004926     1 - SkinTemplate::setupTemplateForOutput 0.00% 0.004859     1 - Skin::initPage 0.00% 0.004107     1 - SkinTemplate::prepareQuickTemplate-stuff2 0.00% 0.003550     1 - hook: SkinTemplateOutputPageBeforeExec 0.00% 0.003419    17 - SkinFactory::getLegacySkinNames-init 0.00% 0.003194     1 - SkinTemplate::setupTemplateForOutput-init 0.00% 0.003189     1 - DatabaseMysqlBase::open 0.00% 0.003067     1 - SkinTemplate::buildContentNavigationUrls 0.00% 0.002927     1 - LinkBatch::executeInto 0.00% 0.002661     1 - Parser::doDoubleUnderscore 0.00% 0.002463     1 - dbconnect-mysql.abcmartin.dreamhosters.com 0.00% 0.002206     7 - Preprocessor_DOM::preprocessToXml 0.00% 0.002047     1 - MessageBlobStore::get 0.00% 0.001983     1 - MobileContext::shouldDisplayMobileView 0.00% 0.001953     1 - SkinTemplate::prepareQuickTemplate-stuff3 0.00% 0.001925     1 - JobQueue::getSiblingQueuesWithJobs 0.00% 0.001847     1 - LinkBatch::doQuery 0.00% 0.001661     1 - Parser::replaceInternalLinks2 0.00% 0.001582     1 - Skin::getSiteNotice 0.00% 0.001547     1 - Parser::replaceInternalLinks2-setup 0.00% 0.001510     3 - MediaWikiI18N::translate 0.00% 0.001507     1 - SkinTemplate::setupTemplateForOutput-stuff 0.00% 0.001489     6 - hook: ParserClearState 0.00% 0.001445     6 - Parser::braceSubstitution-setup 0.00% 0.001399     7 - Preprocessor_DOM::preprocessToObj-loadXML 0.00% 0.001376     1 - query: SELECT rev_id,rev_page,rev_text_id,rev_timestamp,rev_comment,rev_user_text,rev_user,rev_minor_edit,rev_deleted,rev_len,rev_parent_id,rev_sha1,rev_content_format,rev_content_model,page_namespace,page_title,page_id,page_latest,page_is_redirect,page_len,user [TRX#066098e5d7f9] 0.00% 0.001327     2 - Sanitizer::removeHTMLtags 0.00% 0.001097     1 - MobileContext::getDevice 0.00% 0.001062     3 - Skin::getCachedNotice 0.00% 0.001051    21 - hook: GetLocalURL::Internal 0.00% 0.000991    21 - hook: GetLocalURL 0.00% 0.000987    17 - hook: GetLocalURL::Article 0.00% 0.000919     2 - query: SELECT page_namespace,page_title,page_touched,page_len FROM `abcmartin_page` WHERE (page_namespace = 'X') )  [TRX#066098e5d7f9]  0.00% 0.000737      1 - query: SELECT page_id,page_namespace,page_title,page_len,page_is_redirect,page_latest,page_content_model FROM `abcmartin_page` WHERE (page_namespace = 'X')  [TRX#066098e5d7f9]  0.00% 0.000568      1 - Parser::braceSubstitution-pfunc  0.00% 0.000519      1 - query: SELECT DISTINCT job_cmd FROM `abcmartin_job` WHERE job_cmd IN ('X')  [TRX#066098e5d7f9]  0.00% 0.000513      1 - ResourceLoader::makeModuleResponse-user.options  0.00% 0.000500      1 - query: SELECT page_id,page_namespace,page_title,page_restrictions,page_counter,page_is_redirect,page_is_new,page_random,page_touched,page_links_updated,page_latest,page_len,page_content_model FROM `abcmartin_page` WHERE page_namespace = 'X' LIMIT N  [TRX#066098e5d7f9] 0.00% 0.000487     1 - DeviceProperties::detectMobileDevice 0.00% 0.000473     6 - Cite::clearState 0.00% 0.000427     1 - query: SELECT mr_blob,mr_resource,mr_timestamp FROM `abcmartin_msg_resource` WHERE mr_resource IN ('X'  [TRX#066098e5d7f9]  0.00% 0.000425      1 - Setup.php-defaults  0.00% 0.000421      1 - query: SELECT pr_type,pr_expiry,pr_level,pr_cascade FROM `abcmartin_page_restrictions` WHERE pr_page = 'X'  [TRX#066098e5d7f9]  0.00% 0.000405      1 - Parser::callParserFunction  0.00% 0.000387      1 - query: SELECT page_namespace,page_title,page_touched,page_len FROM `abcmartin_page` WHERE (page_namespace = 'X')  [TRX#066098e5d7f9]  0.00% 0.000387      1 - Setup.php-defaults2  0.00% 0.000386      1 - hook: BeforePageDisplay  0.00% 0.000316      6 - hook: ParserBeforeStrip  0.00% 0.000316      1 - User::getEffectiveGroups  0.00% 0.000314      1 - query: BEGIN  0.00% 0.000309      1 - Parser::doBlockLevels  0.00% 0.000305      1 - hook: ParserCloned  0.00% 0.000299      2 - MobileFrontendHooks::onBeforePageDisplay 0.00% 0.000292     1 - hook: RequestContextCreateSkin 0.00% 0.000286     6 - hook: ParserAfterStrip 0.00% 0.000284     4 - Linker::linkAttribs 0.00% 0.000273     1 - Parser::initialiseVariables 0.00% 0.000262     1 - hook: ResourceLoaderRegisterModules 0.00% 0.000261     1 - WikiEditorHooks::makeGlobalVariablesScript 0.00% 0.000259     5 - hook: ParserGetVariableValueTs 0.00% 0.000259     5 - hook: ParserGetVariableValueVarCache 0.00% 0.000238     1 - Parser::doMagicLinks 0.00% 0.000236     1 - ResourceLoader::makeModuleResponse-user.tokens 0.00% 0.000232     2 - LinkCache::addLinkObj 0.00% 0.000225     1 - hook: ParserAfterParse 0.00% 0.000221     1 - Parser::callParserFunction-pfunc-ns 0.00% 0.000221     1 - LanguageGetMagic 0.00% 0.000217     1 - BaseTemplate::getToolbox 0.00% 0.000201     1 - hook: ParserBeforeTidy 0.00% 0.000196     4 - hook: LinkBegin 0.00% 0.000195     4 - hook: LinkEnd 0.00% 0.000185     4 - Linker::link-checkPageExistence 0.00% 0.000173     2 - MessageCache::saveToCaches 0.00% 0.000167     3 - Title::getPageLanguage 0.00% 0.000158     1 - ParserOptions::initialiseFromUser 0.00% 0.000149     3 - hook: TitleReadWhitelist 0.00% 0.000149     3 - hook: userCan 0.00% 0.000142     3 - hook: getUserPermissionsErrors 0.00% 0.000140     2 - Cite::checkRefsNoReferences 0.00% 0.000137     1 - Parser::doBlockLevels-paragraph 0.00% 0.000135     1 - Cite::cloneState 0.00% 0.000130     2 - hook: TitleExists 0.00% 0.000116     1 - MediaWiki::checkMaxLag 0.00% 0.000113     1 - hook: SetupAfterCache 0.00% 0.000104     2 - Sanitizer::removeHTMLcomments 0.00% 0.000102     2 - hook: BaseTemplateAfterPortlet 0.00% 0.000102     1 - DeferredUpdates::doUpdates 0.00% 0.000099     1 - hook: ResetPasswordExpiration 0.00% 0.000099     1 - Parser::doHeadings 0.00% 0.000098     1 - MobileFrontendHooks::onRequestContextCreateSkin 0.00% 0.000098     1 - Parser::doTableStuff 0.00% 0.000096     1 - hook: WebRequestPathInfoRouter 0.00% 0.000096     1 - hook: AuthPluginSetup 0.00% 0.000095     2 - hook: getUserPermissionsErrorsExpensive 0.00% 0.000094     1 - hook: CanonicalNamespaces 0.00% 0.000094     1 - MobileFrontendHooks::onResourceLoaderRegisterModules 0.00% 0.000083     1 - Parser::doAllQuotes 0.00% 0.000083     1 - Setup.php-tempDir 0.00% 0.000071     1 - hook: UserLoadFromSession 0.00% 0.000071     1 - ParserOutput::getText 0.00% 0.000068     1 - hook: MagicWordwgVariableIDs 0.00% 0.000066     1 - hook: OutputPageBodyAttributes 0.00% 0.000065     1 - hook: LanguageGetSpecialPageAliases 0.00% 0.000065     1 - hook: LanguageGetMagic 0.00% 0.000064     1 - SkinTemplate::buildContentActionUrls 0.00% 0.000064     1 - hook: ArticlePageDataBefore 0.00% 0.000064     1 - hook: UserGetDefaultOptions 0.00% 0.000063     1 - hook: ContentHandlerDefaultModelFor 0.00% 0.000063     1 - hook: SkinTemplateToolboxEnd 0.00% 0.000063     1 - hook: AfterFinalPageOutput 0.00% 0.000063     1 - hook: SkinSubPageSubtitle 0.00% 0.000062     1 - MobileContext::isBlacklistedPage 0.00% 0.000060     1 - Parser::replaceExternalLinks 0.00% 0.000060     1 - hook: SkinAfterBottomScripts 0.00% 0.000057     1 - hook: UserGetLanguageObject 0.00% 0.000056     1 - hook: ArticlePageDataAfter 0.00% 0.000056     1 - hook: LanguageGetNamespaces 0.00% 0.000056     1 - hook: UserLoadDefaults 0.00% 0.000055     1 - hook: SkinAfterContent 0.00% 0.000054     1 - hook: SkinVectorStyleModules 0.00% 0.000053     1 - User::getAutomaticGroups 0.00% 0.000053     1 - hook: GetIP 0.00% 0.000053     1 - hook: UserRetrieveNewTalks 0.00% 0.000053     1 - hook: PersonalUrls 0.00% 0.000053     1 - hook: GetNewMessagesAlert 0.00% 0.000053     1 - hook: SkinTemplateNavigation::SpecialPage 0.00% 0.000053     1 - hook: ParserAfterTidy 0.00% 0.000052     1 - hook: GetDoubleUnderscoreIDs 0.00% 0.000052     1 - hook: UserEffectiveGroups 0.00% 0.000052     1 - hook: ParserSectionCreate 0.00% 0.000052     1 - hook: SkinPreloadExistence 0.00% 0.000052     1 - hook: SkinBuildSidebar 0.00% 0.000052     1 - hook: GetFullURL 0.00% 0.000051     1 - hook: GetCanonicalURL 0.00% 0.000051     1 - LinkHolderArray::replace 0.00% 0.000051     1 - hook: UserGetRights 0.00% 0.000050     1 - hook: TitleIsCssOrJsPage 0.00% 0.000050     1 - hook: BeforeInitialize 0.00% 0.000050     1 - hook: InternalParseBeforeSanitize 0.00% 0.000050     1 - hook: UserLoadAfterLoadFromSession 0.00% 0.000050     1 - hook: TitleGetRestrictionTypes 0.00% 0.000050     1 - hook: SearchableNamespaces 0.00% 0.000049     1 - hook: SkinTemplatePreventOtherActiveTabs 0.00% 0.000049     1 - hook: BaseTemplateToolbox 0.00% 0.000049     1 - hook: SkinTemplateNavigation::Universal 0.00% 0.000049     1 - hook: InternalParseBeforeLinks 0.00% 0.000048     1 - hook: SidebarBeforeOutput 0.00% 0.000048     1 - hook: SiteNoticeBefore 0.00% 0.000048     1 - hook: SkinGetPoweredBy 0.00% 0.000048     1 - hook: TitleIsWikitextPage 0.00% 0.000048     1 - hook: TitleQuickPermissions 0.00% 0.000047     1 - hook: SiteNoticeAfter 0.00% 0.000047     1 - hook: ParserBeforeInternalParse 0.00% 0.000000     1 - Profile section ended by close: MediaWiki::main

any ideas with the slowness?