RE: SMP question

David Schwartz (davids@webmaster.com)
Wed, 11 Jun 2003 13:14:53 -0700


> I'm building a hard real-time Linux (RTLinux) system on a 2x Xeon
> machine. If
> I compile and run a 2.4.18 kernel with SMP support, rtlinux hangs the
> machine. However, with SMP disabled, rtlinux and all it's hard-realtime
> applications runs okay.

> So, I have to deside between these two:

> - Run rtlinux and hard-realtime applications on a kernel without
> SMP support.
> How much performance will I loose this way? Is SMP *THAT* critical?

You will lose about half your CPU power.

> - Run all tasks in a usual way, no hard realtime, but with SMP support.

> What would you suggest?

If you don't install a kernel with SMP support, you might as well remove
one processor.

> Also, if I turn hyperthreading off, how will it influence the
> system with SMP
> support? Without SMP support?

In a system with more than one physical CPU, hyperthreading is not that big
of a performance boost.

DS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/