[Emc-users] Debian Jessie kernel

2015-02-27 Thread Jim Connery
I have installed Jessie on my ASUS x200ma as Wheezy didn't play well with my 
new toy. I am hoping to install Linuxcnc 2.7 and I was looking around for a RT 
kernel and I cant seem to find one. Any suggestions? Also how long do you folks 
think it might be before we see “official” 2.7 and Jessie? I do realize that my 
system setup will most likely not be reliable enough to make chips with, but I 
still have parts to make for my lathe anyway and I was hoping to at least get 
everything going and turn my servos some. I have a mesa 7i92 and the newer 
system is looking like it my be the way for me to go.
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Problems with ethernet driver.

2015-02-27 Thread Andreas Pettersson
So built another pc, for linuxcnc, and installed it with the 2.6 image.
Installing works fine, and it finds the network card and all.

But once booted it will not detect the wired network anymore.
The chipset is something onboard, known as Intel i217-V.
Its supposed to work with the e1000e driver from Intel and it seem to work
during installation. But then it fails.. No idea why.

Anyone has some input?
I really dont wanna hassle with compiling RTAI on a Wheezy 7.8 manually 
and trying
to get MESA card going from there...  I started looking into it, and it 
looked like a pain.

Kind regards,
Andreas

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
So i had some issued with drivers, but got around that by installing the 
machinekit-rtai kernel
and then manually compile linuxcnc ontop of wheezy..

Well i dont think its optimal.

The setup is a Core i5, 8gb ram and running SSD drivers in a raid 0 
configuration.
Lets say it boots like its on a ramdrive basicly..

Funny thing tho. Max Jitter: 815055 so far.. At a Max interval of 1815032.

I find these numbers extremly high? Shouldnt they be alot.. well lower?

// Andreas

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Sebastian Kuzminsky
On 2/27/15 9:20 AM, Andreas Pettersson wrote:
 But stock wheezy is 64bit and with the RT_PREEMPT kernel, you managed to
 compile linuxcnc with that? All i get when trying that is No realtime
 kernel present error..  :/

Yes, LinuxCNC runs fine on 64-bit RT-Preempt.  You need the uspace 
flavor, which lives in a different place in the deb archive, details here:

http://linuxcnc.org/docs/2.7/html/getting-started/index.html#_alternate_install_methods


If you're building linuxcnc from source, configure with 
--with-realtime=uspace.


-- 
Sebastian Kuzminsky

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Peter C. Wallace
On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 17:20:53 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Latency issues; machinekit Kernel
 
 But stock wheezy is 64bit and with the RT_PREEMPT kernel, you managed to
 compile linuxcnc with that? All i get when trying that is No realtime
 kernel present error..  :


The standard LinuxCNC wheezy ISO uses a RTAI kernel (and you can test latency 
by just booting from a USB stick, no need to install)





 // A

 Peter C. Wallace skrev den 2015-02-27 17:15:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 17:09:10 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Latency issues; machinekit Kernel

 Are you running a standard Wheezy AMD64 install and the master buildbot
 installations as well then??
 I can always reinstall, i rather have a 64bit OS than the PAE version
 anyday.  =)

 // A
 Stock wheezy ISO works fine, I would try latency with that first


 Peter C. Wallace skrev den 2015-02-27 16:20:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 15:58:08 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
   emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Latency issues; machinekit Kernel

 So i had some issued with drivers, but got around that by installing the
 machinekit-rtai kernel
 and then manually compile linuxcnc ontop of wheezy..

 Well i dont think its optimal.

 The setup is a Core i5, 8gb ram and running SSD drivers in a raid 0
 configuration.
 Lets say it boots like its on a ramdrive basicly..

 Funny thing tho. Max Jitter: 815055 so far.. At a Max interval of 1815032.

 I find these numbers extremly high? Shouldnt they be alot.. well lower?

 // Andreas
 Thats pretty bad, do you have all power management/fan control off in the
 BIOS?


 I have a newer MB (ASRock H97M with a Pentium G3258 and built in Intel NIC
 =21x) that has about 4 usec latency with the stock Wheezy RTAI kernel


 I didnt try the intel 21x MAC with the RTAI kernel but it works fine with 
 the
 stock wheezy Preemt-RT kernel (3.2.something)



 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub 
 for all
 things parallel software development, from weekly thought leadership 
 blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs 
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs 
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software 

Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
Ah that worked quite well, but only utilized a fraction of the ram 
properly.. Got the latency down to 3500 with that, its an acceptable speed..

im little bit worried about the ram tho..

anyway, gonna try to get this 6i25 card running next..

// A

Peter C. Wallace skrev den 2015-02-27 17:31:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 17:20:53 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Latency issues; machinekit Kernel

 But stock wheezy is 64bit and with the RT_PREEMPT kernel, you managed to
 compile linuxcnc with that? All i get when trying that is No realtime
 kernel present error..  :

 The standard LinuxCNC wheezy ISO uses a RTAI kernel (and you can test latency
 by just booting from a USB stick, no need to install)




 // A

 Peter C. Wallace skrev den 2015-02-27 17:15:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 17:09:10 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
   emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Latency issues; machinekit Kernel

 Are you running a standard Wheezy AMD64 install and the master buildbot
 installations as well then??
 I can always reinstall, i rather have a 64bit OS than the PAE version
 anyday.  =)

 // A
 Stock wheezy ISO works fine, I would try latency with that first


 Peter C. Wallace skrev den 2015-02-27 16:20:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 15:58:08 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Latency issues; machinekit Kernel

 So i had some issued with drivers, but got around that by installing the
 machinekit-rtai kernel
 and then manually compile linuxcnc ontop of wheezy..

 Well i dont think its optimal.

 The setup is a Core i5, 8gb ram and running SSD drivers in a raid 0
 configuration.
 Lets say it boots like its on a ramdrive basicly..

 Funny thing tho. Max Jitter: 815055 so far.. At a Max interval of 
 1815032.

 I find these numbers extremly high? Shouldnt they be alot.. well lower?

 // Andreas
 Thats pretty bad, do you have all power management/fan control off in the
 BIOS?


 I have a newer MB (ASRock H97M with a Pentium G3258 and built in Intel NIC
 =21x) that has about 4 usec latency with the stock Wheezy RTAI kernel


 I didnt try the intel 21x MAC with the RTAI kernel but it works fine with 
 the
 stock wheezy Preemt-RT kernel (3.2.something)



 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub 
 for all
 things parallel software development, from weekly thought leadership 
 blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub 
 for all
 things parallel software development, from weekly thought leadership 
 blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs 
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain 

Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
Sweet im gonna try that, having issues with PAE not claiming one of the 
memory modules. =)

Thanks!

// A

Sebastian Kuzminsky skrev den 2015-02-27 18:26:
 On 2/27/15 9:20 AM, Andreas Pettersson wrote:
 But stock wheezy is 64bit and with the RT_PREEMPT kernel, you managed to
 compile linuxcnc with that? All i get when trying that is No realtime
 kernel present error..  :/
 Yes, LinuxCNC runs fine on 64-bit RT-Preempt.  You need the uspace
 flavor, which lives in a different place in the deb archive, details here:

 http://linuxcnc.org/docs/2.7/html/getting-started/index.html#_alternate_install_methods


 If you're building linuxcnc from source, configure with
 --with-realtime=uspace.




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
So im guessing the step, where you do ./configure -a in the debian 
folder is void and null when running the RT_PREEMPT kernel, because it 
states there is no realtime kernel and refuses to configure.
In effect i cant figure out which packages i need to install other than 
running the other configure and see what it crashes on..   (a step that 
ive got stuck on at several times).

// Andreas

Sebastian Kuzminsky skrev den 2015-02-27 18:26:
 On 2/27/15 9:20 AM, Andreas Pettersson wrote:
 But stock wheezy is 64bit and with the RT_PREEMPT kernel, you managed to
 compile linuxcnc with that? All i get when trying that is No realtime
 kernel present error..  :/
 Yes, LinuxCNC runs fine on 64-bit RT-Preempt.  You need the uspace
 flavor, which lives in a different place in the deb archive, details here:

 http://linuxcnc.org/docs/2.7/html/getting-started/index.html#_alternate_install_methods


 If you're building linuxcnc from source, configure with
 --with-realtime=uspace.




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Sebastian Kuzminsky
On 2/27/15 11:44 AM, Andreas Pettersson wrote:
 So im guessing the step, where you do ./configure -a in the debian
 folder is void and null when running the RT_PREEMPT kernel, because it
 states there is no realtime kernel and refuses to configure.
 In effect i cant figure out which packages i need to install other than
 running the other configure and see what it crashes on..   (a step that
 ive got stuck on at several times).

