VirtualBox

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

Last change on this file since 99009 was 98549, checked in by vboxsync, 2 years ago

Docs: bugref:10302. Uploading .dita user manual files we received from the doc team on 25th Jan.

  • 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 Oracle VM VirtualBox 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.

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