Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Thu Oct 01, 2009 7:49 am 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
Keep in mind that turning on caching in applications will cause them to use more ram, which means that Linux does less caching on its side. So, more cache in MySQL and web apps is not always the best way to decrease I/O. I think it's a good idea to keep about 30% of your ram free so that Linux can do its own caching.


Top
   
 Post subject:
PostPosted: Thu Oct 01, 2009 10:29 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
In-application caching normally caches processed results; it's usually not intended to reduce disk I/O (the OS already handles that), but to reduce CPU load or response times.

For example, if a MySQL query normally takes one second to compute a result, and you've got ten hits per second calling that same query, you might be in some pretty big trouble. But if you cache the results, suddenly you're golden. Misconfiguring MySQL's query cache can result in far higher CPU utilization and page load times than you could get.


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


Who is online

Users browsing this forum: No registered users and 1 guest


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