MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Current time: 01-18-2021, 06:34 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
06-06-2013, 01:52 AM
Post: #1
Question Slow TTFB
I'm trying to solve the very slow Time-To-First-Byte for the site (between 9 and 11 sec) - it's a Joomla 2.5 site with Jomres, using a very big database (mainly for Jomres) on a managed VPS with 3GB RAM, 8 vCPU and 100 GB SSD (using about 12 GB for this particular site). I'm also using CloudFlare (free).
A week ago my results were all A grade, just TTFB was F.
Half an hour ago, after some changes, I got all A grades, except for TTFB and Progressive JPG.
I'm aware that I have some more issues to improve, but this long TTFB is for the moment the worst one, and I don't know what else to try to resolve this.
I've already optimized my photos, and I'm using AdminTools to optimize tables, but Jomres doesn't easily support combining scripts and CSS, and is using it's own cache (not Joomla's integrated cache). Since Jomres is a complex component I try to avoid too much tampering with it's code. My hoster already checked the configuration, tried using FastCGI. They also checked MySQL settings, and just sent me the latest MySQLTuner report (I've appended the results at the end of this post).
All this has made no difference to TTF time.
Can somebody point me what else should I check to resolve this?
Would using third party DNS make any difference? (My users are mainly from Europe, and the site is hosted in US.)

Thank's for any help.

MySQLTuner report:
-------- General Statistics --------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.5.30-cll
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 40M (Tables: 263)
[--] Data in InnoDB tables: 5M (Tables: 276)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[--] Data in MEMORY tables: 0B (Tables: 6)
[!!] Total fragmented tables: 11
-------- Security Recommendations ------------------
[OK] All database users have passwords assigned
-------- Performance Metrics ------------------------------
[--] Up for: 8s (290 q [36.250 qps], 6 conn, TX: 2M, RX: 53K)
[--] Reads / Writes: 100% / 0%
[--] Total buffers: 786.0M global + 14.4M per thread (100 max threads)
[OK] Maximum possible memory usage: 2.2G (72% of installed RAM)
[OK] Slow queries: 0% (0/290)
[OK] Highest usage of available connections: 2% (2/100)
[OK] Key buffer size / total MyISAM indexes: 64.0M/6.9M
[OK] Key buffer hit rate: 96.2% (2K cached / 94 reads)
[OK] Query cache efficiency: 44.0% (122 cached / 277 selects)
[OK] Query cache prunes per day: 0
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 14 sorts)
[OK] Temporary tables created on disk: 25% (2 on disk / 8 total)
[OK] Thread cache hit rate: 66% (2 created / 6 connections)
[OK] Table cache hit rate: 91% (72 open / 79 opened)
[OK] Open file limit used: 0% (106/65K)
[OK] Table locks acquired immediately: 100% (197 immediate / 197 locks)
[OK] InnoDB data size / buffer pool: 5.1M/64.0M
-------- Recommendations ----------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Enable the slow query log to troubleshoot bad queries
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Slow TTFB - vespera - 06-06-2013 01:52 AM
RE: Slow TTFB - pmeenan - 06-06-2013, 07:06 AM
RE: Slow TTFB - vespera - 06-07-2013, 05:44 AM
RE: Slow TTFB - vespera - 06-14-2013, 08:57 PM
RE: Slow TTFB - pmeenan - 06-15-2013, 12:02 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)