- Hardware & Machines
- Computers and Hardware
- Results of latency test, list of computers tested for use with LinuxCNC
Results of latency test, list of computers tested for use with LinuxCNC
28 Sep 2020 10:31 #184133
by seuchato
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
comparison of Xfce4 and KDE:
Xfce4:
Kde:
Differencies yes, but imho not really relevant, since they not differ within a factor of two.
Greez
chris
Xfce4:
Kernel 4.19.0-9-rt-amd64
7200 secs base min: -34.600 uS max: 33.300 uS sdev: 0.800 uS
7200 secs servo min: -17.500 uS max: 18.300 uS sdev: 1.100 uS
Kde:
Kernel 4.19.0-9-rt-amd64
7204 secs base min: -21.500 uS max: 21.600 uS sdev: 0.900 uS
7204 secs servo min: -24.600 uS max: 26.100 uS sdev: 1.500 uS
Differencies yes, but imho not really relevant, since they not differ within a factor of two.
Greez
chris
Please Log in or Create an account to join the conversation.
- BeagleBrainz
-
- Offline
- User is blocked
-
Less
More
- Posts: 1437
- Thank you received: 570
28 Sep 2020 10:45 #184135
by BeagleBrainz
Replied by BeagleBrainz on topic Results of latency test, list of computers tested for use with LinuxCNC
Some of those figures do have a difference of up to 50%.
Current thinking would have XFCE coming out on top due to it supposedly being lighter on resources. To me that seems a little curious.
Tho to be honest I can't really say that I've used KDE in over a decade.
Current thinking would have XFCE coming out on top due to it supposedly being lighter on resources. To me that seems a little curious.
Tho to be honest I can't really say that I've used KDE in over a decade.
Please Log in or Create an account to join the conversation.
28 Sep 2020 10:51 #184136
by seuchato
just before invoking lcnc-hw:
now, while lcnc-hw is running:
and I can hear the same garbled audio output. This seems rather weird to me! Il have to check on stock kernels as well, but with these there was never any audio output.
I cannot see a part in my script, that could invoke loading of these "snd" modules. Can only be firefox. But then why not on other kernels?
greez
chris
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
You could also add the modules to a blacklist, which is the usual way.
The thing is the kernel is detecting the sound card and the loading of the modules is not an error.
what doesoutput ?dmesg | grep -i sound
just before invoking lcnc-hw:
dmesg | grep -i sound
root@cnc0:~# uname -r
4.19.106-rt44-lcnc
now, while lcnc-hw is running:
lsmod | grep snd
snd_pcsp 16384 3
snd_pcm 98304 2 snd_pcsp
snd_timer 32768 1 snd_pcm
snd 81920 8 snd_timer,snd_pcsp,snd_pcm
soundcore 16384 1 snd
and I can hear the same garbled audio output. This seems rather weird to me! Il have to check on stock kernels as well, but with these there was never any audio output.
I cannot see a part in my script, that could invoke loading of these "snd" modules. Can only be firefox. But then why not on other kernels?
greez
chris
Please Log in or Create an account to join the conversation.
- BeagleBrainz
-
- Offline
- User is blocked
-
Less
More
- Posts: 1437
- Thank you received: 570
28 Sep 2020 11:12 #184138
by BeagleBrainz
Replied by BeagleBrainz on topic Results of latency test, list of computers tested for use with LinuxCNC
There should be some activity logged in via dmesg after the modules load.
Please Log in or Create an account to join the conversation.
28 Sep 2020 11:25 #184140
by seuchato
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
lsmod | grep snd
snd_pcsp 16384 2
snd_pcm 98304 1 snd_pcsp
snd_timer 32768 1 snd_pcm
snd 81920 7 snd_timer,snd_pcsp,snd_pcm
soundcore 16384 1 snd
root@cnc0:/home/cnc/lcnc-hw# dmesg | grep -i pcm
root@cnc0:/home/cnc/lcnc-hw# dmesg | grep -i snd
root@cnc0:/home/cnc/lcnc-hw# dmesg | grep -i sound
Please Log in or Create an account to join the conversation.
- BeagleBrainz
-
- Offline
- User is blocked
-
Less
More
- Posts: 1437
- Thank you received: 570
28 Sep 2020 12:02 #184147
by BeagleBrainz
Replied by BeagleBrainz on topic Results of latency test, list of computers tested for use with LinuxCNC
Post
forum.linuxcnc.org/18-computer/39371-res...cnc?start=100#184136
and Post
forum.linuxcnc.org/18-computer/39371-res...cnc?start=100#184140
Seem to have differences in the used by column.
So apart from the snd modules being load what else is being loaded that wasn't loaded befroe ?
forum.linuxcnc.org/18-computer/39371-res...cnc?start=100#184136
and Post
forum.linuxcnc.org/18-computer/39371-res...cnc?start=100#184140
Seem to have differences in the used by column.
So apart from the snd modules being load what else is being loaded that wasn't loaded befroe ?
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
28 Sep 2020 12:37 #184161
by seuchato
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
I will reboot, then dothen start lcnc-hw, after say 30 secs Il dothen after the script has terminated, il do
Like that, we get diffs from pre/run/post. Hopefully that will help. Any other Idea?
Need to attend a meeting now, will do that later
lsmod > pre
lsmod > run
lsmod > post
Like that, we get diffs from pre/run/post. Hopefully that will help. Any other Idea?
Need to attend a meeting now, will do that later
Please Log in or Create an account to join the conversation.
28 Sep 2020 14:06 #184172
by seuchato
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
Ran lcnc-hw again now. here are the results:
Got a real time delay when running with basethread with 50'000 uS period. It is now running again without a basethread.
Here is the result with just a servo thread: I guess not bad at all for servo. But I'd like to use it with my existing 2 BOBs for a bridge mill and a lathe.
Going to check the modules story now.
Greez
chris
uname -r
4.19.106-rt44-lcnc
root@cnc0:/home/cnc/lcnc-hw# dmesg | grep -Ei "sound|snd|pcm"
root@cnc0:/home/cnc/lcnc-hw# cat *.hw | grep -E "4\.19\.|secs"
Kernel 4.19.106-rt44-lcnc
26 secs base min: -49.200 uS max: 53.300 uS sdev: 1.500 uS
26 secs servo min: -8.800 uS max: 7.600 uS sdev: 1.200 uS
Got a real time delay when running with basethread with 50'000 uS period. It is now running again without a basethread.
Here is the result with just a servo thread: I guess not bad at all for servo. But I'd like to use it with my existing 2 BOBs for a bridge mill and a lathe.
LinuxCNC pc tests, version 20200930, started 28.09.2020 13:57:58
********************************************************************************
General info:
Dell Inc., OptiPlex 980
Bios version A18, dated 02/27/2018
...
================================================================================
Kernel related data:
Kernel 4.19.106-rt44-lcnc
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
Cpu idle driver: intel_idle
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, which is good!
Check if snd modules are loaded: No, which is good!
...
================================================================================
last latency data is as follows:.
7200 secs servo min: -45.100 uS max: 47.700 uS sdev: 2.900 uS
7201 secs servo min: -45.100 uS max: 47.700 uS sdev: 2.900 uS
Going to check the modules story now.
Greez
chris
Please Log in or Create an account to join the conversation.
28 Sep 2020 15:07 #184176
by seuchato
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
got this:
dmesg is cluttered with these messages! No wonder, there are no more entries for other stuff visible.
remedy
But how come this is loaded?!?
rebooting, so stand by...
root@cnc0:/home# lsmod | grep evbug
evbug 16384 0
root@cnc0:/home# dmesg | tail -4
[15806.585165] evbug: Event. Dev: input3, Type: 0, Code: 0, Value: 0
[15807.620257] evbug: Event. Dev: input3, Type: 4, Code: 4, Value: 28
[15807.620260] evbug: Event. Dev: input3, Type: 1, Code: 28, Value: 1
[15807.620262] evbug: Event. Dev: input3, Type: 0, Code: 0, Value: 0
dmesg is cluttered with these messages! No wonder, there are no more entries for other stuff visible.
remedy
echo "install evbug /bin/true" >/etc/modprobe.d/evbug.conf
But how come this is loaded?!?
rebooting, so stand by...
Please Log in or Create an account to join the conversation.
28 Sep 2020 18:41 - 28 Sep 2020 18:43 #184198
by seuchato
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
Some results:
The PC is a DELL 980, no Lenovo stuff is installed!
Now I am really puzzled![:-( :-(](/media/kunena/emoticons/sad.png)
I do not want to clutter this Thread with debugging stuff, so I'll open a new thread . If you're keen on seeing what gas been going on from this point on wards, kindly go there and let's keep on track with >results< - the topic of this thread.
Greez
chris
root@cnc0:~# lsmod | grep -Ei "snd|audio|sound"
snd_pcsp 16384 2
snd_pcm 98304 1 snd_pcsp
snd_timer 32768 1 snd_pcm
snd 81920 7 snd_timer,snd_pcsp,snd_pcm
soundcore 16384 1 snd
root@cnc0:~# dmesg | grep -Ei "snd|audio|sound"
[ 0.334838] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
The PC is a DELL 980, no Lenovo stuff is installed!
Now I am really puzzled
![:-( :-(](/media/kunena/emoticons/sad.png)
I do not want to clutter this Thread with debugging stuff, so I'll open a new thread . If you're keen on seeing what gas been going on from this point on wards, kindly go there and let's keep on track with >results< - the topic of this thread.
Greez
chris
Last edit: 28 Sep 2020 18:43 by seuchato. Reason: typo
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- Results of latency test, list of computers tested for use with LinuxCNC
Time to create page: 0.122 seconds