[Pvfs2-developers] About threads
murali.vilayannur at gmail.com
Wed Aug 22 20:11:13 EDT 2007
> 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 in advance.
> Kwangho CHA.
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pvfs2-developers