[Pvfs2-developers] About threads
Murali Vilayannur
murali.vilayannur at gmail.com
Wed Aug 22 20:11:13 EDT 2007
Hi,
> observed that when the pvfs2-server was started, threads were generated.
> And I could find which parts of source cord are related with these threads.
> (pthread_create for bmi, dbpf and trove).
>
We do use a few threads internally. dbpf uses a thread in dbpf-thread.c.
Job layer also uses threads to drive completions (src/io/job/thread-mgr.c)
(for BMI on client & server, pvfs2-device on client and trove on server)
I also found that when a client performed I/O operations, new threads were
> generated in pvfs2-servers. But I failed to understand this procedure. I
> have a silly question. Who generate these threads dynamically? Which parts
> of source cord are related with this dynamic thread creation?
>
glibc does it internally in its implementation of aio .
thanks,
murali
Thanks in advance.
>
> Kwangho CHA.
>
>
>
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20070822/e01284c9/attachment.htm
More information about the Pvfs2-developers
mailing list