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