All of lore.kernel.org
 help / color / mirror / Atom feed
* [Lustre-devel] Reducing amount of glimpses
@ 2008-02-02  6:26 Oleg Drokin
  2008-02-02  6:39 ` Eric Barton
  2008-02-02 11:22 ` Nikita Danilov
  0 siblings, 2 replies; 5+ messages in thread
From: Oleg Drokin @ 2008-02-02  6:26 UTC (permalink / raw)
  To: lustre-devel

Hello!

    Doing some large scale testing at ORNL, interesting pattern came up.
    Suppose we are doing large-scale IOR testing on a shared file.
    Some unlucky client does its writing at highest offset (or, at the  
beginning,
    was unlucky enough to grab whole-object PW lock).
    As other clients do their writes, they would do glimpses first to  
find out file
    size. Now those glimpses turn into thousands of glimpse requests  
to that poor
    client. And many of them actually coming in parallel.
    So I was thinking - perhaps it would be nice for a  
filter_intent_policy() to check
    if there are any glimpse requests being in flight to that client  
already for that
    same lock, and if there are, just wait for the request to return  
and use data from
    there?
    Of course potential caveat here is that we have no way to tell if  
the request reached
    client by the time we started our processing or not, and so  
potentially we might get
    size data that is a bit stale, but I wonder if this is critical  
enough in our case?

    Any ideas?

Bye,
     Oleg

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-02 11:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02  6:26 [Lustre-devel] Reducing amount of glimpses Oleg Drokin
2008-02-02  6:39 ` Eric Barton
2008-02-02  7:00   ` Oleg Drokin
2008-02-02  7:40     ` Andreas Dilger
2008-02-02 11:22 ` Nikita Danilov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.