Re: [perf-discuss] Re: File events notification mechansim

2006-12-14 Thread Prakash Sangappa
Gamin/FAM is different from libevent. Gamin/FAM provides file monitoring services where as 'libevent' provides a general event notification API to collect events from different sources. Libevent interfaces with the event notification framework that the OS provides. The the event notificat

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

2006-12-14 Thread Prakash Sangappa
From the pstack info, the thread is blocking often in the kernel. It is possible that the treads are blocking more often in the kernel on this Ultra IV system running Solaris 9. One thing you can try is increase the adaptive spin count for the mutex locks and see if it helps. The default cou

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

2006-12-14 Thread johansen-osdev
Konstantin: > This is single static RW lock which protects array of pointers to > data structures. this array slowly growing to size depended > of specific installation. growing with pretty big size increase at once. > say, on W this RW is locked once in a hour. a lot of threads, > which consume s

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

2006-12-14 Thread johansen-osdev
Konstantin: > write locks can be disregarded here. its only read locks which cannot > be executed in parallel. nobody blames os and/or hardware. > Im trying to understand is it expected behavior or not. I'm not sure I understand why you're saying that it's okay to disregard write locks. Are you