Last change
on this file since 105335 was 105335, checked in by vboxsync, 7 months ago |
FE/Qt: bugref:10705. Merging r6149 from doc team's repo.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
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>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.