--- /n/sources/plan9/sys/src/9/pc/ether82563.c Mon Mar 24 17:51:28 2014
+++ /sys/src/9/pc/ether82563.c Sun Jan 10 00:00:00 2016
@@ -414,9 +414,13 @@
};
enum {
- /* were 512, 1024 & 64, but 52, 253 and 9 are ample. */
+ /*
+ * these were 512, 1024 & 64, but 52, 253 & 9 are usually ample;
+ * however cpu servers and terminals can need more receive buffers
+ * due to bursts of traffic.
+ */
Nrd = 128, /* power of two */
- Nrb = 512, /* private receive buffers per Ctlr */
+ Nrb = 1024, /* private receive buffers per Ctlr */
Ntd = 32, /* power of two */
};
--- /n/sources/plan9/sys/src/9/pc/ether82598.c Tue Mar 18 21:32:01 2014
+++ /sys/src/9/pc/ether82598.c Sun Jan 10 00:00:00 2016
@@ -23,9 +23,13 @@
/* tunable parameters */
Goslow = 0, /* flag: go slow by throttling intrs, etc. */
- /* were 256, 1024 & 64, but 30, 47 and 1 are ample. */
- Nrd = 64, /* multiple of 8, power of 2 for NEXTPOW2 */
- Nrb = 128,
+ /*
+ * these were 256, 1024 & 128, but 30, 47 and 1 are usually ample;
+ * however cpu servers and terminals can need more receive buffers
+ * due to bursts of traffic.
+ */
+ Nrd = 128, /* multiple of 8, power of 2 for NEXTPOW2 */
+ Nrb = 1024,
Ntd = 32, /* multiple of 8, power of 2 for NEXTPOW2 */
};
--- /n/sources/plan9/sys/src/9/pc/etherigbe.c Mon Mar 24 17:51:28 2014
+++ /sys/src/9/pc/etherigbe.c Sun Jan 10 00:00:00 2016
@@ -444,9 +444,13 @@
enum {
Rbsz = 2048,
- /* were 256, 1024 & 64, but 52, 253 and 9 are ample. */
+ /*
+ * these were 256, 1024 & 64, but 52, 253 & 9 are usually ample;
+ * however cpu servers and terminals can need more receive buffers
+ * due to bursts of traffic.
+ */
Nrd = 128, /* multiple of 8 */
- Nrb = 512, /* private receive buffers per Ctlr */
+ Nrb = 1024, /* private receive buffers per Ctlr */
Ntd = 32, /* multiple of 8 */
};
|