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

Reply via email to