Mesa hm2/hm2_7i96s.0: error finishing read

More
18 Sep 2022 02:55 - 18 Sep 2022 03:05 #252233 by PCW
My test machine exhibits the latency issue on 5.18 kernels and not on 6.0 kernels
so something significant has changed (I have not tried 5.19 yet)

(plus I have tried most of the 5.x range)
Last edit: 18 Sep 2022 03:05 by PCW.
The following user(s) said Thank You: arvidb

Please Log in or Create an account to join the conversation.

More
18 Sep 2022 03:40 #252234 by rodw
I did a bit of basic research and there are a number of tuning parameters for the TCP stack so I wondered if ethernet on Bookworm et all could be improved by chaning some flags. I think a lot can be changed just by editing some text files.

Unfortunately most are written around inproving preformance in a server room.

This article talks about the challenges of usint the TCP stack with real time comms (and preempt_rt
ntrs.nasa.gov/api/citations/20200002393/...oads/20200002393.pdf

This one is interesting too and discusses some of the available flags and how to set them.
cromwell-intl.com/open-source/performance-tuning/tcp.html

Maybe somebody who knows a bit more thanI could explore. I guess a good start would be to compare Debian 10 TCP flags with Debian 12 ones.

 

Please Log in or Create an account to join the conversation.

More
18 Sep 2022 06:55 #252241 by arvidb
The Mesa cards use UDP though (according to e.g. the 7i92 manual), so I'm not sure TCP settings are relevant? Maybe there are settings that affect both protocols.

Please Log in or Create an account to join the conversation.

More
18 Sep 2022 07:57 #252244 by rodw

The Mesa cards use UDP though (according to e.g. the 7i92 manual), so I'm not sure TCP settings are relevant? Maybe there are settings that affect both protocols.

That may have been a poor choice of words. Should be networking stack, the nasa document above refers to UDP as well as TCP.

Please Log in or Create an account to join the conversation.

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
18 Sep 2022 12:36 #252255 by JT
So in an attempt to recover from updating my Realtek drivers and losing the PCIe network card I tried to install Debian 11.4 and the screen went garbled...

Currently I'm not working on mesact until I get my dev PC back up and working so I can test configuration files on the 7i96S.

Burning Debian 11.5 to a SD card now with DD so I'll see in a while if I can install that and get back the PCIe network card.

JT
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
20 Sep 2022 14:04 #252403 by JT
The 5.19.0-1-rt-amd64 kernal does not fix the error finishing read issue.

JT
The following user(s) said Thank You: arvidb

Please Log in or Create an account to join the conversation.

More
22 Sep 2022 09:38 #252559 by rodw

The 5.19.0-1-rt-amd64 kernal does not fix the error finishing read issue.

JT

Thats kinda what PCW said. He found you need to go to the 6.0 kernel but it needs to be compiled. If you look over on kernel.org it is right on the bleeding edge (19 September). I did see it will become the 5.20 kernel somewhere but not sure about that. I'm not 100% sure how  kernel releases are managed.... 

mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/

Please Log in or Create an account to join the conversation.

More
22 Sep 2022 17:58 #252575 by PCW
Have you tried these (Intel only) kernel settings?

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1 processor.max_cstate=1 idle=poll i915.enable_dc=0"

These seem to have helped on my Elite 800G1
The following user(s) said Thank You: JT

Please Log in or Create an account to join the conversation.

More
03 Oct 2022 00:36 - 03 Oct 2022 01:00 #253298 by rodw

My test machine exhibits the latency issue on 5.18 kernels and not on 6.0 kernels
so something significant has changed (I have not tried 5.19 yet)

(plus I have tried most of the 5.x range)

Not sure if this will work but the 6.0 preempt_rt kernel is now in debian experimental. I have not tested but this but:
add the following to /etc/apt/sources.list
deb http://deb.debian.org/debian experimental main contrib non-free
deb-src http://deb.debian.org/debian experimental main contrib non-free
then:
sudo apt update
sudo apt install  linux-image-6.0.0-rc7-rt-amd64
reboot, hold breath and see if the network latency is resolved....
experimental only has the kernel packages in it
ref: packages.debian.org/experimental/kernel/ 

you might also need the linux-headers. After installing the image
sudo apt install linux-headers-$(uname -r)
Last edit: 03 Oct 2022 01:00 by rodw.

Please Log in or Create an account to join the conversation.

More
03 Oct 2022 00:38 #253299 by rodw
oops I forgot
sudo apt update
after edding sources.list

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.231 seconds
Powered by Kunena Forum