<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Oct 5, 2017, at 2:45 PM, Jim Mellander &lt;<a href="mailto:jmellander@lbl.gov" class="">jmellander@lbl.gov</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<p class="MsoNormal" style="font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
1. Obviously, branch prediction, as mentioned above.&nbsp; 3% speedup for (almost) free is nothing to sneeze at.</p>
<p class="MsoNormal" style="font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
2. Profiling bro to identify other hot spots that could benefit from optimization.</p>
<p class="MsoNormal" style="font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
3. Best practices for compiling Bro (compiler options, etc.)<br class="">
</p>
<p class="MsoNormal" style="font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
4. Data structure revisit (hash functions, perhaps?)</p>
<br class="Apple-interchange-newline">
</div>
</blockquote>
</div>
<div class=""><br class="">
</div>
Jon Siwek was optimizing the main event loop last February, but I believe it could only go so far without the new Broker API being integrated. Also, I believe there is a need to move off of the select() function. Anyway, there is definitely a lot of optimization
 that could be made there.
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">------<br class="">
<br class="">
Adam J. Slagell<br class="">
Director, Cybersecurity &amp; Networking Division</div>
<div class="">Chief Information Security Officer<br class="">
National Center for&nbsp;Supercomputing Applications<br class="">
University of Illinois at Urbana-Champaign<br class="">
<a href="http://www.slagell.info" class="">www.slagell.info</a><br class="">
<br class="">
&quot;Under the Illinois Freedom of&nbsp;Information Act (FOIA), any&nbsp;written communication to or&nbsp;from University employees&nbsp;regarding University business is&nbsp;a public record and may be&nbsp;subject to public disclosure.&quot;&nbsp;<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</body>
</html>