I have a web application that seems to like to make mysql work hard (cpu wise), as a result i want to establish how the performance of our application scales as we transition to more modern hardware, the current system has 2 cpu, and we could move it onto a grid system, but to find out if this is worthwhile i want to benchmark our application on a linux machine i have available with 4 cores, is it possible to limit mysql to use on a certain number of cores? and if so how do i do this?
thanks for any help.