I believe I have the answer as to why there was high CPU usage. The blogging software I’m using (dasBlog) has some very inefficient code for dealing with what it calls “Comment Views”. When viewing a single post without the comments, for the same CPU usage, the number of views is over 100 times faster than when viewing with the comments.
I did some code and configuration tuning and was able to improve the performance by a factor of 2 to 3 depending on how I was testing it. There are still lots of room for improvement and I decided to just turn off the comments until the performance is more comparable to the performance without the comments. This eliminates the CPU intensive view type entirely.
This CPU expensive view mode probably normally isn’t a problem except with the robots come visiting. They view the posts in all their view modes.
Would you please enable my site again?
I was up until 4:30 this morning getting it ready to go back online in crippled form (comments are disabled). I still have work to do to get comment views more efficient and then I’ll turn the comments back on.
I need to get to work now but I’ll update the story here by tonight sometime. I’ll fill in the Quote of the day posts tonight sometime too.