On Thursday 24 October 2013 11:05:25 Kent Reed did opine:

> On Thu, Oct 24, 2013 at 10:10 AM, Gene Heskett <[email protected]> wrote:
> > <...>
> > Hyperthreading needs to be off, as evidenced by the demsg output only
> > listing 2 cores, not 4, and the "linux" line in his
> > /boot/grub/grub.cfg entry needs to read:
> > 
> > menuentry 'Ubuntu, with Linux 2.6.32-122-rtai' --class ubuntu --class
> > gnu-linux --class gnu --class os {
> > 
> >         recordfail
> >         insmod ext2
> >         set root='(hd0,1)'
> >         search --no-floppy --fs-uuid --set
> > 
> > 06cb5bee-dd7e-42be-a4b6-d42fbdf5ce0c
> > 
> >         linux   /boot/vmlinuz-2.6.32-122-rtai
> > 
> > root=UUID=06cb5bee-dd7e-42be-a4b6-d42fbdf5ce0c ro quiet splash
> > isolcpus=1
> > 
> >         initrd  /boot/initrd.img-2.6.32-122-rtai
> > 
> > }
> > 
> > Note the isolcpus=1 on the end of the 'linux' line, it has to be hand
> > edited into that file after the installation is done, and then
> > rebooted again to enable it.  The UUID's should be different from the
> > above.
> 
> It's generally a bad idea to hand-edit the grub.cfg file. It even says
> why at the top just after the "DO NOT EDIT THIS FILE" comment.
> 
> I posted a page to the Wiki two years ago  (
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And
> _GRUB2) about my solution to the problem.
> 
> Regards,
> Kent

I think I followed this recipe when I did that.  It does give some extra 
whitespace in front of the argument.

In this case , since we don't normally update the kernel, the grub.cfg 
rebuild isn't being done, so either method would get the job done.

What I wanted to offer was a quick & dirty way for the OP to check that it 
was done, just by looking at the generated grub.cfg.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

It is more rational to sacrifice one life than six.
                -- Spock, "The Galileo Seven", stardate 2822.3
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to