<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    About POJO Cache
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/Rishabh_6">Rishabh Gupta</a> in <i>JBoss Cache</i> - <a href="http://community.jboss.org/message/538421#538421">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi ,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I want to know about the following:-</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>when was pojo last released?</p><p>when was Jboss cache last released?</p><p>can pojo work with latest cache?</p><p>If not and if pojo is better than cache why is it not being updated?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Also we are trying to do benchmarking for the Pojo cache performance vs Jboss Cache.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1) We are trying to put a pojo inside the POJO cache but CPU usage is very high for Load test containing a number of threads. Moreover sometimes CPU usage ig greater for a small size pojo,why this happening?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2) Also it seems sometimes Jboss cache is working better than Pojo cache, why this happening ,I mean in terms of CPU usage.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>For eg:we have the following CPU usage:-</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>For 200 threads only, and this increases with number of threads: For example:-</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><tr><td colspan="2" height="20">CPUUSAGE&#160;&#160; Cpu(s):0.8%us,1.3%sy,0.0%ni,97.9%id,0.0%wa,0.0%hi,0.0%si,0.0%st</td></tr><tr><td colspan="2" height="20">CPUUSAGE&#160;&#160; Cpu(s):1.0%us,1.6%sy,0.0%ni,97.4%id,0.0%wa,0.0%hi,0.0%si,0.0%st</td></tr><tr><td colspan="2" height="20">CPUUSAGE&#160;&#160; Cpu(s):31.3%us,2.9%sy,0.0%ni,65.3%id,0.0%wa,0.2%hi,0.3%si,0.0%st</td></tr><tr><td colspan="2" height="20">CPUUSAGE t&#160;&#160; Cpu(s):49.0%us,10.7%sy,0.0%ni,18.0%id,18.5%wa,0.3%hi,3.4%si,0.0%st</td></tr><tr><td colspan="2" height="20">CPUUSAGE t&#160;&#160; Cpu(s):4.9%us,3.2%sy,0.0%ni,46.1%id,44.5%wa,0.2%hi,1.1%si,0.0%st</td></tr><tr><td colspan="2" height="20">CPUUSAGE&#160;&#160; Cpu(s):1.8%us,2.0%sy,0.0%ni,96.2%id,0.0%wa,0.0%hi,0.0%si,0.0%st</td></tr><tr><td colspan="2" height="20"><p>CPUUSAGE&#160;&#160; Cpu(s):1.0%us,1.3%sy,0.0%ni,97.6%id,0.2%wa,0.0%hi,0.0%si,0.0%st</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>With 1000 threads:-</p></td></tr><tr><td colspan="4" height="20" width="509">CPUUSAGE&#160;&#160; Cpu(s):28.9%us,3.3%sy,0.0%ni,67.2%id,0.2%wa,0.0%hi,0.5%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE&#160;&#160; Cpu(s):77.4%us,10.3%sy,0.0%ni,9.4%id,0.2%wa,0.2%hi,2.6%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE t&#160;&#160; Cpu(s):61.6%us,10.3%sy,0.0%ni,19.9%id,3.6%wa,0.0%hi,4.7%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE t&#160;&#160; Cpu(s):54.8%us,25.8%sy,0.0%ni,11.3%id,0.2%wa,0.7%hi,7.3%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE&#160;&#160; Cpu(s):1.8%us,1.6%sy,0.0%ni,93.0%id,3.4%wa,0.0%hi,0.2%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE&#160;&#160; Cpu(s):1.3%us,2.1%sy,0.0%ni,96.4%id,0.2%wa,0.0%hi,0.0%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE&#160;&#160; Cpu(s):1.0%us,1.3%sy,0.0%ni,97.7%id,0.0%wa,0.0%hi,0.0%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE&#160;&#160; Cpu(s):1.3%us,1.5%sy,0.0%ni,96.9%id,0.3%wa,0.0%hi,0.0%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE&#160;&#160; Cpu(s):3.9%us,1.3%sy,0.0%ni,94.5%id,0.2%wa,0.2%hi,0.0%si,0.0%st</td></tr><tr><td colspan="4" height="20">CPUUSAGE&#160;&#160; Cpu(s):2.4%us,2.9%sy,0.0%ni,92.7%id,1.6%wa,0.0%hi,0.3%si,0.0%st</td></tr><tr><td colspan="4" height="20"><p>CPUUSAGE&#160;&#160; Cpu(s):1.0%us,1.3%sy,0.0%ni,97.7%id,0.0%wa,0.0%hi,0.0%si,0.0%st</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This happens with only POJO cache if we use simple cache- HashTable then usage remains normal.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong><em style="font-size: 14pt; ">Can someone Please give the tips for increasing the performance and reducing the CPU usage also wa%</em></strong><span style="font-size: 14pt;"><br/></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I tried :-</p><p><code><strong>Configuration.setExposeManagementStatistics(false);</strong></code></p><p><strong>CacheMode = REPL_ASYNC</strong></p><p><strong>No logging</strong></p><p><strong>removed TransactionManager</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>But this all is not increasing performance much, when I use <strong>REPL_ASYNC ,it decreases wa% only.</strong></strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong><strong>What else can be done to improve CPU performance and its usage.?????</strong></strong></p></td></tr><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks,</p><p>Rishabh</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/538421#538421">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Cache at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>