[Asterisk-cvs] zaptel wct4xxp.c,1.85,1.86

markster markster
Wed Aug 17 14:25:48 CDT 2005


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv21871

Modified Files:
	wct4xxp.c 
Log Message:
Default to "safe/compatible" options in driver


Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- wct4xxp.c	15 Aug 2005 20:03:54 -0000	1.85
+++ wct4xxp.c	17 Aug 2005 18:28:26 -0000	1.86
@@ -56,7 +56,12 @@
 
 /* Work queues are a way to better distribute load on SMP systems */
 #ifdef LINUX26
-#define ENABLE_WORKQUEUES
+/*
+ * Work queues can significantly improve performance and scalability
+ * on multi-processor machines, but requires bypassing some kernel
+ * API's, so it's not guaranteed to be compatible with all kernels.
+ */
+/* #define ENABLE_WORKQUEUES */
 #endif
 
 /* Enable prefetching may help performance */
@@ -170,7 +175,11 @@
 #ifdef VPM_SUPPORT
 static int vpmsupport = 1;
 #endif
-static int noburst = 0;
+/* Enabling bursting can more efficiently utilize PCI bus bandwidth, but
+   can also cause PCI bus starvation, especially in combination with other
+   aggressive cards.  Please note that burst mode has no effect on CPU
+   utilization / max number of calls / etc. */
+static int noburst = 1;
 static int debugslips = 0;
 static int polling = 0;
 




More information about the svn-commits mailing list