ola, i just moved the bittorrent seeder we use to reimage our lab machines off a physical box onto a vm, and found it hit the current ring limits.
bumping this up gave us some more headroom. the CWM on vmx0 now sits up around 150 on our vm, but the extra tx descriptors has helped a lot since we're mostly pushing packets. ok? Index: if_vmx.c =================================================================== RCS file: /cvs/src/sys/dev/pci/if_vmx.c,v retrieving revision 1.24 diff -u -p -r1.24 if_vmx.c --- if_vmx.c 10 Feb 2015 02:57:32 -0000 1.24 +++ if_vmx.c 27 Apr 2015 04:43:02 -0000 @@ -50,9 +50,9 @@ #define NRXQUEUE 1 #define NTXQUEUE 1 -#define NTXDESC 128 /* tx ring size */ +#define NTXDESC 512 /* tx ring size */ #define NTXSEGS 8 /* tx descriptors per packet */ -#define NRXDESC 128 +#define NRXDESC 512 #define NTXCOMPDESC NTXDESC #define NRXCOMPDESC (NRXDESC * 2) /* ring1 + ring2 */
