All of lore.kernel.org
 help / color / mirror / Atom feed
* Large FSINFO3resok.rtmax, UDP and stuff
@ 2006-12-11 21:21 Peter Åstrand
  2006-12-11 21:59 ` Peter Staubach
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Åstrand @ 2006-12-11 21:21 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1451 bytes --]


I'd like to configure my (unfs3) server to support large read and write 
sizes, to get good speed on high latency links. The plan is to increase 
FSINFO3resok.{rtmax,wtmax} to something very large, like 256KB, and then 
mount with the same rsize/wsize. Will this work with various versions of 
the kernel, or can I expect problems? 

Another question is how UDP should be handled. Although I will mostly use 
TCP, I'd still like the server to be functional for UDP. Since UDP is 
limited to 65K, I need some special handling. Which one is best?:

1) Have FSINFO return the same large (256KB) rtmax/wtmax, even when called 
   via UDP. In practice, I guess clients won't ask for a READ with 
   count=256K or count=65535, but what if they do? As far as I understand, 
   the server is not allowed to return a short read if count is less than 
   rtmax.

or

2) Have FSINFO return something smaller when called via UDP. It's a little 
   bit strange that FSINFO returns different values depending on if you 
   call it over TCP or UDP, but it does solve the problem above.


Also, I'm a bit unsure of which packet sizes I should specify to 
svcudp_bufcreate(), to get the largest possible UDP RPC packets. Can I 
specify 65535, or should I compensate for the RPC header size?

Regards, 
---
Peter Åstrand		ThinLinc Chief Developer
Cendio AB		http://www.cendio.se
Teknikringen 3
583 30 Linköping	Phone: +46-13-21 46 00

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-11 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-11 21:21 Large FSINFO3resok.rtmax, UDP and stuff Peter Åstrand
2006-12-11 21:59 ` Peter Staubach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.