ubuntu 14.04.1 linuxcnc help

More
07 Dec 2015 19:32 #66573 by tjmarch
Jason
Just installed psensor from software manger will leave it running until I get home will post results when I post screen shot of histogram
In my BIO's I had already set fan to run in silent mode

Tim

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

More
07 Dec 2015 20:56 - 07 Dec 2015 23:01 #66582 by tjmarch
Learned something just before walking out the door for work. Was using Totem media player for music it had failed with streaming error and no sound. Closed Totem and used VLC media instead then reset Histogram. When resetting histogram latency spike due to reset was only 15000us which original spike when starting Histogram program was 67000us, also latency settled down faster. Hopefully sound will not fail while I am at work, have to work 10 hours today so test will be about 11 hours when I get home.

Tim :unsure:
Last edit: 07 Dec 2015 23:01 by tjmarch.

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

More
07 Dec 2015 22:49 - 07 Dec 2015 23:05 #66590 by tjmarch
Jason
I learned about SMICRTL here

www.10k3d.com/

The web page has a link on it about SMICRTL risks and implications of doing so.

wiki.linuxcnc.org/cgi-bin/wiki.pl?FixingSMIIssues

Some of the info is out dated for the way we installed it, but heat can be a problem

On Zultron git hub, (aka John Morris well respected name in Machinekit community)

smictrl Debian packaging

smictrl is an SMI enable register manipulation tool by Jan Kiszka

It is used to disable system management interrupts on some x86
chipsets that can cause unacceptably high latency spikes in real-time
applications.


I am surprised it worked on 64bit system
Tim
Last edit: 07 Dec 2015 23:05 by tjmarch.

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

More
08 Dec 2015 00:23 #66595 by Razor_keen
Yes i had read those warnings. ive been periodically checking the cpu temps, and for the most part they had not been to high, except when, for whatever reason, the system monitor claimed i was running 1 core at 200%.
I was suprised to hear you had left your computer on test and left it, although i dont remember if you said that it was a laptop as well, or a desktop. Im thinking its a desktop if your trusting it like that.
Rythm box seems to work ok, that may be wht i didnt notice such a large spike like you had.
I meant 32 bit version in my previous post.
Ive been looking for a script for grub to set the fan to a higher speed, but most of the results are for lowering the speed, due to bugs in linux on laptops.
You may get small spikes with psensor, as it makes calls to the cpu, gpu and various other sensors.
I think you can turn it off for the actual tests, and just check the temp in between or run dummy tests where you are really just checking to see if it heats up too much.
THis has been an interesting day for me. xorg was causing some of the latency spikes so i decided to try to us the nvidia driver suggested by ubuntu, this caused a blank sccreen after startup, and i could get it to start.
came home to my trucks leaf spring breaking in the drive, and after i got out to see what happened, i hopped back in to turn it off just to see the lites on for battery and brakes.
hope your day is better but it looks like i wont be doing much tonight...

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

More
08 Dec 2015 03:20 #66606 by Razor_keen
I did have a chance to reload ubuntu and run the ammended script as it was written and was thinking it might not be a bad idea to wait until after linuxcnc has been installed as running one core for this operation is painstakenly slow.

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

More
08 Dec 2015 07:50 - 08 Dec 2015 10:07 #66611 by tjmarch
Jason really sorry to hear about your ride :(

As far as all latency fixes we have been doing it would not matter if done after Linuxcnc was installed.
A note for you also the Deb files that you create can be saved to USB stick and reused if reloading same OS and flavor.
Just run script first then install Deb's

I have post the results of my 11 hour test on 64 bit system in post

forum.linuxcnc.org/forum/9-installing-li...-help?start=90#66562

Now to Install Rtai 32 bit system and do same testing to compare.
Think I will get the install started tonight

Tim
PS after I have a drink long day a work and yes I am running a desktop
Last edit: 08 Dec 2015 10:07 by tjmarch.

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

More
08 Dec 2015 10:39 - 09 Dec 2015 06:56 #66614 by tjmarch
Jason
Running LinuxMint xfce 32bit with Rtai kernel
Setup as in post:

forum.linuxcnc.org/forum/9-installing-li...-help?start=80#66528

Also I waited as you suggested to install latency measures after linuxcnc was installed, it did cut down on time.

This is with grub parameters:

quiet splash lapic noxsave -original paramters- intel_idle.max_cstate=0 processor.max_cstate=0 isolcpus=1 acpi_irq_nobalance noirqbalance

When first starting latancy plot I get a spike that is the red b.max in screenshot pic of latancy plot same as 64 bit. I took screen shots just as large file write started and finished. As you can see while transfer was taking place CPU1 usage was 100%, CPU2 was not at full load much different than 64 bit system which CPU1 & 2 where both at full load during transfer of files. After transfer CPU1 is still carrying a modest load not over 90% unlike 64 bit system, CPU2 dropped to 0%. Latency stayed low during test, (below 10000us) for base latency had a few spikes on servo base but not bad. This was done with 4 instances of glxgears, Firefox open on wired connection, music playing in repeat mode, file manager open with large file write, (6.6GB) to hard drive same as on 64 system. I did also notice CPU1's load is much less than 64 bit system had during this short pretest run. I also reset histogram after starting like on 64 bit test to avoid program start spike.






Started Histogram it is now 4:30am will let run till about 1:45pm that will be about 9 hours. will update post afterwards with screen shot as before. Changed my mind ran test for 11 hours same as I did with 64 bit Rt kernel screen shots of test results below







Tim
Attachments:
Last edit: 09 Dec 2015 06:56 by tjmarch.

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

More
08 Dec 2015 10:55 #66615 by tjmarch
Found my own answer with a little reading about histogram


Attachments:

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

More
08 Dec 2015 22:10 #66644 by Razor_keen
Tim
I think i read somewhere that on a 64 bit os you need a minimum of 8 gb of ram for it to act the same as a 32 bit system and where ut reakky shines is in ram intensive operations such as video and audio encoding.
i was also remembering that the rtai kernel is said to be a bit better when it comes to latency, and i wonder how much of the gains you are seeing is from the difference in os or the difference in kernels.
I plan to test this theory a little latter tonight. i found it was the altenator on my truck that triggered the warning lites.
I will let the 64 bit os run a last test while i work on my truck, then afterwards ill use the same rt kernel with a 32 bit build to see how much gain is in the os vs the kernel.
regards
jason

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

More
08 Dec 2015 22:20 #66645 by Razor_keen
just a quick question, which rtai kernel are you using? version number wise?

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

Time to create page: 0.217 seconds
Powered by Kunena Forum