VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/nat-adv-settings.dita@ 105289

最後變更 在這個檔案從105289是 99797,由 vboxsync 提交於 22 月 前

Docs: bugref:10302. Merging changes from the docs team. Almost exclusively conkeyref related stuff.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.3 KB
 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="nat-adv-settings">
4 <title>Tuning TCP/IP Buffers for NAT</title>
5
6 <body>
7 <p>
8 The <ph conkeyref="vbox-conkeyref-phrases/product-name"/> NAT stack performance is often determined by
9 its interaction with the host's TCP/IP stack and the size of
10 several buffers, <codeph>SO_RCVBUF</codeph> and
11 <codeph>SO_SNDBUF</codeph>. For certain setups users might
12 want to adjust the buffer size for a better performance. This
13 can by achieved using the following commands, where values are
14 in kilobytes and can range from 8 to 1024:
15 </p>
16 <pre xml:space="preserve">$ VBoxManage modifyvm <varname>VM-name</varname> \
17--natsettings1 16000,128,128,0,0</pre>
18 <p>
19 This example illustrates tuning the NAT settings. The first
20 parameter is the MTU, then the size of the socket's send buffer
21 and the size of the socket's receive buffer, the initial size of
22 the TCP send window, and lastly the initial size of the TCP
23 receive window. Note that specifying zero means fallback to the
24 default value.
25 </p>
26 <p>
27 Each of these buffers has a default size of 64KB and default MTU
28 is 1500.
29 </p>
30 </body>
31
32</topic>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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