- Posts: 53
- Thank you received: 0
General questions on best method for installing Linuxcnc for software stepping.
9 years 10 months ago #84354
by MDM3D
General questions on best method for installing Linuxcnc for software stepping. was created by MDM3D
Hello Linuxcnc Forum,
My name is Nick and am attempting to do a clean installation of linuxcnc to a Dell Optiplex 780 SFF. The specs are a Q6600 Core 2 Quad, a radeon 4650 graphics card and, 12GB DDR3 ram. This configuration appears to show some promise for software stepping based on the linuxcnc latency test scores posted. I tried the latency test on the default wheezy 2.7 and saw on average low latency 5us but random peaks of up to 100us when running for an hour or more which is no good. I have been reading about x86 pae and amd64 build variants and the differences between the RTAI and Preempt-RT kernels but I can't seem to find or maybe understand whether or not amd64 is actually supported. Some articles on the forum say that amd64 is buggy and yet the buildbot website shows that debian 8 will work with preempt-rt.
The basic question is what version of linux os(x86pae/amd64) would you recommend for software stepping and which kernel, along with which version of linuxcnc vs 2.7 or 2.7.8?
I am slightly familiar with linux mint and would greatly prefer to use it's ui over say Ubuntu but step rate is key. I need at least a 20Khz step rate for my machine to function properly 30Khz would be ideal.
I am coming from tinyg2 and chilipepper but I am trying to run highspeed adaptive toolpaths(large gcode files) and chillipepper freaks out about chrome not having enough memory despite GB's of excess ram. and just dripping the gcode file through coolterm really sucks with its lack of control. I have read great things about linuxcnc and it seems to be better than tinyg2 in every way except for 2 points, step rates and 3rd order motion planning. The arduino due is good for 200Khz and buttery smooth motion just the ui cripples it.
thanks for your help and advice.
My name is Nick and am attempting to do a clean installation of linuxcnc to a Dell Optiplex 780 SFF. The specs are a Q6600 Core 2 Quad, a radeon 4650 graphics card and, 12GB DDR3 ram. This configuration appears to show some promise for software stepping based on the linuxcnc latency test scores posted. I tried the latency test on the default wheezy 2.7 and saw on average low latency 5us but random peaks of up to 100us when running for an hour or more which is no good. I have been reading about x86 pae and amd64 build variants and the differences between the RTAI and Preempt-RT kernels but I can't seem to find or maybe understand whether or not amd64 is actually supported. Some articles on the forum say that amd64 is buggy and yet the buildbot website shows that debian 8 will work with preempt-rt.
The basic question is what version of linux os(x86pae/amd64) would you recommend for software stepping and which kernel, along with which version of linuxcnc vs 2.7 or 2.7.8?
I am slightly familiar with linux mint and would greatly prefer to use it's ui over say Ubuntu but step rate is key. I need at least a 20Khz step rate for my machine to function properly 30Khz would be ideal.
I am coming from tinyg2 and chilipepper but I am trying to run highspeed adaptive toolpaths(large gcode files) and chillipepper freaks out about chrome not having enough memory despite GB's of excess ram. and just dripping the gcode file through coolterm really sucks with its lack of control. I have read great things about linuxcnc and it seems to be better than tinyg2 in every way except for 2 points, step rates and 3rd order motion planning. The arduino due is good for 200Khz and buttery smooth motion just the ui cripples it.
thanks for your help and advice.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
9 years 10 months ago #84358
by tommylight
Replied by tommylight on topic General questions on best method for installing Linuxcnc for software stepping.
I had one of those computers awhile back, was running 10.04 ubuntu with 2.7 version of linuxcnc and i can not remeber having any problem with it , but i had to change the graphic card ( had a quadro something from nvidia). Later found out that it will work quite nicely with nvidia but without the proprietary driver, as the nvidia driver tenda to do powersaving and switches core and memory speeds a lot.
This is valid for all computers:
HDD will cause latency spikes!!!
So having an SSD helps a lot, also using a USB to run Linuxcnc will produce lower latency times (i find this strange as USB is much slower).
I have tested this on over 20 computers as i decide on buying computers by testing the latency running from USB, and got surprised several times after installing it on HDD and getting bigger latency numbers.
Back to your actual system, try the 10.04 iso, if you are satisfied with the numbers you can upgrade Linuxcnc to version 2.7.8 or one version of 2.8pre, the only thing missing will be joint/axis support. I have this (2.8pre) running on an Asus P5B Deluxe board for quite some time now, it does 50kHz nicely. I use the built in RAID controller for the HDD's in raid 0 configuration.
I never tested the 64 bit version on the Dell so i do not know what latency numbers it would do.
This is valid for all computers:
HDD will cause latency spikes!!!
So having an SSD helps a lot, also using a USB to run Linuxcnc will produce lower latency times (i find this strange as USB is much slower).
I have tested this on over 20 computers as i decide on buying computers by testing the latency running from USB, and got surprised several times after installing it on HDD and getting bigger latency numbers.
Back to your actual system, try the 10.04 iso, if you are satisfied with the numbers you can upgrade Linuxcnc to version 2.7.8 or one version of 2.8pre, the only thing missing will be joint/axis support. I have this (2.8pre) running on an Asus P5B Deluxe board for quite some time now, it does 50kHz nicely. I use the built in RAID controller for the HDD's in raid 0 configuration.
I never tested the 64 bit version on the Dell so i do not know what latency numbers it would do.
The following user(s) said Thank You: MDM3D
Please Log in or Create an account to join the conversation.
9 years 10 months ago #84360
by MDM3D
Replied by MDM3D on topic General questions on best method for installing Linuxcnc for software stepping.
Thanks for the reply. By 10.04 you mean ubuntu 10.04 LTS right or am I missing something?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
9 years 10 months ago #84362
by tommylight
Replied by tommylight on topic General questions on best method for installing Linuxcnc for software stepping.
Yes, ubuntu 10.04 LTS Linuxcnc version. I really like to use this version on all my machines, except the ones i use for experimenting.
Please Log in or Create an account to join the conversation.
9 years 10 months ago - 9 years 10 months ago #84454
by MDM3D
Replied by MDM3D on topic General questions on best method for installing Linuxcnc for software stepping.
Okay so over the past couple of days I have tried the wheezy 2.7 x86 iso, the ubuntu 10.04 lts x86 iso, a netiso install of debian jessie x64 with 2.7.8 with preempt-rt, and last night/ early this morning I did a clean install of linux mint followed by bigJohnT's commands to install 2.7.8 with rtai 3.4.6 pae x86. The highest jitter is around 40us with the the wheezy iso, ubuntu and jessie seem to be stable around 33us and surprisingly the mint install is the the fastest with a jitter of around 28us. However 28 us is marginal and leaves almost no fudge factor. Everything i have read about optimizing a quad core seem to only use a single core using isolcpu grub commands so before i go down that path I have one last hardware trick up my sleeve. I have a core2duo E8500 would you think that this cpu would perform better out of the box or would it preform worse because it has less L2 cache overall?. the Q6600 has 8Mb of L2 cache but I "think" it is spread among the 4 cores. however the E8500 has 6Mb of L2 but only 2 cores? Again I don't fully understand anything about this plays any effect but I figured you might have a suggestion. Unfortunately the SFF case can only fit half height graphics cards and the only two cards I have in my possession are ati/amd. I have not yet tried tweaking any other profiles. Hopefully I can come up with a hardware combo that will provide 20 to 25 us of max jitter.
Last edit: 9 years 10 months ago by MDM3D.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4737
- Thank you received: 1480
9 years 10 months ago - 9 years 10 months ago #84462
by Todd Zuercher
Replied by Todd Zuercher on topic General questions on best method for installing Linuxcnc for software stepping.
On a q6600 you may want to try adding a graphics card, or trying a different one if you already have one. It can also be worthwhile to experiment with different settings for isolcpus (0 or 1 or 2 or 3 or 0,1 or 2,3 or 0,1,2 or 1,2,3) to see what works best for your system. The one entry for a q6600 cpu in the
latency test wiki
, uses a Radeon card and isolcpus=3 and gets decent numbers. (but that is no guarantee that yours will.)
Last edit: 9 years 10 months ago by Todd Zuercher.
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds