gpt4 book ai didi

Why does my Visual Studio Code notebook run much slower when VS Code is minimized?(当VS代码最小化时,为什么我的Visual Studio代码笔记本运行得慢得多?)

转载 作者:bug小助手 更新时间:2023-10-25 09:30:19 26 4
gpt4 key购买 nike



I own a Lenovo Legion laptop (16IRX8H - Type 82WQ) running the latest version of Windows 11 and have noticed when I minimize my VS Code, the python notebook I am running takes about 2x longer to complete. I am training an AI model on the CPU in Pytorch which can take hours to complete. I've noticed something is restricting the program from using more CPU resources in the background or when minimized, even if the foreground task itself requires almost no resources (like a notepad file).

我有一台运行最新版本Windows 11的联想军团笔记本电脑(16IRX8H型82WQ),我注意到,当我最小化VS代码时,我正在运行的Python笔记本电脑的完成时间大约是我的两倍。我正在火炬的中央处理器上训练一个人工智能模型,这可能需要几个小时才能完成。我注意到一些因素限制了程序在后台或最小化时使用更多的CPU资源,即使前台任务本身几乎不需要任何资源(如记事本文件)。


I've tried the following:

我试过以下几种方法:



  1. Deleting all Lenovo software

  2. Stopping NVIDIA software (even though I am using the CPU)

  3. Changing power plan to highest performance on both Lenovo and Windows

  4. Changing registry background task CPU limits

  5. Changing task priorities to highest

  6. Forcing the CPU to run at its highest speed with ThrottleStop

  7. Changing system performance to prefer Background Services does not make a difference


None of these have made any difference.

所有这些都没有起到任何作用。


更多回答

Does this answer your question? Will a task be completed faster if it is the active window?

这回答了你的问题吗?如果任务是活动窗口,完成速度会更快吗?

No, I've already tried the recommendation they provide and it doesn't seem to change anything

不,我已经尝试了他们提供的建议,但似乎没有改变任何事情

code.visualstudio.com/docs/setup/uninstall#_clean-uninstall

Code.visualstudio.com/docs/setup/uninstall#_clean-uninstall

May I know what's going on with the problem? If it has been solved, can you change the status of the answer to help more people with similar problems.

我可以知道是怎么回事吗?如果已经解决了,你能不能改变答案的状态,帮助更多有类似问题的人。

优秀答案推荐
更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com