Hello,

[EMAIL PROTECTED], le Tue 11 Mar 2008 04:53:45 +0100, a écrit :
> [I] suggested a more adaptive approach: Keep track of the existing
> threads, and if none of them makes progress in a certain amount of
> time (say 100 ms), allow creating some more threads. But that was
> never implemented. Also, it still might cause considerable delays in
> some situations; and I'm not even sure it would fix all problems. (I
> didn't fully understand the problem discussed in this thread, so I
> don't know whether it would be fixed by that?)

The problem I was observing is when you have a sync_all which triggers
the write of a lot of files, but unfortunately the superblock was paged
out, so that you aren't able to start another thread to reload it.
Whatever the thresholds you choose, with a big enough load you will
still have the problem of resisting to creating enough threads for all
these request, plus one for the superblock reload request.

Samuel


Reply via email to