| Subject | [PATCH 50 of 53] ipath - reduce maximum table sizes | Date | Fri, 12 May 2006 16:43:35 -0700 | From | Bryan O'Sullivan <> |
| |
Decrease the number of WRs and SGEs we support from 131071/255 to 16383/60. This decreases our maximum memory usage per QP from ~1800MB down to about 40MB. This is still a lot, but it's better than 2GB.
Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
diff -r 40532fdc53f0 -r bd1de2e983db drivers/infiniband/hw/ipath/ipath_verbs.c --- a/drivers/infiniband/hw/ipath/ipath_verbs.c Fri May 12 15:55:29 2006 -0700 +++ b/drivers/infiniband/hw/ipath/ipath_verbs.c Fri May 12 15:55:29 2006 -0700 @@ -73,12 +73,12 @@ module_param_named(max_cqs, ib_ipath_max module_param_named(max_cqs, ib_ipath_max_cqs, uint, S_IWUSR | S_IRUGO); MODULE_PARM_DESC(max_cqs, "Maximum number of completion queues to support"); -unsigned int ib_ipath_max_qp_wrs = 0x1FFFF; +unsigned int ib_ipath_max_qp_wrs = 0x3FFF; module_param_named(max_qp_wrs, ib_ipath_max_qp_wrs, uint, S_IWUSR | S_IRUGO); MODULE_PARM_DESC(max_qp_wrs, "Maximum number of QP WRs to support"); -unsigned int ib_ipath_max_sges = 0xFF; +unsigned int ib_ipath_max_sges = 0x60; module_param_named(max_sges, ib_ipath_max_sges, uint, S_IWUSR | S_IRUGO); MODULE_PARM_DESC(max_sges, "Maximum number of SGEs to support"); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|