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 <[EMAIL PROTECTED]> 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
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to