- Posts: 22010
- Thank you received: 3
Results of latency test, list of computers tested for use with LinuxCNC
- tommylight
-
Topic Author
- Away
- Administrator
-
No, i never did, but i know others do, probably some kid safety feature, same thing as in the movies, rated PG13 !Tommy,
Does that mean, you get that error too?
Please Log in to join the conversation.
- tallerseverino
- Offline
- New Member
-
- Posts: 11
- Thank you received: 0
I'm new to the forum and to linuxcnc. With the help of the forum, linuxcnc documentation and a little luck I finally did a latency test that came OK. I can summarize what I did if this can helps others with simmilar issues.
The PC is an intel quad core q9550 2.83Ghz, asus maximus extreme (the first one) motherboard, 8Gb memory and a radeon 4550 graphics card, a pci wifi card and a mechanical HDD (I have a ssd ready once the install is OK and ready to clone)
First I went to the bios and disabled all non-necessary features; lan ports, ide controllers, audio, firewire, all I could think of. The results of latency test were around 80us, the histogram crazy, the plot made me suspect SMI issues and finally (or for starters) the error "Unexpected delay on task 0";
Edited the grub file, included the "quiet splash" and the "isolcpus=3", no luck. After reading some posts somebody said to open another terminal and use dmesg; oddly enough there was an error in ACPI: conflicting addresses.
I didn't touch acpi on the bios, turns out that acpi 2.0 was not enabled on bios, turned on this feature and the latency went to around 5us.
Turned off the screensaver, solved the nmtray icon appearing multiple times (It's in one post I can't remember) and took it from there.
Did the long script test and gave me 6.4us. I attach the hw and the lat file:
Attachment not found
Attachment not found
Are this results consistent and real? Instead of vimeo I started a youtube video. I still have not figured how to turn off the PC speaker module; did some solutions offered in the forum but I don't know why it comes back.
Also I installed the last iso of linuxcnc (2.
There are a lot of things to take into consideration... and I'm not even decided which pci-parallel port to buy, I intend to use mesa 7i76 and 5i25, but meantime a chepo bob and the pci-lpt1 will allow me to test the electronics.
Thanks for all the help provided in the forum.
Please Log in to join the conversation.
Possibly. I have a machine that returns three-digit latency when idle, and about 2µs when working.Are this results consistent and real?
Please Log in to join the conversation.
HiI still have not figured how to turn off the PC speaker module; did some solutions offered in the forum but I don't know why it comes back.
First off all: these are excellent results. Interesting enough, you got that with a ""RV710 [Radeon HD 4350/4550]". Is that an onboard GPU? Regarding pcspkr, see your .hw.txt. Excerpt as below:
It really should not com back if you do the sudo line (in red). Never did for me.================================================================================
Kernel modules data:
Check if pcspkr is loaded: Yes, may cause bigger latency.
can be eliminated using:
sudo echo "install pcspkr /bin/true" >/etc/modprobe.d/pcspkr.conf
hth
chris
Please Log in to join the conversation.
- tallerseverino
- Offline
- New Member
-
- Posts: 11
- Thank you received: 0
No, It's a pci-e gpu, I always did like the nvidia ones gt210 silent 1gb but it seems that nvidia causes problems, I found this one that resembles visually the nvidia made by asus, other than a bit of contact cleaner in the slot and such the card works fine in linux (mint, ubuntu) and in windows.Hi
First off all: these are excellent results. Interesting enough, you got that with a ""RV710 [Radeon HD 4350/4550]". Is that an onboard GPU?
It comes back, I even did the commands using root and "rmmod pcspkr" I'll try again and report.Regarding pcspkr, see your .hw.txt. Excerpt as below:
================================================================================
Kernel modules data:
Check if pcspkr is loaded: Yes, may cause bigger latency.
can be eliminated using:
sudo echo "install pcspkr /bin/true" >/etc/modprobe.d/pcspkr.conf
It really should not com back if you do the sudo line (in red). Never did for me.
Thanks!
Please Log in to join the conversation.
Please check that and kindly report backcat /etc/modprobe.d/pcspkr.conf
greez
chris
Please Log in to join the conversation.
- tallerseverino
- Offline
- New Member
-
- Posts: 11
- Thank you received: 0
Finally It went away.pcspkr after "sudo echo "install pcspkr /bin/true" >/etc/modprobe.d/pcspkr.conf"? That's strange! I'd check whether the sudo command was really successful:
cat /etc/modprobe.d/pcspkr.conf
Please check that and kindly report back
greez
chris
I did the commands, but sudo did not work, I had to use su and "rmmod" wasn't on the system path, had to use "\sbin\rmmod" to use the command. I have to check my knowledge of linux to set the corresponding path.
Ehm... It worked this time, It could be a typo when I tried, but the latency was the same after 2h of script test, even went up to 6.4uS (0.2uS up), but in the latency-plot I see spikes; I will have to check If they're periodical because It seems 64s, I suspect something to do with the intel chip on the MB. I will have to investigate.
Thanks!
Please Log in to join the conversation.
I setup the Gigabyte B460M D3H, Pentium Gold 6400, SSD and on-board graphics with the latest preempt kernel for Debian 11. The worst case latency was around 30,000. This board will not work with Debian 10 with its on-board graphics. There is a documented bug with either the B460 Intel chipset or the Intel 610 on-chip GPU with the 4.19 something kernel. The bug results in no graphics. This is fixed with the Debian 11 kernel version 5 something. The user who reported results with the B460M D3H was using a PCIe AMD graphics card...I thought their latency was around 13k, but I'm not sure how to read that script output...it's not as clear as the basic latency test so 13k might not be correct. So it's possible better latency with an AMD PCIe graphics card.seuchato said: Edit: 19. Oct. 2020: Actual price for CPU, Ram, Mobo and cooler is at 300€. I do have a case and powersupply already, stuff should be here coming weekend.
Hi - So how did the B460MD3H with Gold G6400 CPU work out? It is good for software stepping? What latency values are you seeing?
Please Log in to join the conversation.
- shellcrash
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
Please Log in to join the conversation.
- shellcrash
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
Please Log in to join the conversation.
