summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-08-17 18:28:26 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-08-17 18:28:26 +0000
commitbd25c7cbdbb8019b5eb3c02def3f6f0efda10cb1 (patch)
tree84be83142233ececbfe9e511f77d50ef43fda6dc
parentbed2e1a7eb26ef5d2e1570692508151de414390c (diff)
Default to "safe/compatible" options in driver
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@738 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xwct4xxp.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index d916d66..b359003 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -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 @@ static int alarmdebounce = 0;
#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;