Re: spin lock contention: lru_list lock

From: David S. Miller (davem@redhat.com)
Date: Sat Feb 19 2000 - 08:27:02 EST


   Date: Sat, 19 Feb 2000 13:53:14 +0100
   From: Manfred Spraul <manfreds@colorfullife.com>

   I get extremely long hold times for the lru_list lock:

   sync_buffers(): up to 14 milliseconds, average 12 milliseconds. [called
   10 times per second.]
   __invalidate_buffers(): up to 8 milliseconds, average 7 milliseconds.[
   called ~4.5 times/sec]

A lock can be held for 2 minutes at a time, this isn't what matters.

Are you seeing "contention" for the lock? That is what matters.

lru_list lock is the longest held mainly because it is the outermost
lock in the buffer cache locking hierarchy.

Later,
David S. Miller
davem@redhat.com

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



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:23 EST