RTAI works better on some boards with the boot option isolcpus=x set in
Grub, where x is the number of processor cores minus the first one. In the
case of the d525, which has two cores, it should be isolcpus=1. On a four
core CPU this will be isolcpus=1,2,3 (specially with hyper threading
active, which doesn't make sense on an isolated two core CPU).
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RealTime
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And_GRUB2

I did it this way:
$ sudo gedit /etc/default/grub
Add the isolcpus option in the end of the line GRUB_CMDLINE_LINUX_DEFAULT
Save and exit
$ sudo update-grub
This is one of the rare cases of a needed reboot, so reboot.

You can run the command
$ cat /proc/cmdline
afterwards to make sure that it took effect. it should be included in the
output.

/Sven



2014/1/12 Marius Liebenberg <mar...@mastercut.co.za>

> Sven
> Can you point us to some information regarding the boot options or could
> you give some pointers as to what to do. I would like to look at some
> performance improvements as I use the D525 board a lot.
>
> On 2014-01-11 19:43, Sven Wesley wrote:
> > You might remember that I made tests with the Atom boards and they didn't
> > work as expected. Back then we came to the conclusion that different
> > versions of the board where performing differently.
> >
> > When the European Integrator's meeting were held one off the German guys
> > told me he had a lot of experience with these kind of boards and they
> truly
> > behave different. But he gave me a quick tip: Use a PS/2 mouse!
> > So, I just reinstalled one of them with Xubuntu and the 12.04
> installation
> > and decided I should try the mouse trick. I tried both a USB and a PS/2
> > mouse. Hyper threading is disabled, no boot options yet and it went from
> 25
> > 000 to 15 000 ns. It was actually holding a pretty stable 9 000 for a
> long
> > time with xeyes, downloading files, HQ youtube clip and a Vimeo video
> > running at the same time. Something made it jump to 15000 and then back
> > again. Graphics still lags with this setup even though Xubuntu seems much
> > better.
> >
> > I added isolcpus=1 to the boot options and did the latency test again.
> Ran
> > it twice (the movies lags like crazy) and got 11400 and 9100 ns.
> >
> > >From 28 000 ns to 10 000. That's a difference.
> >
> > I'm going to run Mesa cards with these PC's so the timing isn't that
> > critical any longer. It feels pretty nice though that the boards can
> behave
> > a bit better than before with a very small fix.
> >
> > /Sven
> >
> ------------------------------------------------------------------------------
> > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > Critical Workloads, Development Environments & Everything In Between.
> > Get a Quote or Start a Free Trial Today.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> --
>
> Regards /Groete
>
> Marius D. Liebenberg
> +27 82 698 3251
> +27 12 743 6064
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to