[...]
> 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
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
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
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