On Tue, 2 Sep 2008, Erwin, Brock A wrote:
> I am wondering if there is a way to alter the size of the packets that
> are sent between clients and the OSDs/MDS/MON.  What is the default?

The connects are TCP streams, so there is no 'packet size' per se.  
However, the code does use the appropriate flags for sendmsg() to indicate 
message boundaries, so in general, small messages will be a single packet, 
and large messages will be broken up however the kernel's TCP stack sees 
fit.

Message sizes vary widely... Are you interested in OSD<->client messages?  
MDS<->client?

> Also, does a client wait for a response from a single message before
> sending another message, or does it have a maximum number of
> packets/messages that can be in transit at any particular time?  I am
> looking at the source code to kind of understand how this works.

There can be any number of messages in transit in both directions.  The 
only time you should see synchrnonous behavior is when it is truly 
synchronous.. e.g., a single process doing some sequence of operatoins 
that ping-pong with the MDS.

Hope that helps!
sage

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to