The docs on building LinuxCNC are a bit scattered and probably 
incomplete  out of date, but try this page:

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Uspace


-- 
Sebastian Kuzminsky

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Sebastian Kuzminsky
On 2/27/15 11:17 AM, Andreas Pettersson wrote:
 Sweet im gonna try that, having issues with PAE not claiming one of the
 memory modules. =)

This is a bug in our pae kernel - it actually has pae turned off, so 
you can only use the first 3.5 gigs or so.

I punished the guy responsible for that bug...  (it was me)

Give rt-preempt a try, someone who actually knows what they were doing 
built that kernel, and it works fine (as long as it meets you latency 
requirements on your hardware).


-- 
Sebastian Kuzminsky

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
Ah i see, i was considering rebuilding the kernel, so if this isnt 
working i will do that.
But this could be useful to learn as well. - just reinstall for the 30th 
time this day.. *lmao*

// Andreas

Sebastian Kuzminsky skrev den 2015-02-27 19:21:
 On 2/27/15 11:17 AM, Andreas Pettersson wrote:
 Sweet im gonna try that, having issues with PAE not claiming one of the
 memory modules. =)
 This is a bug in our pae kernel - it actually has pae turned off, so
 you can only use the first 3.5 gigs or so.

 I punished the guy responsible for that bug...  (it was me)

 Give rt-preempt a try, someone who actually knows what they were doing
 built that kernel, and it works fine (as long as it meets you latency
 requirements on your hardware).




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
yeah i figured, i got it working and are stressing it now, i wrote this 
for my own head - but will most likely google index pretty fast as well..

http://www.roughedge.se/blogg/2015/02/27/installing-linuxcnc-2-7-uspace-on-debian-wheezy/

Servothread 11347, Base thread 12665 while running
5 glxgears, gzip -c /dev/urandom /dev/null, stress -c 16 -l 16 -m 16 -t1 
4400

So i think im in the clear now. =)

Uspace build could handle alot more punishment. =)

// Andreas

Sebastian Kuzminsky skrev den 2015-02-27 19:49:
 On 2/27/15 11:44 AM, Andreas Pettersson wrote:
 So im guessing the step, where you do ./configure -a in the debian
 folder is void and null when running the RT_PREEMPT kernel, because it
 states there is no realtime kernel and refuses to configure.
 In effect i cant figure out which packages i need to install other than
 running the other configure and see what it crashes on..   (a step that
 ive got stuck on at several times).
 The docs on building LinuxCNC are a bit scattered and probably
 incomplete  out of date, but try this page:

 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Uspace




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Peter C. Wallace
On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 17:09:10 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Latency issues; machinekit Kernel
 
 Are you running a standard Wheezy AMD64 install and the master buildbot
 installations as well then??
 I can always reinstall, i rather have a 64bit OS than the PAE version
 anyday.  =)

 // A

Stock wheezy ISO works fine, I would try latency with that first



 Peter C. Wallace skrev den 2015-02-27 16:20:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 15:58:08 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Latency issues; machinekit Kernel

 So i had some issued with drivers, but got around that by installing the
 machinekit-rtai kernel
 and then manually compile linuxcnc ontop of wheezy..

 Well i dont think its optimal.

 The setup is a Core i5, 8gb ram and running SSD drivers in a raid 0
 configuration.
 Lets say it boots like its on a ramdrive basicly..

 Funny thing tho. Max Jitter: 815055 so far.. At a Max interval of 1815032.

 I find these numbers extremly high? Shouldnt they be alot.. well lower?

 // Andreas
 Thats pretty bad, do you have all power management/fan control off in the
 BIOS?


 I have a newer MB (ASRock H97M with a Pentium G3258 and built in Intel NIC
 =21x) that has about 4 usec latency with the stock Wheezy RTAI kernel


 I didnt try the intel 21x MAC with the RTAI kernel but it works fine with the
 stock wheezy Preemt-RT kernel (3.2.something)



 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs 
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
But stock wheezy is 64bit and with the RT_PREEMPT kernel, you managed to 
compile linuxcnc with that? All i get when trying that is No realtime 
kernel present error..  :/

// A

