Hi everyone

I am a novice (read: clueless) in Linux internals, so bear with me if I say something stupid. On a fresh install of http://www.linuxcnc.org/iso/linuxcnc-2.7.14-wheezy.iso, on an old machine AMD Athlon 64. I've been using it for several years with LinuxCNC, worked, but wanted a newer version. Latency stays below 7000 ns whatever I do, except if I try to run ksystemlog (a graphical log viewer) without sudo. As it doesn't have permission to access /var/log/system without sudo, it display an error dialog.
When the error happens, the latency spikes a lot, 25 to 70 microseconds.
Running ksystemlog with sudo does not impact the latency.
Trying to set the uid bit on the program leads to the (expected) error "This process is currently running setuid or setgid. GTK+ does not allow this therefore Qt cannot use the GTK+ integration.". Interestingly, this also causes the latency spike.

Of course this is not a significant issue, just something to known about so that I don't accidentally do it while LinuxCNC is running. But I was wondering if someone (who, unlike me, knows whats really going on behind this) might know if there is a larger group of things to avoid doing, because they might also cause such a latency spike. Or know what I'm doing wrong.

Regards, and thanks for all the work that went in creating and supporting LinuxCNC and this community.


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to