microsoft / vcpkg

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

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

Open cenit opened 4 months ago

cenit commented 4 months 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 4 months ago

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

cenit commented 4 months ago

yes 🤣

Thomas1664 commented 4 months 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