Scott Atchley <atchley@...> writes: > > Hi all, > > I thought that the max payload for XPRTRDMA would be 1 MB. It seems to > be set on the client to 23 KB (RPCRDMA_MAX_DATA_SEGS * PAGE_SIZE). The > server, on the other hand, sets it to 1 MB (RPCSVC_MAXPAYLOAD_TCP). > > If I try to mount with rdma with: > > # mount.nfs host:/exports /mnt/test -o > rdma,port=2050,rsize=1048576,wsize=1048576 > > It ignores the size parameters and /proc/mounts shows it is 32 KB. > > Is there a way to increase it at loadtime or runtime or do I need to > change RPCRDMA_MAX_DATA_SEGS and recompile? That's the only way I was able to find to do it. You'll want this patch also: http://marc.info/?l=linux-nfs&m=121936891515202&w=2 There are some things on the stack dimensioned by RPCRDMA_MAX_DATA_SEGS. I've not encountered any problems using 16 for RPCRDMA_MAX_DATA_SEGS, but I've not tried anything bigger. -- Jim > > Thanks, > > Scott > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@... > More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html