SSH bulk data transfer mode can be used to enhance the throughput performance of SCP that is operating in the capacity of
a client or a server. Before Cisco IOS XE Dublin 17.10.1, this mode is disabled by default, but can be enabled by using the
ip ssh bulk-mode global configuration command. Beginning from Cisco IOS XE Dublin 17.10.1, SSH bulk data transfer mode is enabled by default
with a default window size of 128 KB. TCP selective acknowledgment (SACK) is enabled by default if the bulk mode window size
is configured.
The default bulk mode window size of 128 KB is optimal to copy large files in most network settings. However, in long haul
networks where the round-trip time (RTT) is high, 128 KB is not enough. You can enable the most optimal SCP throughput performance
by configuring the bulk mode window size using the ip ssh bulk-mode window-size command. For example, in an ideal lab testing environment, a window size of 2 MB in a 200-milliseconds round-trip time (RTT)
setting can give around 500 percent improved throughput performance when compared to the default 128 KB window size.
The bulk mode window size must be configured as per the network bandwidth-delay product, that is, a multiple of total available
bandwidth in bits per second and the round-trip time (RTT) in seconds. Because the CPU usage may increase with the increased
window size, make sure to balance this by choosing the right window size.