如何故意减慢 Windows?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/926390/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How can I deliberately slow Windows?
提问by callisto
How do I reversably slow a PC with XP?
如何可逆地减慢装有 XP 的 PC?
I want to achieve this without using visible CPU-cycles, so I'm guessing some hardware settings might do.
我想在不使用可见的 CPU 周期的情况下实现这一点,所以我猜一些硬件设置可能会这样做。
I don't want my app to run slow, I want the whole OS to be slow. I know some network lookups especially out of a trusted environment (think Active Directory) slow a PC way down. This is the effect I want.
我不希望我的应用程序运行缓慢,我希望整个操作系统运行缓慢。我知道一些网络查找,尤其是在受信任的环境(想想 Active Directory)之外,会减慢 PC 的速度。这就是我想要的效果。
Disclaimer: this is not for a bad/evil/illegal cause!
免责声明:这不是出于不良/邪恶/非法原因!
回答by n8wrl
We use a 'crippled' server we call doofus for load testing. it is an old P3/500 box with limited RAM.
我们使用称为 doofus 的“残废”服务器进行负载测试。这是一个旧的 P3/500 盒子,内存有限。
Another option is setting up a VM with very limited resources.
另一种选择是设置一个资源非常有限的虚拟机。
回答by Michael
Use powercfg.exe, to force the computer to a power plan you've created that locks the CPU into a lower frequency to conserve power. What states are available depend on your platform (most desktops only have a couple.)
使用powercfg.exe强制计算机执行您创建的电源计划,将 CPU 锁定到较低频率以节省电量。可用的状态取决于您的平台(大多数台式机只有几个。)
回答by Tim
If you think your hardware setup can handle it, some motherboards let you manually specify a clockspeed multiplier or other speed settings in the BIOS. Often there'll be an option for a slower speed or a field where you can manually enter a lower multiplier.
如果您认为您的硬件设置可以处理它,一些主板允许您在 BIOS 中手动指定时钟速度乘数或其他速度设置。通常会有一个较慢的速度选项或一个字段,您可以在其中手动输入较低的乘数。
If not, you might consider setting up a virtual machine, and making sure it's not fully virtualized - paravirtualized machines run slower due to the necessary translations that take place in the virtualization layer.
如果没有,您可能会考虑设置一个虚拟机,并确保它没有完全虚拟化 - 由于在虚拟化层中进行了必要的转换,半虚拟化机器运行速度较慢。
回答by R Ubben
The open source Bochs emulatoris pretty easy to slow down by editing its config file. Windows XP will run in it. It is not as powerful as vmware, but there are many more configuration options.
开源Bochs 模拟器很容易通过编辑其配置文件来减慢速度。Windows XP 将在其中运行。它没有 vmware 强大,但有更多的配置选项。
Look at the documentation for the config file, "bochsrc", and particularly the "IPS" entry. (Instructions Per Second)
查看配置文件“bochsrc”的文档,尤其是“IPS”条目。(每秒指令数)
回答by ine
If you want to see really dramatic effects very easily, set the /MAXMEMswitch in boot.ini (or use msconfig). This will limit the amount of memory used by the system - switching to 256mb or lower would make things very, very slow.
如果您想非常轻松地看到真正的戏剧效果,请在 boot.ini 中设置/MAXMEM开关(或使用 msconfig)。这将限制系统使用的内存量 - 切换到 256mb 或更低会使事情变得非常非常缓慢。
回答by JesperE
You may want to take a look at a full-system simulator such as Simics. Simics allows you deterministically simulate an entire system (including networks, if you want). Not only can you tweak the CPU frequency, you can study the system in detail to see how it behaves.
您可能想看看全系统模拟器,例如Simics。Simics 允许您确定性地模拟整个系统(包括网络,如果需要)。您不仅可以调整 CPU 频率,还可以详细研究系统以了解其行为。
Unfortunately, Simics has quite a pricetag.
不幸的是,Simics 的价格不菲。
回答by Rook
Remove the thermopaste and put some dust on the CPU :-) Also, remove some RAM.
取下热膏并在 CPU 上放一些灰尘 :-) 另外,取下一些 RAM。
回答by MBCook
You have lots of options. Things I can think of:
你有很多选择。我能想到的事情:
- Change your disks to good old fashioned IDE. None of that high-speed DMA stuff, just good old fashioned PIO.
- Remove RAM (or diable in the BIOS)
- Switch to generic video drivers (I mean "Generic SVGA" type, that are un-accelerated)
- Disable core(s) in the BIOS
- Slow the CPU down in the bios (if possible)
- 将您的磁盘更改为良好的老式 IDE。没有那些高速 DMA 的东西,只是很好的老式 PIO。
- 移除 RAM(或在 BIOS 中禁用)
- 切换到通用视频驱动程序(我的意思是“通用 SVGA”类型,未加速)
- 在 BIOS 中禁用内核
- 在 bios 中降低 CPU 的速度(如果可能)
回答by MBCook
Disable the L2 cache in the BIOS
在 BIOS 中禁用 L2 缓存