Peter C. Wallace skrev den 2015-02-27 17:15:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 17:09:10 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Latency issues; machinekit Kernel

 Are you running a standard Wheezy AMD64 install and the master buildbot
 installations as well then??
 I can always reinstall, i rather have a 64bit OS than the PAE version
 anyday.  =)

 // A
 Stock wheezy ISO works fine, I would try latency with that first


 Peter C. Wallace skrev den 2015-02-27 16:20:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 15:58:08 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
   emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Latency issues; machinekit Kernel

 So i had some issued with drivers, but got around that by installing the
 machinekit-rtai kernel
 and then manually compile linuxcnc ontop of wheezy..

 Well i dont think its optimal.

 The setup is a Core i5, 8gb ram and running SSD drivers in a raid 0
 configuration.
 Lets say it boots like its on a ramdrive basicly..

 Funny thing tho. Max Jitter: 815055 so far.. At a Max interval of 1815032.

 I find these numbers extremly high? Shouldnt they be alot.. well lower?

 // Andreas
 Thats pretty bad, do you have all power management/fan control off in the
 BIOS?


 I have a newer MB (ASRock H97M with a Pentium G3258 and built in Intel NIC
 =21x) that has about 4 usec latency with the stock Wheezy RTAI kernel


 I didnt try the intel 21x MAC with the RTAI kernel but it works fine with 
 the
 stock wheezy Preemt-RT kernel (3.2.something)



 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs 
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs 
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored

Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
Are you running a standard Wheezy AMD64 install and the master buildbot 
installations as well then??
I can always reinstall, i rather have a 64bit OS than the PAE version 
anyday.  =)

// A

Peter C. Wallace skrev den 2015-02-27 16:20:
 On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 15:58:08 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Latency issues; machinekit Kernel

 So i had some issued with drivers, but got around that by installing the
 machinekit-rtai kernel
 and then manually compile linuxcnc ontop of wheezy..

 Well i dont think its optimal.

 The setup is a Core i5, 8gb ram and running SSD drivers in a raid 0
 configuration.
 Lets say it boots like its on a ramdrive basicly..

 Funny thing tho. Max Jitter: 815055 so far.. At a Max interval of 1815032.

 I find these numbers extremly high? Shouldnt they be alot.. well lower?

 // Andreas
 Thats pretty bad, do you have all power management/fan control off in the
 BIOS?


 I have a newer MB (ASRock H97M with a Pentium G3258 and built in Intel NIC
 =21x) that has about 4 usec latency with the stock Wheezy RTAI kernel


 I didnt try the intel 21x MAC with the RTAI kernel but it works fine with the
 stock wheezy Preemt-RT kernel (3.2.something)



 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Peter C. Wallace
On Fri, 27 Feb 2015, Andreas Pettersson wrote:

 Date: Fri, 27 Feb 2015 15:58:08 +0100
 From: Andreas Pettersson andr...@roughedge.se
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Latency issues; machinekit Kernel
 
 So i had some issued with drivers, but got around that by installing the
 machinekit-rtai kernel
 and then manually compile linuxcnc ontop of wheezy..

 Well i dont think its optimal.

 The setup is a Core i5, 8gb ram and running SSD drivers in a raid 0
 configuration.
 Lets say it boots like its on a ramdrive basicly..

 Funny thing tho. Max Jitter: 815055 so far.. At a Max interval of 1815032.

 I find these numbers extremly high? Shouldnt they be alot.. well lower?

 // Andreas

Thats pretty bad, do you have all power management/fan control off in the 
BIOS?


I have a newer MB (ASRock H97M with a Pentium G3258 and built in Intel NIC 
=21x) that has about 4 usec latency with the stock Wheezy RTAI kernel


I didnt try the intel 21x MAC with the RTAI kernel but it works fine with the 
stock wheezy Preemt-RT kernel (3.2.something)




 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
If its stable running after 15min of basicly 100% cpu load - do i need 
to bother running it any longer?

// Andreas

Sebastian Kuzminsky skrev den 2015-02-27 19:49:
 On 2/27/15 11:44 AM, Andreas Pettersson wrote:
 So im guessing the step, where you do ./configure -a in the debian
 folder is void and null when running the RT_PREEMPT kernel, because it
 states there is no realtime kernel and refuses to configure.
 In effect i cant figure out which packages i need to install other than
 running the other configure and see what it crashes on..   (a step that
 ive got stuck on at several times).
 The docs on building LinuxCNC are a bit scattered and probably
 incomplete  out of date, but try this page:

 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Uspace




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread John Kasunich
On Fri, Feb 27, 2015, at 02:13 PM, Andreas Pettersson wrote:
 If its stable running after 15min of basicly 100% cpu load - do i need 
 to bother running it any longer?
 

