cpuinfo, bogomips and duo core

Tom Horsley horsley1953 at gmail.com
Tue Feb 12 17:33:31 UTC 2013


On Tue, 12 Feb 2013 17:37:06 +0100
Reindl Harald wrote:

> you can not do this because you can hardly deploy packages
> built this way on a i7-3770 (Ivy Bdrige) to a Xeon E5640
> which is Westmere architecture without ending in "unknown
> CPU instruction" and random crashes and in the worst case
> this will hit you due vMotion if the host where you started
> a guest has the newer instructions and the target machine
> not - if this happen due failover you are done at all

Ahh, but that sort of thing is what the GNU "indirect
function" relocation code is all about. You can build
libraries which decide at runtime which version of a
routine to call and include multiple architecture variants
of routines.

That makes it possible to have dozens of different versions
of routines, only one of which has a bug so it only fails
on certain architectures. Such a helpful feature :-).


More information about the users mailing list