On May 13, 2008, at 5:10 AM, K.Cha wrote:
Dear All,In my simple pvfs2 test-bed, some server statemachines executed immediately such as ‘statfs.sm’ or ‘noop.sm’ seem to be handled sequentially.Are these statemachines for immediate commands (not IO jobs using AIO) in server's queue always served sequentially?
Yes.
Is there any way to run them concurrently or in a round-robin fashion?
You could do that by modifying the code in the pvfs2-server.c file. The main server thread drives the state machines (while other threads manage network or disk resources), and as you're pointing out, it drives them one at a time. You could add a set of server threads that would drive the state machines, as long as you were careful about locking the array of state machines (server_completed_job_p_array) as you pulled state machines off from different threads.
-sam
Thanks in advance. K.Cha. _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
