There's a good book for this if anybody is interested http://www.cs.cmu.edu/~harchol/PerformanceModeling/book.html
http://techbus.safaribooksonline.com/book/electrical-enginee...
Edit: this book is currently sitting on my shelf collecting random particles of dust (for 4 years...).