Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2014, 01:28 PM
bartman9 bartman9 is offline
 
Join Date: Aug 2013
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Interpreting pageload results - very slow!

My vBulletin based site (running on IIS) is very slow and I need some help interpreting the pageload results. Here are the results:

http://www.webpagetest.org/result/140603_DX_KRZ/

The time to first byte is very slow. Is this a server issue? I just switched the site over to a dedicated server and I thought it would speed things up. But it is even slower now.

Also, the cron.php seems to be the next bottle neck. I don't know anything about php code, so any help here is greatly appreciated.
Reply With Quote
  #2  
Old 06-04-2014, 02:58 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you configure and tweak the server? You need to tweak your my.cnf, php.ini, etc..

What do your server logs say? What cron task is using so much of your servers resources?
Reply With Quote
  #3  
Old 06-04-2014, 03:49 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fully 50% of your pageload is custom font files. Most browsers ignore the fancy fonts and display their set default, but the files still download to the registry. Most visitors will never see them, they're not worth the bandwidth they consume. And most especially, not worth nearly half of your page size in kilobytes.

Try the same test using vB default style, with all hooks off and observe the difference it makes. First Byte Time will be better as well. You are loading more than one megabyte on browsers. Not as bad as many I've seen, but still a bit fat nonetheless. Show me a fat page and I'll show you a slow page, every time.

Also, we have a Optimization Workshop Here with plenty of real-life case studies of problems such as this, solved.

I use WPT with IE10, exclusively for the full picture:

http://www.webpagetest.org/result/140604_JM_RW8/ <--- The CMS

The forum is a little more raunchy for pageload: http://www.webpagetest.org/result/140604_RW_S3B/
Reply With Quote
  #4  
Old 06-04-2014, 08:32 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
Fully 50% of your pageload is custom font files. Most browsers ignore the fancy fonts and display their set default, but the files still download to the registry. Most visitors will never see them, they're not worth the bandwidth they consume. And most especially, not worth nearly half of your page size in kilobytes.

Try the same test using vB default style, with all hooks off and observe the difference it makes. First Byte Time will be better as well. You are loading more than one megabyte on browsers. Not as bad as many I've seen, but still a bit fat nonetheless. Show me a fat page and I'll show you a slow page, every time.

Also, we have a Optimization Workshop Here with plenty of real-life case studies of problems such as this, solved.

I use WPT with IE10, exclusively for the full picture:

http://www.webpagetest.org/result/140604_JM_RW8/ <--- The CMS

The forum is a little more raunchy for pageload: http://www.webpagetest.org/result/140604_RW_S3B/
There is nothing wrong with webfonts, as long as you're using common, or Highly optimized fonts. my style iconic uses an optimized webfont.

You want to use something like OpenSans from google's font api, which means that there is a very good chance that the user already has this document in their browser cache. Its also fairly tiny.
Reply With Quote
  #5  
Old 06-04-2014, 08:42 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
There is nothing wrong with webfonts, as long as you're using common, or Highly optimized fonts. my style iconic uses an optimized webfont.

You want to use something like OpenSans from google's font api, which means that there is a very good chance that the user already has this document in their browser cache. Its also fairly tiny.
If they comprise half of a 1 megabyte pageload, there's ALOT wrong. In this case they're not tiny, they are 50% of the entire page load. For stuff 80% of people won't even see.

If font files are 2% of the pageload or less, it's not a issue. This is 50. That's half.
Reply With Quote
  #6  
Old 06-04-2014, 09:07 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
If they comprise half of a 1 megabyte pageload, there's ALOT wrong. In this case they're not tiny, they are 50% of the entire page load. For stuff 80% of people won't even see.

If font files are 2% of the pageload or less, it's not a issue. This is 50. That's half.
Yeah but I do not believe it is fonts that are causing the browser to take that much time... It is pretty clear to me that he has a server issue or something else going on beyond fonts.

--------------- Added [DATE]1401919701[/DATE] at [TIME]1401919701[/TIME] ---------------

## First View is 21.242s! Mine was 6 and I thought it was slow. This is more than fonts.
Reply With Quote
  #7  
Old 06-04-2014, 09:49 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Yeah but I do not believe it is fonts that are causing the browser to take that much time... It is pretty clear to me that he has a server issue or something else going on beyond fonts. .
If we pretend half a megabyte of data just loads without using any time, yeah.

The idea is to get rid of this question, when I said this:
Quote:
Try the same test using vB default style, with all hooks off and observe the difference it makes.
Reply With Quote
  #8  
Old 06-05-2014, 12:38 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
If we pretend half a megabyte of data just loads without using any time, yeah.

The idea is to get rid of this question, when I said this:
I'm not really disagreeing you brother. While a half a meg is nothing by itself when you put a ton of them together you are looking at problems.

In regards to this slow down we really do not have enough information to troubleshoot this.

Is it slow all the time or just when a certain cron task is running?

Has anything else been changed besides moving it from one server to another?

If he is on a new dedicated server though and he just moved his site over from another one then my opinion would be the server or something related to the move.
If it was a plug in or theme it would most likely would have happened on the other server as well.

Many people grab a root server and do not realize it has to be configured.
Reply With Quote
Благодарность от:
Max Taxable
  #9  
Old 06-05-2014, 01:04 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
I'm not really disagreeing you brother. While a half a meg is nothing by itself when you put a ton of them together you are looking at problems.

In regards to this slow down we really do not have enough information to troubleshoot this.

Is it slow all the time or just when a certain cron task is running?

Has anything else been changed besides moving it from one server to another?

If he is on a new dedicated server though and he just moved his site over from another one then my opinion would be the server or something related to the move.
If it was a plug in or theme it would most likely would have happened on the other server as well.

Many people grab a root server and do not realize it has to be configured.
This is why the basic troubleshooting task of testing with hooks off and with default style needs done.

Likely he had these same issues with his previous host - he as much as said so, the switch to dedicated hosting was the speedup hoped for.

People get trapped into thinking CDNs or dedicated hosting are magic bullets for performance. They are not. Optimization, is.
Reply With Quote
  #10  
Old 06-06-2014, 02:21 PM
bartman9 bartman9 is offline
 
Join Date: Aug 2013
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for talking this out guys, I will try to shed some light on this.

- The website was slow on the shared server too. That is why I decided to move to the dedicated server, thinking it would be much faster. I am still using a shared mySQL database.

- I disabled all hooks and the website loaded much faster. See results:
http://www.webpagetest.org/result/14...KMG/1/details/

So when I disabled these features (in config.php), is that turning off all plugins and/or disabling fancy fonts?

Knowing this, what should be my next step? I am not much of a PHP guy and I really don't know much about configuring servers. All help is greatly appreciated!
Reply With Quote
Благодарность от:
Max Taxable
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:25 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05401 seconds
  • Memory Usage 2,271KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete