[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "heavy lock contention"?



On Thu, 7 Nov 2002 23:17:06 -0800 (PST), John Joe <zhoupp@yahoo.com>
wrote:

>sorry this is not Debian question, but could you
>kindly explain "heavy lock contention", and especially
>the "heavy" in it? 
>
>The standard piped streams, while safe and reliable,
>leave much to be desired in terms of their
>performance. Several factors contribute to this
>performance problem:
>
>Array-based operations simply call through to an
>inefficient byte-by-byte copy operation. This
>operation is itself synchronized, resulting in
>extremely heavy lock contention.

"Lock contention" basically means one process ends up waiting for
another to free some resource; "heavy" means (in this instance) this
happens for each individual byte transferred, so things get really
slow.

Pigeon



Reply to: