Lenovo T490 Laptop Tuning issues

More
28 Oct 2026 16:41 #350512 by CNCJIM
Lenovo T490 Laptop Tuning issues was created by CNCJIM
This Lenovo Laptop is a 4 core  i5 8650 with hyper threading disabled and most of the I/O.  I was able to get the latency down to 1.4ms  for the Servo Thread and 2.5ms for the Base Thread, by manually tweaking the Grub default command line and adding a service to start at runtime to control the fans and power level.    But with this result.  Is the latency withing bounds of running a Mesa 7i96S without issue.  I have disabled all of the I/O except for  the USB  and disk drive.   I had to change the SSD from a NVME M.2  to an SATA III, m.w , Because interrupts were showing up for nvme0q4 causing issues.   Evidenlty all cpu's have these interrupt queues by default and nothing can be done to reassign them. 

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash consoleblank=0 fbcon=blank:0  nvme.io_queues=2 isolcpus=managed_irq,domain,3 nohz=on nohz_full=3 rcu_nocbs=3 processor.max_cstate=1 pcie_aspm=off rqaffinity=0,1,2 kthread_cpus=0,1,2  ipv6.disable=1 i915.enable_dc=0 i915.enable_fbc=0 i915.enable_psr=0 i915.enable_rc6=0 intel_idle.max_cstate=1 intel_pstate=disable skew_tick=1 mitigations=off nosmt nosoftlockup nowatchdog  nvme_core.default_ps_max_latency_us=0 usbcore.autosuspend=-1"
GRUB_CMDLINE_LINUX=""

I did not run rt_setup.sh  -  because I see no history in the header about the package and its uipdate.   I do not know the vintage of the file. 

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

More
29 Oct 2026 05:18 #350526 by rodw
Replied by rodw on topic Lenovo T490 Laptop Tuning issues
I think you mean usec not ms. Can you share a screen dump of
latency-histogram --nobase --sbins 1000 --show

Also we need to know the NIC you are using
realtek needs the dkms driver, Intel needs coalescing disabling per man hm2_eth

I suspect its probably OK. IRQ affinity probably needs to be set on startup as it does not persist.

 

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
29 Oct 2026 06:51 #350528 by tommylight
Replied by tommylight on topic Lenovo T490 Laptop Tuning issues
1. you do not need a base period/thread on a laptop
2. disable hyperthreading, TPM, secure boot
3. download the 2.9.9 and 2.8.4 ISO from the downloads page
4. boot from them, without installing, create a config for Mesa 7i96S
5. power on the Mesa 7i96S and wire it to laptop
6. run the config, run some gcode included and see if the connection drops
2.8.4 should be better on that CPU, but either way you look at it, gen 8 Intel are not good, they had to much power saving stuff included that causes huge delays.
I have a ThinkPad E580 with 4 core 8250 intel, it can be used with Mesa for testing, but not on a production machine.
6th gen CPU's were better for this, like 6300, but dual cores are getting to slow for new operating systems.
Here are some tested laptops:
forum.linuxcnc.org/18-computer/54369-use...mesa-ethernet-boards

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

Time to create page: 0.083 seconds
Powered by Kunena Forum