[Pvfs2-developers] tcp connections

Dharani Sankar Vijayakumar vijayaku at cse.psu.edu
Wed Apr 25 14:08:19 EDT 2007


Is there any reason why this has been done?

can anyone suggest me which .C files (source code) i can look in so that i 
will be able to appreciate the difference.

Regards,
Dharani



On Tue, 24 Apr 2007, Murali Vilayannur wrote:

> Dharani,
> It depends on whether the application is linked to the pvfs2 library
> or if it makes use of the vfs/posix api/fopen.
> In the case of the former, applications have to make use of ephemeral
> ports on the client-machine. Thus they will end up using different
> ports
>
> In the case of the latter, it is the job of pvfs2-client-core daemon
> to initiate connections with the servers and maintain the socket file
> descriptors.
> Thus, in this case, pvfs2-client can make do with just 1 socket to a
> single server and thus use the same client-side port. The app never
> talks directly to the servers. All communication is funneled through
> the device to client-core.
> Hope this helps,
> Murali
>
> On 4/23/07, Dharani Sankar Vijayakumar <vijayaku at cse.psu.edu> wrote:
>> Suppose there are two applications running in a pvfs client node.
>> Say one client does an "fopen" thus establishing a tcp/ip connection with
>> the metadata server.
>> 
>> Similarly the other application in the same client opens a connection
>> with the meta data server. Does the second application use a different
>> port number at the client than the first application? or the same port
>> number is used by both applications?
>> 
>> 
>> 
>> Regards,
>> Dharani
>> 
>> 
>> _______________________________________________
>> Pvfs2-developers mailing list
>> Pvfs2-developers at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>> 
>


More information about the Pvfs2-developers mailing list