Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread Leslie Newell
This is very interesting. I only started thinking about it because I set up my house machine using the EMC live cd and noticed only one core was being used. As I don't actually need RTAI on this machine I simply switched to the generic kernel which has SMP. Les Alex Joni wrote: > > I think the

Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread Stephen Wille Padnos
John Kasunich wrote: >Stephen Wille Padnos wrote: > > >>I have done reasonably extensive testing on an Intel Core 2 Duo CPU, and >>I found that the latencies weren't improved much simply by using an >>isolated CPU. What did help (a lot!) was making the Linux-managed core >>do a lot of nothin

Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread John Kasunich
Stephen Wille Padnos wrote: > > I have done reasonably extensive testing on an Intel Core 2 Duo CPU, and > I found that the latencies weren't improved much simply by using an > isolated CPU. What did help (a lot!) was making the Linux-managed core > do a lot of nothing. Running the bash scri

Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread Stephen Wille Padnos
Michael Buesch wrote: >[snip] > >Nice. What are the basic config settings you have to do? >How to bind rtai to a CPU? > > RTAPI already does this - it uses the highest numbered active CPU for RT tasks when compiled for SMP. You need to use a kernel command-line parameter, isolcpus. This is a

Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread Alex Joni
> when booting the linux kernel you use isolcpus > (http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re46.html) > Note: isolcpus is supposed to get deprecated in favour of another > mechanism. Here's an example using cpusets: http://kerneltrap.org/mailarchive/linux-kernel/

Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread Alex Joni
> On Monday 01 December 2008 18:57:50 Chris Radek wrote: >> On Mon, Dec 01, 2008 at 05:46:48PM +, Leslie Newell wrote: >> > Is it possible to use EMC with multi-core processors? I see that by >> > default the kernel is compiled to only support one processor but what >> > would happen if SMP s

Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread Michael Buesch
On Monday 01 December 2008 18:57:50 Chris Radek wrote: > On Mon, Dec 01, 2008 at 05:46:48PM +, Leslie Newell wrote: > > Is it possible to use EMC with multi-core processors? I see that by > > default the kernel is compiled to only support one processor but what > > would happen if SMP support

Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread Alex Joni
> On Mon, Dec 01, 2008 at 05:46:48PM +, Leslie Newell wrote: >> Is it possible to use EMC with multi-core processors? I see that by >> default the kernel is compiled to only support one processor but what >> would happen if SMP support was compiled in? Would RTAI choke? >> >> As multi-core pro

Re: [Emc-users] Multi-core processors with EMC

2008-12-01 Thread Chris Radek
On Mon, Dec 01, 2008 at 05:46:48PM +, Leslie Newell wrote: > Is it possible to use EMC with multi-core processors? I see that by > default the kernel is compiled to only support one processor but what > would happen if SMP support was compiled in? Would RTAI choke? > > As multi-core processo