Computer >> Hướng Dẫn Máy Tính >  >> Xử Lý Sự Cố >> Lỗi Windows

Khắc phục: High DPC Latency trên Windows 10

DPC (Deferred Procedure Call) là cơ chế Windows cho phép tác vụ cao ưu tiên hoãn tác vụ thấp ưu tiên. High DPC Latency thường do driver thiết bị (đặc biệt card mạng, card đồ họa) xử lý kém, gây lag, giật, crackling âm thanh.

Giải pháp 1: Đổi Power Plan (Chế độ nguồn)

Chế độ Balanced đôi khi gây vấn đề. Thử High Performance hoặc Power Saver.

  1. Chuột phải biểu tượng pin > Power Options (hoặc Control Panel > Power Options).
  2. Chọn plan khác Balanced (có thể bật "Show additional plans").
  3. Kiểm tra độ trễ.

Giải pháp 2: Tắt Dynamic Ticking & Cập nhật driver Card màn hình

  1. Mở Command Prompt (Admin) > chạy: bcdedit /set disabledynamictick yes > Enter (thông báo "Operation completed successfully").
  2. Mở Device Manager (devmgmt.msc) > Display adapters > chuột phải card màn hình > Update driver > Search automatically. Làm cho cả card rời và onboard.

Giải pháp 3: Cấu hình Network Adapters (Wi-Fi & Ethernet)

Thiết bị mạng thường gây DPC latency cao.

  1. Device Manager > Network Adapters > tìm card Wi-Fi & Ethernet (thường Intel).
  2. Chuột phải từng cái > Properties > tab Advanced > tìm Energy Efficient Ethernet > set Disabled / Off.
  3. Tab Power Management > bỏ tick Allow the computer to turn off this device to save power.
  4. Lặp lại cho tất cả card mạng > Apply > kiểm tra.

Giải pháp 4: Gỡ Firewall (Avast Firewall & Windows Defender Firewall)

Firewall (đặc biệt Avast) thường gây DPC latency cao.

Avast Firewall: Mở Avast > Settings > Components > Avast Firewall > Uninstall > Restart.

Windows Defender Firewall:

  1. Control Panel > Windows Firewall > Turn Windows Firewall on or off > tắt cả Private & Public.
  2. Tắt dịch vụ: Win + R > regedit > đến HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MpsSvc > sửa Start (REG_DWORD) = 4 (Disabled) > OK > Restart.

Giải pháp 5: Dành cho người dùng AVG Free

  1. Win + R > ncpa.cpl > Enter.
  2. Chuột phải kết nối đang dùng > Properties > bỏ tick AVG network filter driver > OK.

Giải pháp 6: Gỡ Bonjour (Apple)

Bonjour (zero-config networking) thường cài kèm iTunes/phần mềm Apple, không cần thiết trên PC, có thể gây latency.

  1. Control Panel / Settings > Apps > tìm Bonjour > Uninstall > Restart.

Giải pháp 7: Tắt IPv6 (Internet Protocol Version 6)

  1. Win + R > ncpa.cpl > đúp chuột adapter đang dùng > Properties.
  2. Bỏ tick Internet Protocol Version 6 (TCP/IPv6) > OK > Restart.

Giải pháp 8: Registry Tweak tắt NVIDIA PowerMizer (cho laptop NVIDIA)

PowerMizer quản lý năng suất card NVIDIA để tiết kiệm pin, nhưng có thể gây biến động CPU/DPC.

Backup Registry trước khi làm.

  1. regedit > đến: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\********\0000\ (chọn thư mục 0000 có nhiều khóa nhất).
  2. Tạo 4 giá trị DWORD (32-bit): PerfLevelSrc, PowerMizerEnable, PowermizerLevel, PowermizerLevelAC.
  3. Set giá trị:
    PerfLevelSrc = 3322
    PowerMizerEnable = 0
    PowermizerLevel = 1
    PowermizerLevelAC = 1
  4. Restart máy. PowerMizer bị tắt, DPC latency giảm.