Is if 15 minutes of doing the same load thing over and over?  Or doing a lot
of different things?

CPU loading usually doesn't cause latency issues.  It's things like poorly done
power management (in the BIOS or the kernel), or graphics drivers, or .

We had one computer that had great latency until you dragged a window 
around on the screen.  Then the GPU would take hold of the bus in order
to redraw the window, and everything else screeched to a halt for hundred
of microseconds.

Stress it in a variety of ways - transfer large files on the network, drag 
windows around, play a youtube video, run glxgears, walk away until the
screensaver and/or power management kicks in, etc.


-- 
  John Kasunich
  jmkasun...@fastmail.fm

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Introduction and a couple questions

2015-02-27 Thread Brent Loschen

On 2/21/2015 6:27 PM, Kirk Wallace wrote:
 On 02/21/2015 03:42 PM, Brent Loschen wrote:
 Greetings everyone!  New guy here.  I've been following the group for
 several weeks and feel it's time for an intro and to get some
 suggestions for a small project I'm working on.
 Welcome to the world of LinuxCNC.

Thank you Andy P., Mark W., and Peter W. for your responses to my 
original post - most helpful!.  My apologies for this delayed response.

I've been reading everything I can, and I'm weighing the various options 
for the desktop mill (to practice on with steppers) vs the Bridgeport 
(brushed DC servo ) conversion down the road.  I'm not sure if some of 
the components used in CNC systems really do have multiple names for the 
same functionality, or if there are subtle differences between them.  
For instance is a motion controller the same as a PLC or FPGA?  In 
certain contexts, I get the impression that they are the same, yet in 
others, a motion controller seems to be a  programmable device used 
for fixed functionality i.e. robotic pick and place.  In my world, PLC's 
and FPGA's are discrete semiconductor components, not complete boards 
controlled by them!

Another question I can't seem to answer is, what's the fundamental 
difference between using a standard bit banged pport vs using 
something like 7i43 or a bus connected 5i25?In the default case (no 
special hardware), my understanding is that LCNC toggles the lines of 
the pport (step/direction signals?) which are connected to a stepper 
drive.  What I've not been able to answer, is how the fundamentals 
change when using, say a 7i43, connected to the same port?  Instead of 
sending pulses out the pport, LCNC must instead be sending some kind of 
higher level data stream (possibly lower bandwidth? ) to the 7i43 where 
it gets converted to precisely timed step/dir pulses - is that right?  
If so, what is that data and how is it different from step/dir signals 
in the default case?  Can anyone comment on the differences or point me 
to documentation that explains it?

Along the same lines, I've wondered how acceleration/deceleration is 
handled.  Is it always manged by LCNC regardless of bit banging or 
additional hardware, or do FPGA/PLC based boards ever handle that too?

Thanks,
Brent

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Andreas Pettersson
Ah well yeah the GPU was an issue, running the onboard in the i5 - but 
giving it more resources helped alot.

For I/O i ran a create and move file around and delete script that uses 
/dev/urandom and create, random sized file, gzips it, moves it a couple 
of times to random folder and then deletes it. (same i use for grading 
webservers when doing node.js work).

Did not do the youtube thing - but ran glxgears x 5, and gzip -c 
/dev/urandom /dev/null. But i imagine some more stuff needs to be 
tested.. the APM is turned off so is also the CPU C instructions for 
throttling.

Thanks for help anyway. =)

// Andreas

John Kasunich skrev den 2015-02-27 23:37:
 On Fri, Feb 27, 2015, at 02:13 PM, Andreas Pettersson wrote:
 If its stable running after 15min of basicly 100% cpu load - do i need
 to bother running it any longer?

 Is if 15 minutes of doing the same load thing over and over?  Or doing a lot
 of different things?

 CPU loading usually doesn't cause latency issues.  It's things like poorly 
 done
 power management (in the BIOS or the kernel), or graphics drivers, or .

 We had one computer that had great latency until you dragged a window
 around on the screen.  Then the GPU would take hold of the bus in order
 to redraw the window, and everything else screeched to a halt for hundred
 of microseconds.

 Stress it in a variety of ways - transfer large files on the network, drag
 windows around, play a youtube video, run glxgears, walk away until the
 screensaver and/or power management kicks in, etc.




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency issues; machinekit Kernel

