Shrikrishna Khare
7475908fbe
vmxnet3: increase default rx ring sizes
...
There are several reasons for increasing the receive ring sizes:
1. The original ring size of 256 was chosen about 10 years ago when
vmxnet3 was first created. At that time, 10Gbps Ethernet was not prevalent
and servers were dominated by 1Gbps Ethernet. Now 10Gbps is common place,
and higher bandwidth links -- 25Gbps, 40Gbps, 50Gbps -- are starting
to appear. 256 Rx ring entries are simply not enough to keep up with
higher link speed when there is a burst of network frames coming from
these high speed links. Even with full MTU size frames, they are gone
in a short time. It is also more common to have a mix of frame sizes,
and more likely bi-modal distribution of frame sizes so the average frame
size is not close to full MTU. If we consider average frame size of 800B,
1024 frames that come in a burst takes ~0.65 ms to arrive at 10Gbps. With
256 entires, it takes ~0.16 ms to arrive at 10Gbps. At 25Gbps or 40Gbps,
this time is reduced accordingly.
2. On a hypervisor where there are many VMs and CPU is over committed,
i.e. the number of VCPUs is more than the number of VCPUs, each PCPU is
in effect time shared between multiple VMs/VCPUs. The time granularity at
which this multiplexing occurs is typically coarser than between processes
on a guest OS. Trying to time slice more finely is not efficient, for
example, if memory cache is barely warmed up when switching from one VM
to another occurs. This CPU overcommit adds delay to when the driver
in a VM can service incoming packets. Whether CPU is over committed
really depends on customer workloads. For certain situations, it is very
common. For example, workloads of desktop VMs and product testing setups.
Consolidation and sharing is what drives efficiency of a customer setup
for such workloads. In these situations, the raw network bandwidth may
not be very high, but the delays between when a VM is running or not
running can also be relatively long.
Signed-off-by: Shrikrishna Khare <[email protected] >
Acked-by: Jin Heo <[email protected] >
Acked-by: Guolin Yang <[email protected] >
Acked-by: Boon Ang <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2017-11-30 14:06:58 -05:00
..
accessibility
acpi
ACPI fix for v4.15-rc1
2017-11-17 14:51:24 -08:00
amba
A couple of dma-mapping updates:
2017-11-14 16:54:12 -08:00
android
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
ata
Merge branch 'for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
2017-11-15 14:11:41 -08:00
atm
atm: eni: fix several indentation issues
2017-11-30 09:26:32 -05:00
auxdisplay
auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM
2017-11-27 12:36:45 -08:00
base
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
2017-11-21 16:35:54 -08:00
bcma
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-11-15 11:56:19 -08:00
block
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
2017-11-21 16:35:54 -08:00
bluetooth
bus
ARM: SoC driver updates for v4.15
2017-11-16 16:05:01 -08:00
cdrom
Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-block
2017-11-14 15:32:19 -08:00
char
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-26 14:11:54 -08:00
clk
We have two changes to the core framework this time around. The first being a
2017-11-17 20:04:24 -08:00
clocksource
- final batch of "non trivial" timer conversions (multi-tree dependencies,
2017-11-23 16:29:05 +01:00
connector
cpufreq
Power management updates for v4.15-rc1
2017-11-13 19:43:50 -08:00
cpuidle
powerpc updates for 4.15
2017-11-16 12:47:46 -08:00
crypto
powerpc updates for 4.15
2017-11-16 12:47:46 -08:00
dax
libnvdimm for 4.15
2017-11-17 09:51:57 -08:00
dca
devfreq
Merge branches 'pm-devfreq' and 'pm-tools'
2017-11-13 01:41:39 +01:00
dio
dma
dmaengine updates for 4.15-rc1
2017-11-14 16:49:31 -08:00
dma-buf
Tracing updates for 4.15:
2017-11-17 14:58:01 -08:00
edac
Modules updates for v4.15
2017-11-15 13:46:33 -08:00
eisa
extcon
USB/PHY patches for 4.15-rc1
2017-11-13 21:14:07 -08:00
firewire
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-13 17:56:58 -08:00
firmware
drivers/firmware: psci: Convert timers to use timer_setup()
2017-11-21 15:46:44 -08:00
fmc
fpga
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
fsi
gpio
This is the bulk of pin control changes for the v4.15
2017-11-16 10:57:11 -08:00
gpu
previous part 2 tag + ttm regression fix, i915,vc4,core,uapi fixes
2017-11-28 10:01:15 -08:00
hid
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
hsi
HSI changes for the v4.15 series
2017-11-15 13:35:43 -08:00
hv
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
hwmon
hwmon: (w83793) Remove duplicate NULL check
2017-11-16 01:03:19 -08:00
hwspinlock
hwspinlock update for v4.15
2017-11-17 20:16:20 -08:00
hwtracing
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
i2c
Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2017-11-17 11:54:55 -08:00
ide
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
2017-11-19 08:04:41 -10:00
idle
Merge branch 'pm-cpuidle'
2017-11-13 01:34:14 +01:00
iio
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
infiniband
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
2017-11-21 16:35:54 -08:00
input
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
2017-11-21 16:35:54 -08:00
iommu
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
ipack
irqchip
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-26 14:39:20 -08:00
isdn
treewide: setup_timer() -> timer_setup() (2 field)
2017-11-21 15:57:09 -08:00
leds
LED updates for 4.15rc1
2017-11-14 18:09:31 -08:00
lightnvm
lightnvm: Convert timers to use timer_setup()
2017-11-21 15:46:44 -08:00
macintosh
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-13 17:56:58 -08:00
mailbox
Change to POLL api and fixes for FlexRM and OMAP driver
2017-11-15 13:39:18 -08:00
mcb
md
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
2017-11-17 10:56:56 -08:00
media
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
2017-11-21 16:35:54 -08:00
memory
ARM: SoC driver updates for v4.15
2017-11-16 16:05:01 -08:00
memstick
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
message
Modules updates for v4.15
2017-11-15 13:46:33 -08:00
mfd
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
misc
lkdtm: include WARN format string
2017-11-17 16:10:01 -08:00
mmc
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
mtd
Rename superblock flags (MS_xyz -> SB_xyz)
2017-11-27 13:05:09 -08:00
mux
net
vmxnet3: increase default rx ring sizes
2017-11-30 14:06:58 -05:00
nfc
treewide: setup_timer() -> timer_setup() (2 field)
2017-11-21 15:57:09 -08:00
ntb
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
nubus
m68k updates for 4.15
2017-11-13 12:10:24 -08:00
nvdimm
libnvdimm for 4.15
2017-11-17 09:51:57 -08:00
nvme
nvmet_fc: fix better length checking
2017-11-16 11:27:04 -07:00
nvmem
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
of
DeviceTree fixes for 4.15:
2017-11-20 21:38:41 -10:00
opp
oprofile
parisc
parport
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
pci
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-26 14:11:54 -08:00
pcmcia
drivers/pcmcia/sa1111_badge4.c: avoid unused function warning
2017-11-17 16:10:04 -08:00
perf
arm64 updates for 4.15
2017-11-15 10:56:56 -08:00
phy
USB/PHY patches for 4.15-rc1
2017-11-13 21:14:07 -08:00
pinctrl
This is the bulk of pin control changes for the v4.15
2017-11-16 10:57:11 -08:00
platform
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-25 08:37:16 -10:00
pnp
power
power supply and reset changes for the v4.15 series
2017-11-15 13:37:15 -08:00
powercap
pps
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
ps3
ptp
xen: features and fixes for v4.15-rc1
2017-11-16 13:06:27 -08:00
pwm
pwm: Changes for v4.15-rc1
2017-11-22 21:09:18 -10:00
rapidio
Merge branch 'akpm' (patches from Andrew)
2017-11-17 16:56:17 -08:00
ras
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-13 17:56:58 -08:00
regulator
- New Drivers
2017-11-16 09:15:57 -08:00
remoteproc
remoteproc updates for v4.15
2017-11-17 20:14:10 -08:00
reset
ARM: SoC driver updates for v4.15
2017-11-16 16:05:01 -08:00
rpmsg
rpmsg updates for v4.15
2017-11-17 20:12:08 -08:00
rtc
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-25 08:37:16 -10:00
s390
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
2017-11-21 16:35:54 -08:00
sbus
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
2017-11-17 20:21:44 -08:00
scsi
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-25 08:37:16 -10:00
sfi
sh
A couple of dma-mapping updates:
2017-11-14 16:54:12 -08:00
sn
soc
ARM: SoC driver updates for v4.15
2017-11-16 16:05:01 -08:00
spi
spmi
ssb
staging
Rename superblock flags (MS_xyz -> SB_xyz)
2017-11-27 13:05:09 -08:00
target
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-25 08:37:16 -10:00
tc
tee
thermal
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
2017-11-17 14:31:27 -08:00
thunderbolt
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
tty
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
2017-11-21 16:35:54 -08:00
uio
usb
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
uwb
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
vfio
VFIO Updates for Linux v4.15
2017-11-14 16:47:47 -08:00
vhost
Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2017-11-17 12:08:18 -08:00
video
fbdev changes for v4.15:
2017-11-20 21:50:24 -10:00
virt
virtio
virtio_balloon: fix deadlock on OOM
2017-11-14 23:57:38 +02:00
vlynq
vme
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
w1
Char/Misc patches for 4.15-rc1
2017-11-16 09:10:59 -08:00
watchdog
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
xen
treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
2017-11-21 15:57:05 -08:00
zorro
Kconfig
Merge branches 'pm-cpufreq-sched' and 'pm-opp'
2017-11-13 01:40:52 +01:00
Makefile
Merge branches 'pm-cpufreq-sched' and 'pm-opp'
2017-11-13 01:40:52 +01:00