[Pvfs2-developers] fix BMI multiplexing of multiple methods
Robert Latham
robl at mcs.anl.gov
Fri Jan 9 08:51:15 EST 2009
On Fri, Jan 09, 2009 at 08:08:13AM -0500, Pete Wyckoff wrote:
> If this aspect really bothers you, perhaps you could sort the
> methods by their "fast"-ness, and service the active fds
> preferentially from those first, returning immediately without
> calling into the slow method(s). The caller will end up back in
> BMI_test* again soon, then you can call into the slow method if
> there's nothing better to do. Always have to worry about starvation
> in such cases, though.
you could weight by both fastness and age and sort on that. Now you
have two problems...
==rob
--
Rob Latham
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA B29D F333 664A 4280 315B
More information about the Pvfs2-developers
mailing list