We are not able to get IO bigger than 256K with Ganesha, same client and 
kNFS can get 1M.
Is there something in Ganesha that limmits the IO size? see attached email 
maxsize = 256 * 1024; /* XXX */, is that a problem ?
Marc. 



From:   Sven Oehme/Almaden/IBM
To:     Olaf Weiser/Germany/IBM@IBMDE
Cc:     Malahal Naineni/Beaverton/IBM@IBMUS, dhil...@us.ibm.com, 
fschm...@us.ibm.com, gfsch...@us.ibm.com, Marc Eshel/Almaden/IBM@IBMUS, 
robg...@us.ibm.com
Date:   10/20/2016 05:32 PM
Subject:        Re: nfs testing for SAP - status - new traces / new 
approach


marc will send a email on what i found in the ganesha code. it seems that 
max rpc size is hard limited to 256k :

* Find the appropriate buffer size
*/
u_int /*ARGSUSED*/
__rpc_get_t_size(int af, int proto, int size)
{
int maxsize, defsize;

maxsize = 256 * 1024; /* XXX */
switch (proto) {
case IPPROTO_TCP:
defsize = 64 * 1024; /* XXX */
break;
case IPPROTO_UDP:
defsize = UDPMSGSIZE;
break;
default:
defsize = RPC_MAXDATASIZE;
break;
}
if (size == 0)
return defsize;

/* Check whether the value is within the upper max limit */
return (size > maxsize ? (u_int) maxsize : (u_int) size);
}  
4:01:28 PM
in : src/rpc_generic.c  


------------------------------------------
Sven Oehme 
Scalable Storage Research 
email: oeh...@us.ibm.com 
Phone: +1 (408) 824-8904 
IBM Almaden Research Lab 
------------------------------------------






------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to