vpc使用教程_这是有关使用Virtual PC(VPC)优化性能的大量提示列表。

vpc使用教程

vpc使用教程

Here's a great list of tips from my buddy J. Sawyer at MSFT.

这是我在MSFT的好友J. Sawyer的大量提示。

Biggest perf tip is to put the VPC Virtual Hard Disks (VHD) to separate disk spindles from the operating system.  The biggest perf issue with VPC is related to disk I/O … and by making the VPC fight with your OS and swap disk make this issue much, much worse.  Additionally, today’s USB 2.0 and Firewire external hard drives run on a fast interface bus (Firewire does have some advantages over USB 2.0, but both are excellent), have a large (8MB) buffer and spin at 7200 RPM, as opposed to 4200 RPM for most laptop HDD. 

最大的提示是将VPC虚拟硬盘(VHD)放在与操作系统分开的磁盘轴上。 VPC的最大性能问题与磁盘I / O有关……通过使VPC与您的操作系统和交换磁盘抗争,使此问题严重得多。 此外,当今的USB 2.0和Firewire外部硬盘驱动器在快速接口总线上运行(Firewire确实比USB 2.0有一些优势,但两者都很出色),具有较大的缓冲区(8MB),转速为7200 RPM,而不是4200 RPM适用于大多数笔记本电脑硬盘。

Also, note the tip below regarding “Run Virtual PC at Maximum Speed” … this will give a boost to the VPC’s thread priorities at the expense of the host OS applications.  Depending on what you are using the VPC for, this may be exactly what you want. 

另外,请注意以下有关“以最大速度运行虚拟PC”的提示…这将提高VPC的线程优先级,但以牺牲主机OS应用程序为代价。 根据您使用VPC的用途,这可能正是您想要的。

From a PPT Deck:

从PPT平台:

Guidelines:

指导原则:

  • Ideally Virtual PC performance is at:

    理想情况下,Virtual PC的性能为:

  • CPU: 96-97% of host

    CPU:主机的96-97%

  • Network: 70-90% of host

    网络:主机的70-90%

  • Disk: 40-70% of host

    磁盘:主机的40-70%

    • However this is only for optimized guest operating systems running typical loads for a single process

      但是,这仅适用于运行单个进程的典型负载的优化来宾操作系统。

    • The Virtual PC team’s aim is always to provide the fastest possible solution while not compromising compatibility

      Virtual PC团队的目标始终是在不损害兼容性的情况下提供最快的解决方案

    • While virtual machines are not slow – there is always the potential for an unusual application to cause performance issues

      尽管虚拟机的运行速度并不慢,但异常应用程序总是有可能导致性能问题

Performance Tuning

性能调优

  • Guest Performance – Preferences

    来宾表演-首选项

  • Check “File … Options”

    选中“文件…选项”

  • Running guest in background: Enable “Run Virtual PC at Maximum Speed”

    在后台运行来宾:启用“以最大速度运行虚拟PC”

  • Running a test on multiple guests: Enable “All running virtual machines get equal CPU time”

    在多个guest虚拟机上运行测试:启用“所有正在运行的虚拟机获得相等的CPU时间”

  • Memory

    记忆

  • Host should have a minimum of 256MB, 512MB – 1024MB recommended

    主机至少应具有256MB,512MB –建议的1024MB

  • More memory is recommended for running multiple virtual machines simultaneously

    建议使用更多内存以同时运行多个虚拟机

  • Each guest should be allocated memory like it would on a physical machine

    应该为每个来宾分配内存,就像在物理机上一样

  • Virtual machines cannot use paged memory on the host system

    虚拟机无法使用主机系统上的分页内存

Additional Disk Optimizations

其他磁盘优化

  • Virtual Hard Disk size

    虚拟硬盘大小

  • Compress them

    压缩它们

  • Defrag guest

    整理碎片访客

  • Clear unused sectors ( Cipher, Eraser, etc.)

    清除未使用的扇区(密码,橡皮擦等)

  • DO NOT attempt this step on a differencing drive – it will expand the disk to maximum size and you cannot compact it.

    请勿在差异驱动器上尝试执行此步骤-它会将磁盘扩展到最大大小,并且您无法压缩它。

  • Compact using Virtual Disk Wizard

    使用虚拟磁盘向导压缩

  • Enable NTFS compression on host operating system

    在主机操作系统上启用NTFS压缩

  • Trades off performance for file size

    在性能与文件大小之间进行权衡

  • Virtual Hard Disk performance

    虚拟硬盘性能

  • Place the .VHD files on separate spindle from host OS

    将.VHD文件放置在与主机OS不同的主轴上

  • If using Undo or Differencing Disks, place them on an additional spindle

    如果使用“撤消”或“差异磁盘”,请将其放置在其他主轴上

翻译自: https://www.hanselman.com/blog/heres-a-great-list-of-tips-on-optimzing-performance-with-virtual-pc-vpc

vpc使用教程

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值