>for sure.
> mpirun h -c 2 program
>you might get ~20% faster if you're lucky.
>However if you have SMP (>1 cpu) and hyperthreading then you need the
>kernel's cpu scheduler to be VERY hyperthreading aware, otherwise you
>can get code _slowdowns_. Does anyone know if linux 2.6 kernels are
>smart enough not to screw up yet?
Thanks. It's said that to make use of hyperthread tech., you should have
some threads running inside your process, isn'it? Anyway, I have check this
by running the enclosed example pi.c (the program calculating pi) with
mpirun h -c 2 pi
But find that it just got a little bit faster than that running on a
non-hyperthreading-architecture system
_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
|