microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.74k stars 6.29k forks source link

vcpkg/cmake/ninja using only efficiency cores under windows #39935

Open cenit opened 1 month ago

cenit commented 1 month ago

I have a machine with intel i7-13850hx. Under windows 10 when building it uses only efficient cores, while under wsl2 it uses all cores available. There's nothing defined from the environment point of view to limit concurrency. Is it by design on windows (maybe beyond vcpkg control)? Am I the only one experiencing it?

Environment

To Reproduce Steps to reproduce the behavior:

  1. ./vcpkg install opencv4
  2. See in task manager cpu load

Expected behavior All cores to be used

Failure logs

autoantwort commented 1 month ago

I don't think this is vcpkg related 😅 Is your Laptop connected to power?

cenit commented 1 month ago

yes 🤣

Thomas1664 commented 1 month ago

Useful sources: https://www.xmg.gg/en/news-tips-and-tricks-rendering-e-cores/ https://learn.microsoft.com/en-us/windows/win32/procthread/quality-of-service