ubuntu 14.04.1 linuxcnc help

More
10 years 10 months ago #66544 by tjmarch
Jason wrote

i found changing the intel_idle.max_cstate=0 value to one and the processor value to one


I did not have any luck with the above got some really bad spikes a little while into test but I did leave isolcpus=1

Latency Rt-preempt kernel 64 bit system
33273 us
33.273 ms

Could apply all of this to Rtai kernel on 32 bit system latency would probably be down to almost nothing
post:

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

has the instructions and script to do so but not tonight I am tired going to bed

Tim

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

More
10 years 10 months ago #66554 by Razor_keen
I may have to switch to the 64 bit version. ive been getting inconsistant results, like things dont always catch on boot up.
When you ran the isoclpus with idle state 0 did you notice how hard your cpu was running? The line plotter in system monitor said it was up to 200% for me.
2,0, and 1 had the second core active and about 20% and the first at 80%. I didnt get time to test.
Ive noticed that my comp has been a bit irradic. certain changes dont alway take on restart.
Ive been struggling to get a consistant result. this may be why they suggest staying with 32 bit systems.
as far as an ssd, that may help a lot. Theres a lot of room for an upgrade, speedwise on this machine.

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

More
10 years 10 months ago - 10 years 10 months ago #66562 by tjmarch
Jason
Running LinuxMint xfce 64bit with Rt-preempt kernel
Setup as in post:

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

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. I took screen shots just as large file write started and finished. As you can see while transfer was taking place CPU usage was 100% for both CPU's after transfer CPU1 is still carrying quit a load CPU2 load dropped to 0%. Latency stayed low during test, (below 10000us) 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. From what I have read this is the behavior that is correct maybe someone else can pipe in if I am incorrect. I will let latancy histogram run the rest of the day while I am at work and add screen shot when I get home to this post.












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.

Been about 11 hours of run time included screen shot of histogram and psensor which is set to monitor CPU temp.
Max of 66800us over a 11 hour period CPU0 around 80C CPU1 about 74C
That was holding CPU0 at over 90% load for a long time
Sound had also stopped again no error on screen VLC play was still running music

If someone could chime in and explain histogram
off-chart pos bin ct
It is something else than what I thought it was
Last edit: 10 years 10 months ago by tjmarch.

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

More
10 years 10 months ago #66571 by Razor_keen
Just out of curiousity have you been doing anything to monitor cpu temp? i noticed my fan never left idle mode for quite some time. I was trying to find the grub command that places the fan in high and leaves it there. I checked the cou temp via terminal and it was a little high.
im at lunch so ill have to look into this when i get off work..

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

More
10 years 10 months ago #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
10 years 10 months ago - 10 years 10 months ago #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: 10 years 10 months ago by tjmarch.

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

Time to create page: 0.341 seconds
Powered by Kunena Forum