Neue Hardware und schlechter Latency Test
Follow the the instruction and install the 6.1.38-rt12-xanmod1 kernel.
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
X 2Ping is OK, latency is not OK.
Hold down SHIFT button after power on, choose "advanced options ..... " see if you can choose the 6.1 kernel and try latency test again.
Please revert to the default Bookworm 6.1 kernel. As Tommy said, you can probably select it from the GRUB menu as it should still be on your PC. It was perfectly OK, Xanmod kernel and 6.4 was just a time wasting distraction.
These instructions are tested time and again. That's why they are in the official docs.
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
The only headings you should look at now is headings 7, 8 and 9.
I had a user over the weekend who followed my in instructions and then ran a 2 hour Gcode file 7 times in a loop on a large machine with Mesa cards without error. That was 14 times.
Please Log in or Create an account to join the conversation.
The latency of the 6.1 kernel I have already posted above, but I have now done everything according to the instructions and this is the result.Please revert to the default Bookworm 6.1 kernel. As Tommy said, you can probably select it from the GRUB menu as it should still be on your PC. It was perfectly OK, Xanmod kernel and 6.4 was just a time wasting distraction.
I suspect that something is wrong with the hardware.
Attachments:
Please Log in or Create an account to join the conversation.
I wouldn't say so. Of course the 6.1. kernel not bad but what I'm observing is the Xanmod and 6.4. Just better. I don't observe any big spikes there and the latency to the mesa card is better. And how it behaves with problematic hardware should always be tried out.Xanmod kernel and 6.4 was just a time wasting distraction.
My test is very simple.
Start latency test -> open browser and start forum page
Start linuxcnc -> start big file
The spikes usually appear when the browser is started or when large files are opened.
6.1.
Xanmod
6.4.
My result: Xanmod or the 6.4. kernel is better than 6.1.
Attachments:
Please Log in or Create an account to join the conversation.
This is wierd. I have an i5 with the Realtek RT8111 NIC and it performs well on 6.1. I have also used the 6.3 kernel I built but I try to keep that up my sleeve.
Please revert to the default Bookworm 6.1 kernel. As Tommy said, you can probably select it from the GRUB menu as it should still be on your PC. It was perfectly OK, Xanmod kernel and 6.4 was just a time wasting distraction.
The latency of the 6.1 kernel I have already posted above, but I have now done everything according to the instructions and this is the result.
I suspect that something is wrong with the hardware.
I wonder if the latency is on startup? Maybe reset latency test after it runs for a few seconds and see if it is just on open.
@Chris, PCW does say the 6.4 kernel is the best he's tried but then he said it got worse on a later release. I started to dig out all the links to build it.
I think it looks something like this
6.4.6
git clone -b v6.4 --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-6.4
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/patch-6.4.6.xz
wget https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/6.4/patch-6.4.6-rt8.patch.xz
gunzip patch-6.4.6.xz
cd linux-6.4
cat patch-6.4.6.patch | patch -p1
cd ..
gunzip patch-6.4.6-rt8.patch
cd linux-6.4
cat patch-6.4.6-rt8.patch | patch -p1
git add *
make xconfig
#Set the following: General Settings/Preemption model = Fully Preemptible Kernel
#Save then exit (Click on General settings and select option on the right side.
# These keys override security and key settings to allow .debs to be built
scripts/config --disable SYSTEM_REVOCATION_KEYS
scripts/config --disable DEBUG_INFO
scripts/config --enable DEBUG_INFO_NONE
scripts/config --set-str SYSTEM_TRUSTED_KEYS ""
make -j4 deb-pkg LOCALVERSION=-linuxcnc
Please Log in or Create an account to join the conversation.
If there is a graphics card installed and also a video card built into the motherboard, remove the external card and use the built in video.
for the record, my script above gets the 6.4 kernel source, patches it to 6.4.6 then applies the 6.4.6-rt8 patch before building the kernel.
I'd like to build the 6.5 RT kernel but there isn't a RT patch for it yet.
Please Log in or Create an account to join the conversation.
I have now ordered a used Dell Optiplex for a few bucks and a 2nd Intel LAN card. I'm curious if it will be better.
I have been working from these instructions so far:
kcjengr.github.io/probe_basic/quick_start_apt.html
Is this ok or should I change anything in the process?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 18563
- Thank you received: 6219
So, did you disable hyperthreading?
That was the only inportant thing, other BIOS stuff did not do much for latency.
Another thing to check is processor temperature, LinuxCNC with RT kernel will keep the processor active at states near the max frequency, so it heats a lot. I would remove the cooler and repaste and reseat it, this is something i have to do often.
The good thing is Fujitsu uses bigger coolers, not the whimpy Intel ones, several PC's with stock Intel coolers run at 73 degree C all the time when ambient temp is 35, summer here.
Please Log in or Create an account to join the conversation.