Re: [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

2009-04-07 Thread Mike Christie

k...@chelsio.com wrote:
 [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth
 
 From: Karen Xie k...@chelsio.com
 
 From: Karen Xie k...@chelsio.com
 
 Bump the command queue depth.
 
 Signed-off-by: Karen Xie k...@chelsio.com
 ---
 ---
 
  drivers/scsi/cxgb3i/cxgb3i.h |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 
 diff --git a/drivers/scsi/cxgb3i/cxgb3i.h b/drivers/scsi/cxgb3i/cxgb3i.h
 index d362860..68ed5db 100644
 --- a/drivers/scsi/cxgb3i/cxgb3i.h
 +++ b/drivers/scsi/cxgb3i/cxgb3i.h
 @@ -34,7 +34,7 @@
  #include cxgb3i_offload.h
  #include cxgb3i_ddp.h
  
 -#define CXGB3I_SCSI_QDEPTH_DFLT  128
 +#define CXGB3I_SCSI_QDEPTH_DFLT  1024
  #define CXGB3I_MAX_TARGETCXGB3I_MAX_CONN
  #define CXGB3I_MAX_LUN   512
  #define ISCSI_PDU_NONPAYLOAD_MAX \
 

Is there a max number of iscsi pdus or scsi commands or skbs or max 
number of bytes that we can send to the card?

Or is there a per session/connection pdu, command, skb, byte limit? And 
then is there a limit on the number of session/connections?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



RE: [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

2009-04-07 Thread Karen Xie



-Original Message-
From: Mike Christie [mailto:micha...@cs.wisc.edu] 
Sent: Tuesday, April 07, 2009 9:00 AM
To: open-iscsi@googlegroups.com
Cc: Karen Xie
Subject: Re: [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

Mike Christie wrote:
 k...@chelsio.com wrote:
 [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

 From: Karen Xie k...@chelsio.com

 From: Karen Xie k...@chelsio.com

 Bump the command queue depth.

 Signed-off-by: Karen Xie k...@chelsio.com
 ---
 ---

  drivers/scsi/cxgb3i/cxgb3i.h |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


 diff --git a/drivers/scsi/cxgb3i/cxgb3i.h
b/drivers/scsi/cxgb3i/cxgb3i.h
 index d362860..68ed5db 100644
 --- a/drivers/scsi/cxgb3i/cxgb3i.h
 +++ b/drivers/scsi/cxgb3i/cxgb3i.h
 @@ -34,7 +34,7 @@
  #include cxgb3i_offload.h
  #include cxgb3i_ddp.h
  
 -#define CXGB3I_SCSI_QDEPTH_DFLT 128
 +#define CXGB3I_SCSI_QDEPTH_DFLT 1024
  #define CXGB3I_MAX_TARGET   CXGB3I_MAX_CONN
  #define CXGB3I_MAX_LUN  512
  #define ISCSI_PDU_NONPAYLOAD_MAX \

 
 Is there a max number of iscsi pdus or scsi commands or skbs or max 
 number of bytes that we can send to the card?

[Karen] There are per-connection limits but they are more related to the
tcp layer (say send and receive windows).

Also is there a limit for each port/scsi_host?

[Karen] The hardware actually does not maintain any iscsi/scsi related
state. For IOs, there is data memory map for directly DMAing data to the
scsi data buffer (for read). But the memory map is not organized
according to # of IOs but rather it is related to the total numbers of
data buffers.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

2009-04-07 Thread Mike Christie

Karen Xie wrote:
 
 
 -Original Message-
 From: Mike Christie [mailto:micha...@cs.wisc.edu] 
 Sent: Tuesday, April 07, 2009 9:00 AM
 To: open-iscsi@googlegroups.com
 Cc: Karen Xie
 Subject: Re: [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth
 
 Mike Christie wrote:
 k...@chelsio.com wrote:
 [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

 From: Karen Xie k...@chelsio.com

 From: Karen Xie k...@chelsio.com

 Bump the command queue depth.

 Signed-off-by: Karen Xie k...@chelsio.com
 ---
 ---

  drivers/scsi/cxgb3i/cxgb3i.h |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


 diff --git a/drivers/scsi/cxgb3i/cxgb3i.h
 b/drivers/scsi/cxgb3i/cxgb3i.h
 index d362860..68ed5db 100644
 --- a/drivers/scsi/cxgb3i/cxgb3i.h
 +++ b/drivers/scsi/cxgb3i/cxgb3i.h
 @@ -34,7 +34,7 @@
  #include cxgb3i_offload.h
  #include cxgb3i_ddp.h
  
 -#define CXGB3I_SCSI_QDEPTH_DFLT128
 +#define CXGB3I_SCSI_QDEPTH_DFLT1024
  #define CXGB3I_MAX_TARGET  CXGB3I_MAX_CONN
  #define CXGB3I_MAX_LUN 512
  #define ISCSI_PDU_NONPAYLOAD_MAX \

 Is there a max number of iscsi pdus or scsi commands or skbs or max 
 number of bytes that we can send to the card?
 
 [Karen] There are per-connection limits but they are more related to the
 tcp layer (say send and receive windows).
 
 Also is there a limit for each port/scsi_host?
 
 [Karen] The hardware actually does not maintain any iscsi/scsi related
 state. For IOs, there is data memory map for directly DMAing data to the
 scsi data buffer (for read). But the memory map is not organized
 according to # of IOs but rather it is related to the total numbers of
 data buffers.
 

This is the ddp map, right? And that is snic wide (it is not port wide)?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



RE: [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

2009-04-07 Thread Karen Xie

Yes, the ddp map is per-adapter.

-Original Message-
From: open-iscsi@googlegroups.com [mailto:open-is...@googlegroups.com]
On Behalf Of Mike Christie
Sent: Tuesday, April 07, 2009 1:11 PM
To: open-iscsi@googlegroups.com
Subject: Re: [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth


Karen Xie wrote:
 
 
 -Original Message-
 From: Mike Christie [mailto:micha...@cs.wisc.edu] 
 Sent: Tuesday, April 07, 2009 9:00 AM
 To: open-iscsi@googlegroups.com
 Cc: Karen Xie
 Subject: Re: [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth
 
 Mike Christie wrote:
 k...@chelsio.com wrote:
 [PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

 From: Karen Xie k...@chelsio.com

 From: Karen Xie k...@chelsio.com

 Bump the command queue depth.

 Signed-off-by: Karen Xie k...@chelsio.com
 ---
 ---

  drivers/scsi/cxgb3i/cxgb3i.h |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


 diff --git a/drivers/scsi/cxgb3i/cxgb3i.h
 b/drivers/scsi/cxgb3i/cxgb3i.h
 index d362860..68ed5db 100644
 --- a/drivers/scsi/cxgb3i/cxgb3i.h
 +++ b/drivers/scsi/cxgb3i/cxgb3i.h
 @@ -34,7 +34,7 @@
  #include cxgb3i_offload.h
  #include cxgb3i_ddp.h
  
 -#define CXGB3I_SCSI_QDEPTH_DFLT128
 +#define CXGB3I_SCSI_QDEPTH_DFLT1024
  #define CXGB3I_MAX_TARGET  CXGB3I_MAX_CONN
  #define CXGB3I_MAX_LUN 512
  #define ISCSI_PDU_NONPAYLOAD_MAX \

 Is there a max number of iscsi pdus or scsi commands or skbs or max 
 number of bytes that we can send to the card?
 
 [Karen] There are per-connection limits but they are more related to
the
 tcp layer (say send and receive windows).
 
 Also is there a limit for each port/scsi_host?
 
 [Karen] The hardware actually does not maintain any iscsi/scsi related
 state. For IOs, there is data memory map for directly DMAing data to
the
 scsi data buffer (for read). But the memory map is not organized
 according to # of IOs but rather it is related to the total numbers of
 data buffers.
 

This is the ddp map, right? And that is snic wide (it is not port wide)?



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



[PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

2009-04-06 Thread kxie

[PATCH 1/1 2.6.30] cxgb3i -- increase command queue depth

From: Karen Xie k...@chelsio.com

From: Karen Xie k...@chelsio.com

Bump the command queue depth.

Signed-off-by: Karen Xie k...@chelsio.com
---
---

 drivers/scsi/cxgb3i/cxgb3i.h |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/drivers/scsi/cxgb3i/cxgb3i.h b/drivers/scsi/cxgb3i/cxgb3i.h
index d362860..68ed5db 100644
--- a/drivers/scsi/cxgb3i/cxgb3i.h
+++ b/drivers/scsi/cxgb3i/cxgb3i.h
@@ -34,7 +34,7 @@
 #include cxgb3i_offload.h
 #include cxgb3i_ddp.h
 
-#define CXGB3I_SCSI_QDEPTH_DFLT128
+#define CXGB3I_SCSI_QDEPTH_DFLT1024
 #define CXGB3I_MAX_TARGET  CXGB3I_MAX_CONN
 #define CXGB3I_MAX_LUN 512
 #define ISCSI_PDU_NONPAYLOAD_MAX \

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---