On 1/30/2012 8:36 PM, gene heskett wrote:
> Greetings all;
>
> Just in the last day it has come to my attention that both emc-2.6.0-pre
> (latest emc from buildbot, master-rt branch) and the slightly newer renamed
> linuxcnc-2.6.0-pre (latest from buildbot) are both running exclusively on
> cpu0, and about tapping it out, even at 65 u-sec base loop, keyboard
> response from either is in the 1+ second area, and a G39.2 z2.0 virtually
> crushed the pcb contact the full 1/16" of clearance under it, putting a
> good mark and an extremely visible sag in the middle before it got stopped.
>
> So I rebooted the atom box&  immediately ran the newest emc from the
> buildbot, no change, its all on cpu0, and this was in the dmesg output when
> I looked:
>
> [   22.713987] CPU0 attaching NULL sched-domain.
> [   22.749773] CPU0 attaching sched-domain:
> [   22.749782]  domain 0: span 0-1 level CPU
> [   22.749809]   groups: 0 1
> [   22.749822] CPU1 attaching sched-domain:
> [   22.749827]  domain 0: span 0-1 level CPU
> [   22.749832]   groups: 1 0
> [   22.750253] CPU0 attaching NULL sched-domain.
> [   22.750262] CPU1 attaching NULL sched-domain.
> [   22.780105] CPU0 attaching sched-domain:
> [   22.780113]  domain 0: span 0-1 level CPU
> [   22.780120]   groups: 0 1
> [   22.780131] CPU1 attaching sched-domain:
> [   22.780136]  domain 0: span 0-1 level CPU
> [   22.780141]   groups: 1 0
> [   25.155333] CPU0 attaching NULL sched-domain.
> [   25.155345] CPU1 attaching NULL sched-domain.
> [   25.184112] CPU0 attaching sched-domain:
> [   25.184120]  domain 0: span 0-1 level CPU
> [   25.184127]   groups: 0 1
> [   25.184138] CPU1 attaching sched-domain:
> [   25.184143]  domain 0: span 0-1 level CPU
> [   25.184148]   groups: 1 0
> [   25.184510] CPU0 attaching NULL sched-domain.
> [   25.184518] CPU1 attaching NULL sched-domain.
> [   25.216149] CPU0 attaching sched-domain:
> [   25.216157]  domain 0: span 0-1 level CPU
> [   25.216164]   groups: 0 1
> [   25.216175] CPU1 attaching sched-domain:
> [   25.216179]  domain 0: span 0-1 level CPU
> [   25.216184]   groups: 1 0
> [  105.425985] I-pipe: Domain RTAI registered.
> [  105.425999] RTAI[hal]:<3.8.1>  mounted over IPIPE-NOTHREADS 2.6-03.
> [  105.426005] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
> 4.4.3-4ubuntu5) .
> [  105.426087] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
> IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
>                   ^^^^^^^^^^^^^^^^^^^^
> <...>
> What does the ^^^^^^^^^^^^^^ above tell the guru's?
>
> Cheers, Gene
Gene:

I don't know squat about the internals of RTAI. When I start (LinuxCNC) 
2.4.6 on Ubuntu 10.04LTS (installed from the LiveCD and then updated), I 
get the same "RTAI ...ISOL_CPUS_MASK: 0". On the other hand, early on , 
dmesg reports the kernel booted with "isolcpus=1".

My ASUS AT5NM10-I MB is not connected to a CNC controller so I'm running 
the sim/axis_mm demo configuration as I report this. I don't see a slow 
down in LinuxCNC response.

As an aside, I'm not loaded up with a lot of ordinary (e.g., 
non-realtime) programs. I have seen a slow down in their response in the 
past like when I was trying to stress the machine while running 
latency_test. In a nutshell, I supposed that a single Atom cpu isn't all 
that powerful but perhaps there's something else going on as well.

What's your evidence that LinuxCNC is running exclusively on cpu0? Don't 
forget that all the realtime stuff is running on the isolated cpu. It's 
the userspace stuff like axis that is running on the nonisolated cpu and 
that shows up in process listings (ps, top, etc).

Regards,
Kent




------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to