Well, I did run it on a real machine (a dual-core processor with hyper-threading). It takes more than one million cycles for one-way. It seems like the number I got is unusual. Do you think using affinity will affect the results? I pinned the ping thread and pong thread down to different cores by setting the affinities before they started calling send/wait IPC calls. I am not sure if I did something wrong there.
-Chen
On Sat, Feb 5, 2011 at 1:26 PM, Udo A. Steinberg udo@hypervisor.org wrote:
On Fri, 4 Feb 2011 17:01:59 -0800 Chen Tian (CT) wrote:
CT> For Fiasco.OC, the number is also around 300K cycles no matter jdb CT> debugging switch is on or off. CT> CT> All these numbers are obtained from Virtualbox simulations (4-core CT> processors).
So that's why. Try running your benchmarks on bare hardware, not in a VM.
Cheers,
- Udo