- Posts: 148
- Thank you received: 0
Results of latency test, list of computers tested for use with LinuxCNC
- macsddau@linuxcnc
- Offline
- Premium Member
-
Done by hand.macsddau@linuxcnc wrote: Hi,
Try to use as describe :Result :Code:sudo echo "install pcspkr /bin/true" >/etc/modprobe.d/pcspkr.conf(sorry in French)Code:bash: /etc/modprobe.d/pcspkr.conf: Permission non accordée
Change the script with 100000us to avoid latency message.
Here the result :
Got the latency message when running with 25.600us max jitter in gmoccapy
Please Log in to join the conversation.
- tommylight
-
Topic Author
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
- macsddau@linuxcnc
- Offline
- Premium Member
-
- Posts: 148
- Thank you received: 0
Thanks tommylight, I Have integrated this values in my spreadsheet. It will return me a warning if this conditions are not respected.tommylight wrote: Set the base period higher than the latency result shows, at least 20 to 30% higher.
After a hard week-end I finally get a hardware test with pretty good results. It give me rooms for stepping.
Here the lcnc-hw test results :
I haven't test yet with gmoccapy but I will probably start [strike]25000us[/strike]20000us BASE_PERIOD.
Please Log in to join the conversation.
- macsddau@linuxcnc
- Offline
- Premium Member
-
- Posts: 148
- Thank you received: 0
Please Log in to join the conversation.
- tommylight
-
Topic Author
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
You can use even bad latency PC's for software stepping, but it will limit the speed of the pulse train a lot.
I use some Dell laptops that have very bad latency of over 230000, so i set the base period to 300000 and they work properly since i use them for the Granite/marble/glass engraving machines that are direct driven and never require over 2m/m.
www.forum.linuxcnc.org/plasma-laser/3761...cated-build?start=20
forum.linuxcnc.org/show-your-stuff/31171...have-built-over-time
forum.linuxcnc.org/show-your-stuff/37784...-or-any-hard-surface
Please Log in to join the conversation.
- macsddau@linuxcnc
- Offline
- Premium Member
-
- Posts: 148
- Thank you received: 0
Yes it is very low but it doesn't the reality. While I write this message, I have launch a simple Latency Test with 5 glxgears and watching Youtube video. For the moment, the max jitter is 11576us. Very far from lcnc-hw test result.tommylight wrote: Dang that is low !
To work my router will need at least 8kHz frequency (full step driving). Higher frequency is only for µstepping and resonating issue.
Please Log in to join the conversation.
Please Log in to join the conversation.
********************************************************************************
General info:
Hewlett-Packard, HP Compaq Pro 6300 SFF
Bios version K01 v02.90, dated 07/16/2013
Chipset: Intel Corporation 7 Series/C216
Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
cpu cores : 1
stepping : 9
cache size : 8192 KB
================================================================================
RAM related data:
Maximum Capacity: 32 GB
Size: 4096 MB
Size: 4096 MB
Size: 4096 MB
Size: 4096 MB
================================================================================
GPU related data:
product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
configuration: driver=i915 latency=0
================================================================================
Parallel port related data:
number of parallel ports is 0
================================================================================
Os and desktop related data:
PRETTY_NAME="Linux Mint 20"
Should the info below not match with your machine,
kindly post the output of pstree here, including a brief
desciption of your desktop environment, window manager and
display manager. Tia
forum.linuxcnc.org/18-computer/39370-scr...-of-computer-latency
Desktop environment : gnome
Windowmanager : Metacity (Marco)
Displaymanager : lightdm
================================================================================
Kernel related data:
Kernel 4.9.0-13-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Cpu idle driver: intel_idle
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, which is good!
Check if snd modules are loaded: Yes, may cause bigger latency.
can probably be disabled in bios, alternatively, you can run
"./block-snd-modules"
which has just now been created for your convenience.
================================================================================
Keyboard & Mouse related data:
Number of mice: 1
Mouse 0 : USB OPTICAL MOUSE
Mice attached to USB:
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.1.13.ga22256354
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with ' vimeo.com/150574260 ', WID 69206019
================================================================================
Command for latency test is:
su luke -c "latency-histogram --nobase --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a HP6300-2020-12-24.lat &"
Latency testing loop started Thu 24 Dec 2020 10:51:05 AM EST,
should end after Thu 24 Dec 2020 12:51:05 PM EST
================================================================================
Swap useage: prerun: 0, running: 0
================================================================================
CPU core temperatures:
Core 0: Tmin: 35.0°C, Tmax: 42.0°C, (high = +85.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
7200 secs servo min: -37.300 uS max: 24.500 uS sdev: 2.200 uS
7201 secs servo min: -37.300 uS max: 24.500 uS sdev: 2.200 uS
Please Log in to join the conversation.
faeluke wrote: ...
================================================================================
last latency data is as follows:.
7200 secs servo min: -37.300 uS max: 24.500 uS sdev: 2.200 uS
7201 secs servo min: -37.300 uS max: 24.500 uS sdev: 2.200 uS
I >think< the 6300 is very similar to the 8300 I tested a couple of months ago. while theser results are good, you might get even better results. Thus, for an inspirations, you could try the cmdline options I did here . First, I'd look into the bios. Kindly aloso state, what options you altered.
greez
chris
Please Log in to join the conversation.
Yes, I read through the posts on machines and was about to pull the trigger on an 8300 when Amazon informed me that the machine would come after Christmas. The HP6300 came up in the same search results. I opted for the I7, although I am not sure if it will make difference with everything turned off in the BIOS.I >think< the 6300 is very similar to the 8300 I tested a couple of months ago.
I am a noob, so getting this all up and running with Mint on a new PC and posting the results was for me, a Christmas miracle.while these results are good, you might get even better results.
I had set multiprocessor -> disabled in the BIOS, Is this the same as running with Isolcpus?
On your machine, BIOS 2.99 appears to have the best numbers. I will update to 2.99 and try that out.
I will also take at modifying the Grub command line to see if I can improve the results further.
Are you asking me to post the BIOS settings up to this point or to post the additional changes once I complete additional testing?Kindly also state, what options you altered.
Please Log in to join the conversation.
