<div>Thanks!</div>
<div>&nbsp;</div>
<div>Yes we enabled &quot;posix sems&quot;&nbsp;and we are observing the difference.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 2/2/07, <b class="gmail_sendername">Andrei Pelinescu-Onciul</b> &lt;<a href="mailto:andrei@iptel.org">andrei@iptel.org</a>&gt; 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 &lt;<a href="mailto:contactramu@gmail.com">contactramu@gmail.com</a>&gt; wrote:
<br>&gt; Hello,<br>&gt;<br>&gt; At present we are using &quot;sys v semaphores&quot;(USE_SYSV_SEM) for locking.<br>&gt;<br>&gt; But we see a some delay while acquiring the lock to modify the usrloc&#39;s<br>&gt; location table.
<br>&gt;<br>&gt; We are in a thought to use &quot;posix semaphores&quot; (USE_POSIX_SEM), will this<br>&gt; 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&#39;re on linux it&#39;s ok).<br>Also the default &quot;fast_lock&quot; work very well if you&#39;re not doing time<br>consuming stuff inside them (like db lookups).
<br><br>sys v locks are very slow.<br><br>&gt;<br>&gt; Thoughts and Ideas will be appreciated.<br>&gt;<br><br><br>Andrei<br></blockquote></div><br><br clear="all"><br>-- <br>Ramu Yadav