Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Apr 13, 2013 10:42 am 
Offline
Senior Member

Joined: Wed Jan 21, 2009 7:13 pm
Posts: 126
Location: Portugal
Hi,

I created a new linode in UK and got into the new hardware with a E5-2670.
I had an IPB board with Debian Squeeze in another provider and just setup every thing like was before, the only deference is worker_processes in nginx that I changed from 4 to 8.

Now my time to first byte it's almost 2x / 3x than before.

Why is this appending? What should I do or where should I start?

Thanks


Top
   
PostPosted: Sat Apr 13, 2013 10:44 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
What was it before? What is it now? What happens if you change worker_processes back to 4?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Sat Apr 13, 2013 10:58 am 
Offline
Senior Member

Joined: Wed Jan 21, 2009 7:13 pm
Posts: 126
Location: Portugal
Hi

Before I could see 0,3 to 0,4 and now I have 0,7 to 0,9.
When I change backup to 4 I get the same values.


Top
   
PostPosted: Sun Apr 14, 2013 4:10 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
Check PHP is using APC and that it has enough memory. There is a apc.php that comes with php-apc that will let you see what it's up to.

Check mysql. Mysqltuner is a wonderful tool.

Check your DNS speed with one of the many on-line testers. A good website tester should also tell you about DNS delays.

Check your system isn't doing something really stupid with top or longview.


Top
   
PostPosted: Sun Apr 14, 2013 5:51 am 
Offline
Senior Member

Joined: Wed Jan 21, 2009 7:13 pm
Posts: 126
Location: Portugal
Hi,

Today TTF is 0,2 and this is the the expected value for the power we have in linode :)
Could this be related bad neighborhood in my node?


Top
   
PostPosted: Sun Apr 14, 2013 7:37 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
nfn wrote:
Hi,

Today TTF is 0,2 and this is the the expected value for the power we have in linode :)
Could this be related bad neighborhood in my node?


If you changed nothing and your time to first byte went down to a quarter of what it was yesterday then it has to be due to host load. It's outside your control, you can only talk to support.


Top
   
PostPosted: Tue Apr 16, 2013 7:20 pm 
Offline
Junior Member

Joined: Sat Mar 21, 2009 3:45 am
Posts: 48
sednet wrote:
nfn wrote:
Hi,

Today TTF is 0,2 and this is the the expected value for the power we have in linode :)
Could this be related bad neighborhood in my node?


If you changed nothing and your time to first byte went down to a quarter of what it was yesterday then it has to be due to host load. It's outside your control, you can only talk to support.


That, and/or caches have "warmed up."


Top
   
PostPosted: Wed Apr 17, 2013 3:26 pm 
Offline
Newbie

Joined: Tue Nov 08, 2011 10:12 pm
Posts: 4
Website: http://blog.michaelfmcnamara.com
I was getting about 1500ms or greater FTB values until I migrated from Apache to Nginx utilizing W3TC on WordPress. With W3Tc there's no need to fire up PHP for every page visit and Nginx just serves up the static HTML disk cache files. It brought my FTB values down to around 150ms (that's a huge performance increase!).

http://blog.michaelfmcnamara.com/2012/1 ... x-php-fpm/


Top
   
PostPosted: Thu Apr 18, 2013 8:13 pm 
Offline
Junior Member

Joined: Sat Mar 21, 2009 3:45 am
Posts: 48
The issue here was that TTF had doubled on what should, ostensibly be a faster system.

For what it is worth though, I get decent TTF times out of Wordpress without static file caching or PHP-FPM. APC is essential to that, since otherwise the startup overhead for each request is about 50% the cost of the request processing time.


Top
   
PostPosted: Thu Apr 18, 2013 8:22 pm 
Offline
Junior Member
User avatar

Joined: Fri May 04, 2012 8:57 pm
Posts: 49
TTFB is kind of an arbitrary benchmark anyways.

Static file caching really helps with wordpress~~

_________________
me | voltaireMC


Top
   
PostPosted: Fri Apr 19, 2013 8:36 am 
Offline
Senior Newbie

Joined: Tue Oct 27, 2009 9:26 pm
Posts: 15
What I am seeing is much higher contention for CPU resources on many of the Linodes I already migrated. I think those of us that migrated early have all ended up on the same host machines and are not getting as good performance now because we are all fighting for resources, while before probably on average the load was more spread out on more actual host machines.

I wish I hadn't migrated a bunch of my nodes... they were performing better before because I was getting less CPU steal %! :)

Side-note: the ones I didn't migrate now have even less CPU contention on them.


Top
   
PostPosted: Fri Apr 19, 2013 9:56 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
It doesn't help that linodes now have 8 virtual cores, not sure what the reasoning behind that decision was. Even though the core count is doubled on the new hosts, it would have probably reduced contention.


Top
   
PostPosted: Fri Apr 19, 2013 11:02 am 
Offline
Senior Newbie

Joined: Tue Oct 27, 2009 9:26 pm
Posts: 15
Yeah. It sounds more impressive but only on one out of five hosts I migrated am I seeing almost no contention for the CPU. Even though the number of cores on the physical machines is doubled, the ram is I imagine more than doubled, which also means higher density of Linode per physical host. So if I could roll back my migrations to the hosts they were on before, I would, since I'm seeing basically no benefit from the new hosts and I was not bound by RAM anyway. Oh well.


Top
   
PostPosted: Fri Apr 19, 2013 11:32 am 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
And that's why when I saw the news I thought "I'll wait a few weeks, until they deploy more nextgen hosts."
Just like with almost any other "new, cool service", the initial rush of users ends up overloading things. :)

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
PostPosted: Fri Apr 19, 2013 11:43 am 
Offline
Senior Newbie

Joined: Tue Oct 27, 2009 9:26 pm
Posts: 15
Wise words, rsk, wish I'd listened to my gut and waited as well! :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group