[PATCH 1/1] USB: serial: sierra driver performance improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: [PATCH 1/1] USB: serial: sierra driver performance
improvements
From: Elina Pasheva <epasheva@xxxxxxxxxxxxxxxxxx>


The following is summary of changes we have made to sierra.c driver in
[PATCH 1/1] dealing with performance improvements:
- Version number set to 1.3.4
- Increased the number of input/output URBs for improved performance
(numbers based on an measurement study triggered by a user request).
We performed the testing using a network simulator that provided full speeds 
in the uplink and downlink directions and this combination of URBs provided 
the best throughput.
Signed-off-by: Elina Pasheva <epasheva@xxxxxxxxxxxxxxxxxx>
---
 drivers/usb/serial/sierra.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/usb/serial/sierra.c.orig	2009-04-24 16:46:22.000000000 -0700
+++ b/drivers/usb/serial/sierra.c	2009-04-24 16:47:43.000000000 -0700
@@ -32,8 +32,8 @@
 #define SWIMS_USB_REQUEST_SetNmea	0x07
 
 /* per port private data */
-#define N_IN_URB	4
-#define N_OUT_URB	4
+#define N_IN_URB	8
+#define N_OUT_URB	64
 #define IN_BUFLEN	4096
 
 static int debug;


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux