Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Mint and mediatemple GPU Usage

reh3
Minted
Posted on Apr 25, '07 at 12:34 pm

I am on a grid server and this month my GPU usage has exploded. As a result, I will end up paying overage charges by the end of the cycle.

Based on the (mt) KnowledgeBase instructions:

“…there is a report within your Urchin stats which can be used in finding which specific scripts are driving up your GPU count. Go to ‘Pages & Files’, then go to ‘Page Query Terms’ and then look at the top scripts in the list”

/reh3.com/mint/ accounts for roughly 78% of all queries in the list of top scripts every month.

Aside from uninstalling Mint, is there anything that can be done to minimize its affect on GPU usage?

Ronald Heft
Third-Party Pepper Developer
Posted on Apr 25, '07 at 01:19 pm

Interesting you bring this up. I’ve been working with (mt) this past week to find common GPU hogs. I assume you’re running a WordPress site. If so, I recommend you check out my article on reducing GPU usage: http://cavemonkey50.com/2007/04/lowerin … rid-server

In addition, changing Mint’s mysql_connect to a mysql_pconnect has shown a decrease in GPU. Just go to /mint/app/lib/mint.php and change mysql_connect to mysql_pconnect on line 167. That will keep database connections open, reducing the overhead of creating a connection.

Next, I recommend checking out Bad Behavior if you have a spam problem. Installing Bad Behavior knocked out a good amount of GPU usage.

Finally, I highly recommend you enable WordPress’ native cache in addition to WP-Cache. WordPress’ native cache caches things like your categories which rarely change at all, saving multiple DB queries. Read about WordPress’ native cache at: http://codex.wordpress.org/Function_Reference/WP_Cache

Hope this helps. I was able to reduce my site from ~2GPU an hour to ~.5GPU an hour following those methods. I have not disable Mint at all and am still running all my Peppers without issue.

reh3
Minted
Posted on Apr 25, '07 at 01:38 pm

Thanks for the heads up Ronald. I appreciate it!

Ronald Heft
Third-Party Pepper Developer
Posted on Apr 25, '07 at 02:49 pm

Let me know how the optimizations go.

You must be logged in to reply. Login above or create an account