VirtualBox

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

Last change on this file since 105289 was 99797, checked in by vboxsync, 2 years ago

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 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>
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>
Note: See TracBrowser for help on using the repository browser.

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