Real time error on fast PC & install PCI Parport?

More
14 Nov 2011 13:10 #14808 by andypugh
questi wrote:

I dont wana buy another computer if I dont have to. Maybe I can get my hands on a pentium 1.6GHz single core, 500mb ram. Is that enough?

There is something to be said for having a dedicated machine controller PC, in the box with all the other electronics. Many people have found that the mini ITX Atom boards work very well. The D525 for example works a treat with onboard video, has latency of around 7000 and costs $75
www.newegg.com/Product/Product.aspx?Item=N82E16813121442
You would need to add RAM, HD and a PSU to that price. Mine has a £20 8GB SSD and a £25 60W PicoPSU, for a system with no moving parts at all.

it might be worth trying Ye Olde Pentium, EMC2 is really not very demanding of processor horsepower, all it cares about is consistent and low latency.

Please Log in or Create an account to join the conversation.

  • questi
  • questi's Avatar Topic Author
  • Visitor
  • Visitor
14 Nov 2011 18:35 - 14 Nov 2011 18:36 #14815 by questi
Sorry Im not next to computer right now. Actually you are right, I remember it is df08 in my case.

Before emc just wont start and keeps crashing. So I went into the settings file and deleted out the extra "0xdf08 out" to just "0xdf08" then it was able to start. I guess this was the reason I couldnt figure out port by trial and error because the extra info messed it up and would never start even when I type it right in stepconfig.

Ok since my comp is not suited and a new one is not too costly maybe I will go there instead of getting a used one which will cost me as much. And the D525 suggested has PCI port too so my card is not wasted.

Regarding the D525, its a dual core, so for this one I definately need to do the isolcpus=1 thing?

Also, should I be getting the Gigabyte motherboard version or the intel (the intel has only heat sink and no fan so maybe advantage from noise perspective but maybe the Gigabyte faster)?\

I guess my final question abou the D525 is, can this guy handle being remote desktop into without lagging? My old setup I do a headless linux so I can use my main computer to remote desktop in, but there are very minor display lag issues but doesnt affect function.
Last edit: 14 Nov 2011 18:36 by questi.

Please Log in or Create an account to join the conversation.

More
14 Nov 2011 18:59 #14818 by andypugh
questi wrote:

Before emc just wont start and keeps crashing./quote]<ahem> EMC2 doesn't "crash" it exits in an orderly manner and informs you what the problem was…

As for D525, generally folk are using the Intel one, and I remote desktop into my D510 regularly with no problems.

There are a few similar boards out there with a 12V DC input, which would be tempting in an embedded installation, but they would be an unknown quantity, I am afraid.

Please Log in or Create an account to join the conversation.

More
14 Nov 2011 19:11 #14819 by BigJohnT
questi wrote:

Regarding the D525, its a dual core, so for this one I definately need to do the isolcpus=1 thing?

Also, should I be getting the Gigabyte motherboard version or the intel (the intel has only heat sink and no fan so maybe advantage from noise perspective but maybe the Gigabyte faster)?


You don't have to but on my Intel D525BOX I set isolcpus=1 and disabled hyperthreading in the bios both of which improved the latency a bit.

John

Please Log in or Create an account to join the conversation.

  • questi
  • questi's Avatar Topic Author
  • Visitor
  • Visitor
15 Nov 2011 15:08 - 15 Nov 2011 15:34 #14836 by questi
Coincidentally I have spare DDR3 sodimms that I can use from home so that definately saves on cost and a spare HDD I can pull out and use for this.

Im wondering though, my ram is DDR3 PC-8500. I assume the RAM is backward compatible so the motherboard can take my ram instead of getting the lower end ram it requires (the DDR3 PC-800)?

Im wondering if there are options available for uploading all motion commands to be controlled by a dedicated controller instead of EMC2 so that you avoid any potential for missed steps and have great speed. I guess EMC2 itself is a motion controller, but its a PC based on and PCs sometimes have intermittent lag and stuff so when operating open loop with steppers, its not impossible for some random lag spike to throw your job off a bit? With a dedicated controller with stored memory from buffered signals sent from EMC2, it may avoid those problems?

But I guess thats why you are advocating a dedicated computer for EMC2 so to avoid random lag, but even still, wont the computer do some random system update or some checks randomly and that may throw the timing off by a bit and maybe even cause a few missed microsteps?
Last edit: 15 Nov 2011 15:34 by questi.

Please Log in or Create an account to join the conversation.

More
15 Nov 2011 16:10 #14839 by andypugh
questi wrote:

But I guess thats why you are advocating a dedicated computer for EMC2 so to avoid random lag, but even still, wont the computer do some random system update or some checks randomly and that may throw the timing off by a bit and maybe even cause a few missed microsteps?

This is exactly why EMC2 runs on a patched kernel with realtime extensions. The realtime layer guarantees that the motion commands are sent exactly when required. The realtime code has absolute priority over all other software. This is what the latency test is about, it is a check that the underlying _hardware_ doesn't steal focus from the motion controller. Unfortunately a lot of the high-end gaming machines (and laptops) do have intermediate hardware that causes problems.

With a machine which has good latency you can play music and watch Youtube while machining. Which does help to pass the time.

Please Log in or Create an account to join the conversation.

  • questi
  • questi's Avatar Topic Author
  • Visitor
  • Visitor
18 Nov 2011 02:47 #14911 by questi
BigJohnT wrote:

questi wrote:

Regarding the D525, its a dual core, so for this one I definately need to do the isolcpus=1 thing?

Also, should I be getting the Gigabyte motherboard version or the intel (the intel has only heat sink and no fan so maybe advantage from noise perspective but maybe the Gigabyte faster)?


You don't have to but on my Intel D525BOX I set isolcpus=1 and disabled hyperthreading in the bios both of which improved the latency a bit.

John

I just got that motherboard and received it today. I was wondering if you were getting real time latency warning when EMC2 starts just by disabling hyperthreading and setting isolcpus=1?

I did that on a vanilla setup but everytime I start EMC2 I will get an error, but the actual jitter is pretty good, around 5000 on moderate load, around 1000 something when you have no load (is that possible? most people report pretty high numbers).

The only thing hardware wise that may not be idea is the RAM, since I pulled that out of a laptop and it is PC3-8500 ram, but it should be backward compatible though?

Please Log in or Create an account to join the conversation.

More
18 Nov 2011 07:55 #14912 by ArcEye
Hi

everytime I start EMC2 I will get an error,


You can't just start EMC, you have to select a config first.
Are you running the same stepconf derived config that gave you errors on your old machine? If so please post the .ini file.
You can get realtime errors because the base thread is set to silly figures.

Do you get realtime errors running one of the sims?

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum