VirtualBox

Changeset 42169 in vbox for trunk/doc/manual/en_US


Ignore:
Timestamp:
Jul 16, 2012 4:27:10 PM (12 years ago)
Author:
vboxsync
Message:

doc/manual: Draft of section on improving network performance (#5582)

Location:
trunk/doc/manual/en_US
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_KnownIssues.xml

    r40765 r42169  
    282282   
    283283        <listitem>
     284          <para>Neither <emphasis>virtio</emphasis> nor <emphasis>Intel PRO/1000
     285            </emphasis> drivers for <emphasis role="bold">Windows XP guests
     286            </emphasis> do not support segmentation offloading. Therefore
     287            Windows XP guests have slower transmission rates comparing to other
     288            guest types. Refer to MS Knowledge base article 842264 for additional
     289            information.</para>
     290        </listitem>
     291   
     292        <listitem>
    284293          <para><emphasis role="bold">Guest Additions for OS/2.</emphasis> Shared
    285294          folders are not yet supported with OS/2 guests. In addition, seamless
  • trunk/doc/manual/en_US/user_Networking.xml

    r41998 r42169  
    820820      <screen>VBoxManage bandwidthctl "VM name" set Limit --limit 0</screen></para>
    821821  </sect1>
     822  <sect1 id="network_performance">
     823    <title>Improving network performance</title>
     824
     825    <para>VirtualBox provides a variety of virtual network adapters that can be
     826      "attached" to the host's network in a number of ways. Depending on which
     827      types of adapters and attachments are used the network performance will
     828      be different. Performance-wise the <emphasis>virtio</emphasis> network
     829      adapter is preferrable over <emphasis>Intel PRO/1000</emphasis> emulated
     830      adapters, which are preferred over <emphasis>PCNet</emphasis> family of
     831      adapters. Both <emphasis>virtio</emphasis> and <emphasis>Intel PRO/1000
     832      </emphasis> adapters enjoy the benefit of segmentation and checksum
     833      offloading. Segmentation offloading is essential for high performance as
     834      it allows for less context switches, drammatically increasing the sizes
     835      of packets that cross VM/host bondary.</para>
     836    <note><para>Neither <emphasis>virtio</emphasis> nor <emphasis>Intel PRO/1000
     837        </emphasis> drivers for Windows XP do not support segmentation
     838        offloading. Therefore Windows XP guests never reach the same
     839        transmission rates as other guest types. Refer to MS Knowledge base
     840        article 842264 for additional information.</para>
     841    </note>
     842    <para>Three attachment types: <emphasis>internal</emphasis>,
     843      <emphasis>bridged</emphasis> and <emphasis>host-only</emphasis>, have
     844      nearly identical performance, the <emphasis>internal</emphasis> type
     845      being a little bit faster and using less CPU cycles as the packets never
     846      reach the host's network stack. The <emphasis>NAT</emphasis> attachment
     847      is the slowest (and safest) of all attachment types as it provides
     848      network address translation. The generic driver attachment is special and
     849      cannot be considered as an alternative to other attachment types.</para>
     850    <para>The number of CPUs assigned to VM does not improve network
     851      performance and in some cases may hurt it due to increased concurency in
     852      the guest.</para>
     853    <para>Here is the short summary of things to check in order to improve
     854      network performance:</para>
     855    <para><orderedlist>
     856        <listitem>
     857          <para>Whenever possible use <emphasis>virtio</emphasis> network
     858            adapter, otherwise use one of <emphasis>Intel PRO/1000</emphasis>
     859            adapters;</para>
     860        </listitem>
     861        <listitem>
     862          <para>Use <emphasis>bridged</emphasis> attachment instead of
     863            <emphasis>NAT</emphasis></para>;
     864        </listitem>
     865        <listitem>
     866          <para>Make sure segmentation offloading is enabled in the guest OS.
     867            Usually it will be enabled by default. You can check and modify
     868            offloading settings using <computeroutput>ethtool</computeroutput>
     869            command in Linux guests.</para>
     870        </listitem>
     871        </orderedlist></para>
     872  </sect1>
    822873</chapter>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette