[Numpy-discussion] OT: performance in C extension; OpenMP, or SSE ?

Matthieu Brucher matthieu.brucher at gmail.com
Thu Feb 17 04:29:25 EST 2011


> Do you think, one could get even better ?
> And, where does the 7% slow-down (for single thread) come from ?
> Is it possible to have the OpenMP option in a code, without _any_
> penalty for 1 core machines ?
>

There will always be a penalty for parallel code that runs on one core. You
have at least the overhead for splitting the data.

Matthieu
-- 
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110217/7228f373/attachment.html>


More information about the NumPy-Discussion mailing list