运行 Visual Studio 2010 的 PC 规格 +顺利进行 ReSharper
假设我们必须继续使用 Windows XP x86,那么在 Visual Studio 2010 中与 ReSharper、PowerTool 和其他一些较小的附加组件一起工作的最佳规格是什么?
我们可以升级的组件有:
- CPU
- RAM
- HDD
- 显卡
目前,我有一个 Pentium 双核 E5300 2.6GHz 和 4GB RAM,ReSharper 使 Visual Studio 在大约 2000 个文件的解决方案中崩溃。
Assuming we have to stay on Windows XP x86, what would be the best spec for working in Visual Studio 2010 with ReSharper, PowerTool and a couple of other smaller add-ons?
Components we can upgrade are:
- CPU
- RAM
- HDD
- Graphics
At the moment, I have a Pentium Dual-Core E5300 2.6GHz with 4GB RAM and ReSharper makes Visual Studio crash in a solution of around 2000 files.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确实应该迁移到 Win 7,或者至少是 Win Vista。仅仅通过在这些之上运行,VS 就有了巨大的改进。
正如您所说的 XP x86,一些建议:
Ram:尽可能快的 4Gb。这很重要,但也仅取决于 VS 实例的数量和解决方案的大小。对于 4Gb,我建议保留在低解决方案范围内(<25 个项目)。
CPU:尽可能快。多核有一点帮助,但很多 VS UI 在 GUI 上都是单线程的。
硬盘:VS是硬盘怪物,硬盘速度非常快。 SSD尤其在这里。先把钱花在这里。 R# 性能瓶颈是文件扫描,因此这也将有所帮助。
图形:比你想象的要重要得多,主要是因为 VS 使用 WPF 和硬件加速。获得具有稳定驱动程序的优质显卡非常重要。 VS 2010 SP1 默认情况下在 XP 上禁用硬件加速(可以在设置中打开),因为 XP 上的许多 VS 2010 崩溃都是由于不稳定的图形驱动程序造成的,而 WPF 经常遇到这些问题。如果你有一个稳定的好版本,请打开该设置!
另一个问题也是定期重启,VS 在内存中做了很多工作,并且不太擅长清理。因此堆栈很快就会填满,并且经常会崩溃(PerfWaston 是寻找此信息),因此经常重新启动会有所帮助。
正如我在一开始所说的那样,您最好的选择也是升级到 Win7(尤其是 x64)最便宜的方式之一(与新硬件相比)。更多的 RAM、更好的 SSD 支持、更稳定的操作系统,这些都将帮助您的 VS 体验更快、更稳定。
Really should be moving to Win 7, or at least Win Vista. There is MASSIVE improvements in VS just by running on top of those.
As you stated XP x86, some suggestions:
Ram: 4Gb as fast as you can get. This is important but also only depends on number of VS instances and solution size. At 4Gb I would suggest staying in the low solution bracket (< 25 projects).
CPU: Fast as you can get. Multi core helps a bit, but a lot of the VS UI is single threaded on the GUI.
HDD: VS is a harddrive monster, so fast hard drive. SSD especially here. Spend the money here FIRST. R# perf bottle neck is the file scanning so this will help with this too.
Graphics: Far more important than you would think, mostly due to the fact VS uses WPF and hardware acceleration. Very important to get a good graphics card with STABLE drivers. VS 2010 SP1 disables hardware acceleration on XP by default (can be turned on in the settings) because so many VS 2010 crashes on XP are from unstable graphic drivers and WPF hits those issues a lot. If you get a good stable one, turn that setting on!
Another issue is also just regular restarts, VS does a lot in memory and isn't too good at cleaning up. So the stack fills quickly and it will crash often (PerfWaston is looking for this info) so a restart every so often helps.
As I said at the start your best bet is also one of the cheapest (compared to new hardware) upgrade to Win7, especially x64. More RAM, better SSD support, more stable OS, there is a lot in there that will help your VS experience be faster and more stable.
我强烈建议迁移到 64 位。即使 Visual Studio 只有 4GB 可寻址 RAM,如果您获得超过 4GB 的 RAM,它也可以访问更多内存。
另外,获得更快的硬盘。 SSD 或 RAID 5。我会选择这个而不是更快的 CPU。
I would highly recommend moving to 64-bit. Even if you just have 4GB addressable ram with Visual studio, it will have access to more memory if you get more than 4GB of RAM.
Also, get faster hard drives. SSD or RAID 5. I'd pick this over a faster CPU.