2015-02-27 Thread Sebastian Kuzminsky
On 2/27/15 3:37 PM, John Kasunich wrote:

 Stress it in a variety of ways - transfer large files on the network, drag
 windows around, play a youtube video, run glxgears, walk away until the
 screensaver and/or power management kicks in, etc.

Also try disk I/O and USB hotplug events.


-- 
Sebastian Kuzminsky

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Introduction and a couple questions

2015-02-27 Thread Peter C. Wallace
On Fri, 27 Feb 2015, Brent Loschen wrote:

 Date: Fri, 27 Feb 2015 15:24:48 -0700
 From: Brent Loschen brent.losc...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Introduction and a couple questions
 

 On 2/21/2015 6:27 PM, Kirk Wallace wrote:
 On 02/21/2015 03:42 PM, Brent Loschen wrote:
 Greetings everyone!  New guy here.  I've been following the group for
 several weeks and feel it's time for an intro and to get some
 suggestions for a small project I'm working on.
 Welcome to the world of LinuxCNC.

 Thank you Andy P., Mark W., and Peter W. for your responses to my
 original post - most helpful!.  My apologies for this delayed response.

 I've been reading everything I can, and I'm weighing the various options
 for the desktop mill (to practice on with steppers) vs the Bridgeport
 (brushed DC servo ) conversion down the road.  I'm not sure if some of
 the components used in CNC systems really do have multiple names for the
 same functionality, or if there are subtle differences between them.
 For instance is a motion controller the same as a PLC or FPGA?  In
 certain contexts, I get the impression that they are the same, yet in
 others, a motion controller seems to be a  programmable device used
 for fixed functionality i.e. robotic pick and place.  In my world, PLC's
 and FPGA's are discrete semiconductor components, not complete boards
 controlled by them!

A PLC or FPGA _can_ both be motion controllers
(they are both programable logic devices though a PLC to me
is a control appliance in  a box where a FPGA is a chip)



 Another question I can't seem to answer is, what's the fundamental
 difference between using a standard bit banged pport vs using
 something like 7i43 or a bus connected 5i25?In the default case (no
 special hardware), my understanding is that LCNC toggles the lines of
 the pport (step/direction signals?) which are connected to a stepper
 drive.  What I've not been able to answer, is how the fundamentals
 change when using, say a 7i43, connected to the same port?  Instead of
 sending pulses out the pport, LCNC must instead be sending some kind of
 higher level data stream (possibly lower bandwidth? ) to the 7i43 where
 it gets converted to precisely timed step/dir pulses - is that right?
 If so, what is that data and how is it different from step/dir signals
 in the default case?  Can anyone comment on the differences or point me
 to documentation that explains it?

Because high speed operations like encoder counting and step generation
may be required at rates that are difficult for a general purpuse 
CPU (like  PC) to do, off-loading these operations to external logic
allows improved performance.

For step generation, LinuxCNC specifies the step rate
and the external hardware generate pulses at this rate until
updated by linuxcnc (updates occur at the servo thread rate
typically 1 KHz)



 Along the same lines, I've wondered how acceleration/deceleration is
 handled.  Is it always manged by LCNC regardless of bit banging or
 additional hardware, or do FPGA/PLC based boards ever handle that too?

As far as I know acceleration is always handled enirely by LinuxCNC
Though if you had either a slow servo thread or needed extreme
acceleration, it could easily be added to the step generation logic


 Thanks,
 Brent

 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Introduction and a couple questions

2015-02-27 Thread andy pugh
On 27 February 2015 at 22:24, Brent Loschen brent.losc...@gmail.com wrote:
 If so, what is that data and how is it different from step/dir signals
 in the default case?  Can anyone comment on the differences or point me
 to documentation that explains it?

It might help to start with the parport stepgen.

That has two functions. The slow function runs every time the
servo-thread runs, typically every 1mS. It reads in the next position
target from HAL, looks at where it is now, and calculates a step-rate
required to get to that position by the time the next update comes in
in 1mS.

Then the base-thread runs about every 25uS and either makes a pulse or
doesn't make a pulse depending on whether one is needed to maintain
the step rate requested by the servo thread.

In the case of a Pico or Mesa p-port connected FPGA card the first
step looks just the same. Code running on the PC looks at position and
target and decides what step-rate is needed. But this data is then
passed to the FPGA as data on the EPP bus, and the actual steps are
generated by the FPGA.

The big difference is step-rate resolution. The base clock of the
bit-banged solution is 25kHz. The FPGA card timer resolution is around
10Mhz.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users