I'm looking to temporarily reduce the amount of cores and RAM available to my system, as well as the processing power.
I've written a server that uses epoll (Linux) and I want to get a rough comparison of it's performance to a server I've witten using kqueue (BSD/Darwin).
My Mac Book Pro is way more powerful than the Linux machine I'll be using, so I want to reign it in a bit.
I was thinking about creating a virtual machine and giving it the resources that I don't want available to OSX, but I'm not certain about how resource sharing works with the VM, and if this will be a reliable way of hamstringing my system. Also, this will just reduce the number of cores, not alter the performance of the CPU.
Is there an easier and possibly more reliable way to do this? Please note that I'm a bit thick when it comes to hardware.