Thanks!
Yes we enabled "posix sems" and we are observing the difference.
On 2/2/07, Andrei Pelinescu-Onciul andrei@iptel.org wrote:
On Feb 01, 2007 at 16:05, Ramu Yadav contactramu@gmail.com wrote:
Hello,
At present we are using "sys v semaphores"(USE_SYSV_SEM) for locking.
But we see a some delay while acquiring the lock to modify the usrloc's location table.
We are in a thought to use "posix semaphores" (USE_POSIX_SEM), will this improve any performance for usrloc location table.
Yes posix sems will imporve performance a lot. Just make sure your os supports them for locking between processes (if you're on linux it's ok). Also the default "fast_lock" work very well if you're not doing time consuming stuff inside them (like db lookups).
sys v locks are very slow.
Thoughts and Ideas will be appreciated.
Andrei