User: Password:
Subscribe / Log in / New account

A futex overview and update

A futex overview and update

Posted Nov 16, 2009 0:48 UTC (Mon) by dlang (subscriber, #313)
In reply to: A futex overview and update by dvhart
Parent article: A futex overview and update

one real-world example of lock ping-pong with futexes that I ran into recently was rsyslog (whould be reduced in recent versions)

it has threads that receive messages and add them to a (lock protected) queue, while other threads retrieve messages from the queue to output them.

with a simple UDP input and file output a high enough input rate could push it into lock contention, at which point throughput plummets. I can't say for sure that this is SMP cach line bouncing, but there's a good chance of this being the case.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds