Re: Postal 56% waits for flock_lock_file_wait

From: Tim Chen
Date: Mon Oct 02 2006 - 12:57:26 EST


On 10/1/06, Trond Myklebust <trond.myklebust@xxxxxxxxxx> wrote:


I still don't get it. The job of the flock() system call is to sleep if
someone already holds the lock, and then grab the lock when it is
released. If that is not what the user expects, then the user has the
option of not calling flock(). This has nothing to do with open().

Trond


If I understand Leonid correctly, I think what he is saying is ext3
does not scale very well when you have a large number of processes
acessing file system because of locks in journal. This is seen in
the excessive idle time. By comparison, ext2 does not have this
issue.

Tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/