Topic: DPC high latency in a Server Motherboard computer

DPC high latency in a Server Motherboard computer

(I tried to post in Tips & Tricks section but I lack permissions for do it...)

We are using an ASRockRack EPC612D8A server mainboard with a Xeon CPU E5-2640 v4 @ 2.40GHz (20 cores) and 16 GB RAM. We are getting lost audio buffers ( = click) when we move mouse in TFT monitor using onboard VGA video output in Windows 10 pro x64 at low latency setting.

We already applied all normal tweaks for optimize Windows and BIOS/UEFI for audio. NDIS.SYS, TCPIP.SYS and STORPORT.SYS are showing high latencies in Latency Mon 6.51. 1.6 ms, 0.4 ms, and 0.4 ms, which are very high values compared with my MBP 11.5 with Boot Camp 5.5 with Windows 8.1 (Reaper/Samplitude, RME UFX/Digiface USB/PS Lyra2)

How we can change NDIS.SYS, TCPIP.SYS and STORPORT.SYS MS drivers? Should we buy an additional Nvidia PCIe GPU card for video to avoid integrated ASPEED VGA card?

You can see more details here: https://app.box.com/s/7q4860zdcvjfcuo7gc1igm5rky8xi9lf

Saludos, Enrique Silveti

Saludos Enrique.

Re: DPC high latency in a Server Motherboard computer

First try disabling all network adapters. If this helps, try older or different network drivirs for your nic.
Also disable disk controllers not in use in the bios (like IDE or raid etc)

Then post 12 here https://www.sysnative.com/forums/window … s-sys.html

Vincent, Amsterdam
https://soundcloud.com/thesecretworld
Babyface pro fs, HDSP9652+ADI-8AE, HDSP9632

Re: DPC high latency in a Server Motherboard computer

Thank you replay Vincent.

I can not disable NIC cards due we are using also a RedNet PCIE-R from Focursite. Intel on board LAN NICs are disable, but we have also a Intel PCIe 1 GB dual port NIC.

We are using only two Samsung identical SSDs, one for system and one for audio in SATA port 00 and 01, no RAID or additional storage hardware.

Anyway, I'm going now to post 12...

Thank you Enrique

Saludos Enrique.

4 (edited by ramses 2017-08-02 16:24:04)

Re: DPC high latency in a Server Motherboard computer

If you do not require Thunderbolt, eventually go for this board, shall you do not get your problems under control.

I have no issues with it. Running since over 2 years without any issues at lowest latencies:
http://www.supermicro.com/products/moth … 0SRi-F.cfm

Additional benefit, you can use ECC RAM with it.

My build, BIOS settings and further optimizations are described here:
http://www.tonstudio-forum.de/blog/inde … mponenten/
http://www.tonstudio-forum.de/blog/inde … -X10SRi-F/
http://www.tonstudio-forum.de/blog/inde … arrow-ILM/

BR Ramses - UFX III, 12Mic, XTC, ADI-2 Pro FS R BE, RayDAT, X10SRi-F, E5-1680v4, Win10Pro22H2, Cub13

Re: DPC high latency in a Server Motherboard computer

enriquesilveti wrote:

Thank you replay Vincent.

I can not disable NIC cards due we are using also a RedNet PCIE-R from Focursite. Intel on board LAN NICs are disable, but we have also a Intel PCIe 1 GB dual port NIC.

We are using only two Samsung identical SSDs, one for system and one for audio in SATA port 00 and 01, no RAID or additional storage hardware.

Anyway, I'm going now to post 12...

Thank you Enrique

No way to try without the nics (or the onboard ones)? This will narrow down the cause. Simply run latency checker with all nics disabled in device manager and see what happens. If it helps, trying all available drivers for the nics will probably help. If it doesn't change with disabling the nic you can at least cross that of the list!

Vincent, Amsterdam
https://soundcloud.com/thesecretworld
Babyface pro fs, HDSP9652+ADI-8AE, HDSP9632

Re: DPC high latency in a Server Motherboard computer

Oh you are running win10, this is an issue too https://www.steinberg.net/forums/viewto … cd29c8bbe5  also for non steinberg programs. So the problem might go away with win7. (no need for win8 I think....)

Vincent, Amsterdam
https://soundcloud.com/thesecretworld
Babyface pro fs, HDSP9652+ADI-8AE, HDSP9632

Re: DPC high latency in a Server Motherboard computer

Getting a real GPU surely also can not hurt. The built in graphics is usually only for console reasons for server boards.
Not sure whether this generates a potential impact as well.
You dont tell anything about your chosen BIOS settings.
Did you do everything to stay at C0/C1 ?

