Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Less CPU usage
PostPosted: Wed Jan 02, 2008 2:38 pm 
Offline
Senior Member
User avatar

Joined: Sat Jul 01, 2006 7:36 am
Posts: 50
Location: Ghent, Belgium
A small thought:
On my Linode I have a couple of cronjobs. They have cleaning, statcounting, maintenance and back-up functions.
Now, sometimes my % CPU usage rises from 1 to 10% when a cron get executed. Especially when AWStats has to go through a lot of logs. And I even run AWStats every hour for each website, and each website has his own AWStats-hour. And I have small website..

Now I have set the cronjobs to minutes with oneven, not rounded, not logical minutes. Like .33, .17, .56, ..
Because I know a lot of other users on the same server wil have cron jobs set at .30, .00, .15, ..
So I think the CPU usage is always higher at the main hour xxh 00.
But if there was a page, where we could see the CPU % usage of the whole server, not only hour own linode, then we could chose an hour when the CPU usage is low. Also for daily crons, like a backup. I backup at 3pm, West European time, but I'm willing to change that if there is an another hour when the server is more idl.

With CPU graphs (or a script that gives us a minute or hour when the server had a low % in the last 7 days) the server peaks could be reduced a little bit, resulting in a more constant CPU usage.

What do you think?


Top
   
 Post subject:
PostPosted: Sat Jan 05, 2008 9:06 am 
Offline
Senior Member
User avatar

Joined: Sat Jul 01, 2006 7:36 am
Posts: 50
Location: Ghent, Belgium
Nobody?


Top
   
 Post subject:
PostPosted: Sat Jan 05, 2008 11:03 am 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
In the main logged-in screen, the "Host Summary" section tells you what the "Host Load" is. Is that what you're looking for?


Top
   
 Post subject:
PostPosted: Sat Jan 05, 2008 11:57 am 
Offline
Senior Member
User avatar

Joined: Sat Jul 01, 2006 7:36 am
Posts: 50
Location: Ghent, Belgium
Xan wrote:
In the main logged-in screen, the "Host Summary" section tells you what the "Host Load" is. Is that what you're looking for?
Yes, but that's realtime, I'm searching for a historical graph of the Host Load. Like from the past 24hours. Then I can set my cronjobs on the times that the hostload is the lowest.


Top
   
 Post subject:
PostPosted: Sat Jan 05, 2008 3:33 pm 
Offline
Senior Member

Joined: Fri Sep 21, 2007 4:12 pm
Posts: 78
I've got a small script that runs every 4-6 hours and records the stats that Linode provides. I'd recommend something similar in your case.


Top
   
 Post subject:
PostPosted: Sat Jan 05, 2008 3:43 pm 
Offline
Senior Member
User avatar

Joined: Sat Jul 01, 2006 7:36 am
Posts: 50
Location: Ghent, Belgium
kbrantley wrote:
I've got a small script that runs every 4-6 hours and records the stats that Linode provides. I'd recommend something similar in your case.
Do you mean the stats from the CPU usage from you own Linode, or from the whole host? If from the whole host, where do you get the CPU usage information from?


Top
   
 Post subject:
PostPosted: Sat Jan 05, 2008 10:36 pm 
Offline
Senior Member

Joined: Fri Sep 21, 2007 4:12 pm
Posts: 78
Entire host.

http://www.linode.com/forums/viewtopic.php?t=1558

Quote:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<linData>
<host>
<host>host41.linode.com</host>
<hostLoad>low</hostLoad>


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