I used this tool (GitHub - kurtis2221/win10_dwm_tool: Simplified tool to enable and disable DWM in Windows 10 20H2+) to disable DWM while gaming, and I can feel a noticeable improvement in smoothness. However, the game still freezes for 1-3 seconds every 4-6 minutes.