[perf-discuss] Re: File events notification mechansim

2006-12-13 Thread Richard L. Hamilton
[...] > The interfaces will be based on the event ports > interfaces. If there is > a commonly > used API, like the Linux's 'inotify' we could provide > that using a library. [...] >From what I've read, in terms of what they do, there's perhaps room for two APIs: one like gamin (as a superset of

Re: [perf-discuss] Read lock contention, solaris 9, 32 cores host.

2006-12-13 Thread johansen-osdev
Konstantin: Roch Bourbonnais has a blog entry about some of the less obvious performance aspects of rwlocks: http://blogs.sun.com/roch/entry/beware_of_the_performance_of It may have information that is useful to your particular situation. > most of the time rw lock is read locked by several thre

Re: [perf-discuss] Read lock contention, solaris 9, 32 cores host.

2006-12-13 Thread Prakash Sangappa
Yes the implementation is different between the Sol9 and Sol10. It is possible that the Solaris 10 implementation spins on the mutex lock and is able to get it quickly. Can you share the pstack output collected on Solaris 9 when the threads are contending on the mutex lock? -Prakash. Konstantin

[perf-discuss] Read lock contention, solaris 9, 32 cores host.

2006-12-13 Thread Konstantin K
Hello, there is daemon which has about 30 threads using same RW lock. most of the time rw lock is read locked by several threads. it worx as expected in all setups except one. customer with 16 ultra IV cpus had terrible performance problems with this daemon. investigation revealed that half of