Hi all,

Our apps has a lot of gettimeofday() call. I've written a very simple
program to measure the speed of gettimeofday() call.

The outcome is vary a lot, even on the two hardware with same spec.

Recently, I get access on 8 cores opteron linux. I run the test again
and the result is not very good, especially when I currently run two
copy of my testing program

1) running 1 copy:
378078 us for 100000 gettimeofday

2) running two copy.
611078 us for 100000 gettimeofday

However, this is behaviour is not observed in another machine.

Anyone know why? is it something wrong with the 8 opteron linux? or is
it related to any kernel setting?

thanks.

Eric.