- Posts: 114
- Thank you received: 4
ubuntu 14.04.1 linuxcnc help
- Razor_keen
- Topic Author
- Offline
- Premium Member
-
Less
More
10 years 10 months ago #66784
by Razor_keen
Replied by Razor_keen on topic ubuntu 14.04.1 linuxcnc help
Please Log in or Create an account to join the conversation.
10 years 10 months ago #66797
by tjmarch
Replied by tjmarch on topic ubuntu 14.04.1 linuxcnc help
Jason
I know you are keeping track of the steps you are doing now. May I suggest that when trying a new kernel that you only add one latency saving item at a time then do a test. If that item works out then add another till you find a good fit.
From dealing with Ubuntu desktop with unity added in I think it is a resource hog. There are other flavors of Ubuntu such as Xubuntu which is touted as being a good OS for older computers. Take a look at:
wiki.ubuntu.com/UbuntuFlavors
Have a great weekend
Tim
I know you are keeping track of the steps you are doing now. May I suggest that when trying a new kernel that you only add one latency saving item at a time then do a test. If that item works out then add another till you find a good fit.
From dealing with Ubuntu desktop with unity added in I think it is a resource hog. There are other flavors of Ubuntu such as Xubuntu which is touted as being a good OS for older computers. Take a look at:
wiki.ubuntu.com/UbuntuFlavors
Have a great weekend
Tim
Please Log in or Create an account to join the conversation.
10 years 10 months ago #66799
by andypugh
Have you tried discussing this on the RTAI mailing list? That is where the expertise will be found.
The whole point of RTAI is that it is meant to take control of the CPU away from the OS, so the latency ought to be the same regardless of whether you are using Ubuntu or Debian or whatever.
Replied by andypugh on topic ubuntu 14.04.1 linuxcnc help
Razor_keen wrote: I again have sad news about the 32 bit rtai on ubuntu.
Have you tried discussing this on the RTAI mailing list? That is where the expertise will be found.
The whole point of RTAI is that it is meant to take control of the CPU away from the OS, so the latency ought to be the same regardless of whether you are using Ubuntu or Debian or whatever.
The following user(s) said Thank You: Razor_keen
Please Log in or Create an account to join the conversation.
- Razor_keen
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 4
10 years 10 months ago #66808
by Razor_keen
Replied by Razor_keen on topic ubuntu 14.04.1 linuxcnc help
Tim
thanks for the sound advise. I woke uo this morning and remembered that when i added the rtai kernel, i may have reloaded the previously removed program, irqbalance. Sure enough, i checked and there it was, reinstalled.
I'll have to try both tests again and see if this had anything to do with it. Its also possible i forgot to reboot after removing it the first time for the rt kernel. I'll amend the to do list adn include a temp file to be created at the beginning to keep the clutter out of the home folder, and optional clean instructions to be run in terminal. Expanded instructions on installing the scripts for the affinity mask, and rearange the order in which some of the functions are performed.
On the immediate to do list is to reread the instructions in linuxcnc on where to make changes to allow the real time kernel to load the isoclpus commands, and others, without having those commands load on all other kernels. If anyone has any experience in doing this id love to hear how well it works, or doesn't.
Andy
Thats most likley where I will be heading next. Is getting to the mailing list as straitfoward as a google search?
ANyones inputs into how to make this better or useful to more people, pls let me know
thanks for the sound advise. I woke uo this morning and remembered that when i added the rtai kernel, i may have reloaded the previously removed program, irqbalance. Sure enough, i checked and there it was, reinstalled.
I'll have to try both tests again and see if this had anything to do with it. Its also possible i forgot to reboot after removing it the first time for the rt kernel. I'll amend the to do list adn include a temp file to be created at the beginning to keep the clutter out of the home folder, and optional clean instructions to be run in terminal. Expanded instructions on installing the scripts for the affinity mask, and rearange the order in which some of the functions are performed.
On the immediate to do list is to reread the instructions in linuxcnc on where to make changes to allow the real time kernel to load the isoclpus commands, and others, without having those commands load on all other kernels. If anyone has any experience in doing this id love to hear how well it works, or doesn't.
Andy
Thats most likley where I will be heading next. Is getting to the mailing list as straitfoward as a google search?
ANyones inputs into how to make this better or useful to more people, pls let me know
Please Log in or Create an account to join the conversation.
10 years 10 months ago #66812
by andypugh
www.rtai.org/
Bottom right
Replied by andypugh on topic ubuntu 14.04.1 linuxcnc help
Razor_keen wrote: Thats most likley where I will be heading next. Is getting to the mailing list as straitfoward as a google search?
www.rtai.org/
Bottom right
Please Log in or Create an account to join the conversation.
10 years 10 months ago #66813
by tjmarch
Replied by tjmarch on topic ubuntu 14.04.1 linuxcnc help
Jason wrote
You can do this with grub-customizer
When you open program the opening screen will list all kernels, right click on entry you want to change
Choose Edit
Click on source tab
Make window full screen
You will see for example
linux /boot/vmlinuz-3.4-9-rtai-686-pae root=UUID=ac8eb62f-d849-4cad-b907-6f77bf6ac206 ro quiet splash lapic noxsave -original paramters- intel_idle.max_cstate=0 processor.max_cstate=0 isolcpus=1 acpi_irq_nobalance noirqbalance $vt_handoff
Make changes to the line as needed
close window then click save
Tim
instructions in linuxcnc on where to make changes to allow the real time kernel to load the isoclpus commands, and others, without having those commands load on all other kernels.
You can do this with grub-customizer
When you open program the opening screen will list all kernels, right click on entry you want to change
Choose Edit
Click on source tab
Make window full screen
You will see for example
linux /boot/vmlinuz-3.4-9-rtai-686-pae root=UUID=ac8eb62f-d849-4cad-b907-6f77bf6ac206 ro quiet splash lapic noxsave -original paramters- intel_idle.max_cstate=0 processor.max_cstate=0 isolcpus=1 acpi_irq_nobalance noirqbalance $vt_handoff
Make changes to the line as needed
close window then click save
Tim
Please Log in or Create an account to join the conversation.
Time to create page: 0.239 seconds