latency issues with ga-j1900n

Hi
I constructed a new controller for my Alliant Mill (bridgeport clone). The machine uses Servos so no step generation required. I got a ebay ga-j1900n mother board and loaded Debian 9 then loaded all updates, kernel 4.9.110-3+deb9u4, and Axis 2.80-pre1-3829-894a. The Bios is American Megatreands J1900n-D3v F4 05/06/2015.
My latency numbers were never very good so I have been reading about how to reduce them. But I seem to have reached the limit of what I can do with the current set up. Choices seem to be 1)update Bios 2) try different operation system 3) try different version of linuxcnc.

Case in hand: I had been running a test program that used all of x,y axis travel in a oval and had run in 5 times in sequence then added a while loop and ran it another 5 times. Everything ran file no messages and I turned off the servos and left it setting for 3 hours. When I returned I found these messages on the screen:

The top messages (Unexpected Delay) was the same that was appearing before during the first 20 min of running the machine but after the last round of Bios changes had disappeared. But it was back with a bunch of friends.

I then worked on getting isolpcus=1,2,3 entered in the grub2 files. After that my latency numbers looked like this with 6 glxgears running:

Also I ran a latency-histogram --nobase:

I am looking for anything that might help out the numbers but I am still confused because the machine has allways run fine and i don't remember it ever erroring out during a cut.

Those are fairly bad latency numbers. Have you tried running the latency-histogram without a base thread? (that would give more realistic numbers since its unlikely that the J1900 can run a 25 usec base thread)

latency-histogram --nobase --sbinsize 500

would probably give better data

The fact that you not only got a latency error but got so many servo threads that sserial shut down may indicate some other issue say with power or the host PCI/PCIE slot or the 5I25/6i25

i've been playin with a GA-J3455N-D3H mobo lately. default bios settings give the best results. disabling EIST makes things much worse, everything else makes no visible difference. kernels 4.9.0 and 4.18.0 show similar latency. most of which seems to be originated from the intel grapics driver: with i915.ko disabled i'm getting ~12us vs ~60us

Does your PC include an internal wifi card? If so, disable it or even better remove it. I found latency was up where yours was with an intel mini wifi board in my Gigabyte J1900 USFF system. Its quite acceptable now.

Well working on the old system "monkey see monkey might read" I installed the wheezy 2.7 on another hard drive and hooked that up.
Now after updating and other fun adventures here's the output of latency-histogram --nobase --sbinsize 500:

I am hoping this looks better?
Oh yeah does the 686-pae mean anything on this computer?
Should I put the isolcpus=1,2,3 back?