January 7th, 2004

CPU strain, profiling Perl code

With the upgrade to our databases, all of the CPUs on all of our web nodes are now maxed out during the day. And we just bought another round of web nodes. It's incredible how db problems and web problems keep switching. But it's not for nothing.... we hit a new outgoing bandwidth record. So there is demand... and it just keeps growing.

It'll be a while before we can get new web nodes both because it takes a while to have them built, and because our 3 cabinets are pretty much full and our fourth isn't setup yet (totally empty, no networking hardware).


Any patches to improve performance would be greatly appreciated! If you know of any particular piece of code you think you can rewrite to be faster (while still being obviously identical in functionality), test it with "use Benchmark" and submit a patch.

Unforunately Devel::DProf totally sucks (does nothing but segfault), and Devel::Profiler is barfing too. So I can no longer profile the code and find the slow/CPU-intensive spots. Devel::DProf used to work half the time, but it won't now. :-/

Anybody have any profiling advice?

In the meantime we're rushing to get cabinet #4 setup and ordering new web nodes.
  • jsnrhs

(no subject)

maybe its just me, maybe its just since im one of the few people who use netscape, but my title bar with the navigation is gone, and now shows up text based on the bottom of each page. any explanation?

what it looks like...

[livejournal title image]
welcome [info]jsnrhs [logout?]
search:[ ] category: [ ^] [Search]


* Journal
o Update ...
o Recent
o Archive
o Friends ...
o Info ...
o Memories
* Manage
o Entries
o Info
o Friends
o User Pictures
o Password
o Styles
o Customize
o Communities
* Search
o Random
o Region
o Interests
o Advanced
* Help
o Ask a Question
o Lost Password
o Site Map
o Browse Options
o Contact Info
* About
o General Info
o Press
o Download
o Site News
o Paid Accounts
o Invite a Friend

* Terms of Service
* Privacy Policy
* Legal Information
* Site Map
* Browse Options