BR Ramses - UFX III, 12Mic, XTC, ADI-2 Pro FS R BE, RayDAT, X10SRi-F, E5-1680v4, Win10Pro22H2, Cub13

Re: DPC high latency in a Server Motherboard computer

Thank you for the feedback.

No fan(s) Nvidia GPU is in cart now. We tried several setting in BIOS/UEFI and we setup enable C0/C1 only instead of disable everything.

Yes, we get better DPC values disabling Intel Pro 1000 DT PCIe card port 01 which is connected to RedNet PCIe-R card via a switch. Please note that we are able to run our tests at 64 samples which is not a bad value but anyway we will continue researching about Multimedia Class Scheduler Service basically due we can get a really better DPC values in Windows 8.1 (MBP 11.5 i7 48xx 16 GB RAM)

Saludos Enrique.

9 (edited by ramses 2017-08-04 08:05:32)

Re: DPC high latency in a Server Motherboard computer

Not sure, but could it be the case that your DAW cant make best use of so many cores ?
Eventually I would have chosen Xeon E5-1650 v4 CPU. I have the v3 version.

Passmark results are similar between 1650v4 and E5-2640: 14270 vs 15348.
But the 1650v4 is less expensive and has a much higher base clock and single thread performance.
My 1650v3 i.e. runs instantly with all cores at 3.6 GHz (100MHz more than base frequency).
So I could think of that a 1650v4 will run instantly at 3.7 GHz.
As I disabled CPU core parking (what Cubase btw also does if you enable their optimized energy profile),
my CPU will never be able to park cores which is a prerequisite to let (one or some) selected cores run at turbo speed.

Also the difference between base clock and turbo is with the E5-1650 v* much less (300 Mhz)
in my case with tuning even only 200MHz, as I run my system 100MHz higher than base clock instantly.
The E5-2640 has a base clock of only 2.4 GHz and I think it can only really unleash its full potential,
when all the cores become really utilized.

So to sum up, I have a certain suspicion, that this CPU which also has a much lesser TDP of 90W,
potentially is for certain applications not so powerful.

Also take into consideration, that instant changes of CPU frequency also cause kind of lag, as
the CPU needs - as far as I know / heard - also some time until the new clock frequency is stable.
Thats I think the reason why many tunings for audio bring the CPU to a fix clock speed, which
also brings lower LatencyMon values.

EDIT: So having all cores constantly running at a higher base speed I personally regard as an advantage
over a design where you have many cores at much lower speed, where you eventually would NEED
turbo speed but then might get latencies by frequent CPU frequency changes.

If your system is still new, I would eventually a change of CPU also take into consideration.
Its might be a nice server CPU for virtualization, but potentially not for DAW work.

For this topic sadly you do not find much information in the internet.
So much is based on guesswork and own experience from the datacenter
where i.e. an Oracle DB benefit from an AMD Opteron system with less cores but higher clock speeds compared to a SPARC system with many cores but lesser clock speed.

Sorry, many suspicions from my side, maybe somebody else with a system with many cores at lower clock speeds can comment to this.

BTW what DAW are you using ?

BR Ramses - UFX III, 12Mic, XTC, ADI-2 Pro FS R BE, RayDAT, X10SRi-F, E5-1680v4, Win10Pro22H2, Cub13

10 (edited by enriquesilveti 2017-09-02 12:01:29)

Re: DPC high latency in a Server Motherboard computer

Hello.

We spend some time researching about this topic, MMCSS, parking and priorities between LAN and audio. We sent our A32 Dante back due a noise in audio input, we bought a Nvidia GPU and Intel Pro PCIe dual NIC.

DPC values decrease with Intel LAN NIC and Nvidia GPU not to similar values from a MBP 11.5 with Windows 8.1, MMCSS thread test show 32 thread are running in MMCSS from 128 while all of them are running in MMCSS in Windows 8.1.

Also gaming tweaks to decrease MMCSS headroom seems to be not appropriated, this is a weird topic due we need priority in both in audio and LAN due is AOIP! Let research more...

About host, we are developing our own host, anyway we have all major and a good collection of interfaces and AD/DA for test, including a UFX and a DigiFace USB.

PS: thank you for the CPU frequency tip, we will tweak BIOS ASAP to avoid them. About price, low budget is not our priority, redundancy and 24/7 work it is for this computer.

Saludos Enrique.

Re: DPC high latency in a Server Motherboard computer

Hello again,

Seems Windows 10 1803 fix some (or all) of our problems and our Xeon CPU E5-2640 v4 computer behaves correctly now.

Thank you for the help!

Saludos, Enrique

Saludos Enrique.