VirtualBox

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

最後變更 在這個檔案從105335是 105335,由 vboxsync 提交於 8 月 前

FE/Qt: bugref:10705. Merging r6149 from doc team's repo.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.2 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>The <ph conkeyref="vbox-conkeyref-phrases/product-name"/> NAT stack performance is often determined by its
8 interaction with the host's TCP/IP stack and the size of several buffers, <codeph>SO_RCVBUF</codeph> and
9 <codeph>SO_SNDBUF</codeph>. For certain setups users might want to adjust the buffer size for a better
10 performance. This can by achieved using the following commands, where values are in kilobytes and can range from 8
11 to 1024: </p>
12 <pre xml:space="preserve">$ VBoxManage modifyvm <varname>VM-name</varname> \
13--natsettings1 16000,128,128,0,0</pre>
14 <p>This example illustrates tuning the NAT settings. The first parameter is the MTU, then the size of the socket's
15 send buffer and the size of the socket's receive buffer, the initial size of the TCP send window, and lastly the
16 initial size of the TCP receive window. Note that specifying zero means fallback to the default value. </p>
17 <p>Each of these buffers has a default size of 64KB and default MTU is 1500. </p>
18 </body>
19
20</topic>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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