<div><br></div>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span><div><div><div>I'm curious what led you to making this change in the first place. Did</div><div>you observe a problem or was it more theoretical?</div><div></div></div></div></span></blockquote><div><br></div><div>Asynchonous logging is a common pattern because logging is a relatively frequent and slow operation. It blocks a lot, which makes it a good candidate for being more friendly with eventlet.</div><div><br></div><div>Here are the results of timing devstack's exercise.sh with logging_async=True versus False.</div><div><br></div><div><div>-----------------------------</div></div><div>SYNC logging</div><div><div>-----------------------------</div></div><div><br></div><div><!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
<div style="font-family: Arial; font-size: 13px; ">sync#1</div><span style="font-family: Arial; font-size: 13px; ">real 4m16.933s</span><div style="font-family: Arial; font-size: 13px; ">user 0m47.031s</div><div style="font-family: Arial; font-size: 13px; ">sys 0m13.229s</div><div style="font-family: Arial; font-size: 13px; "><br></div><div style="font-family: Arial; font-size: 13px; ">sync#2:</div><div style="font-family: Arial; font-size: 13px; ">real 3m4.645s</div><div style="font-family: Arial; font-size: 13px; ">user 0m36.558s</div><div style="font-family: Arial; font-size: 13px; ">sys 0m10.129s</div><div style="font-family: Arial; font-size: 13px; "><br></div><div style="font-family: Arial; font-size: 13px; ">sync#3:</div><div style="font-family: Arial; font-size: 13px; ">real 3m9.707s</div><div style="font-family: Arial; font-size: 13px; ">user 0m37.582s</div><div style="font-family: Arial; font-size: 13px; ">sys 0m10.965s</div><div style="font-family: Arial; font-size: 13px; "><br></div><div>-----------------------------</div><div>ASYNC logging</div><div><div>-----------------------------</div></div><div><br></div><div style="font-family: Arial; font-size: 13px; ">async#1</div><div style="font-family: Arial; font-size: 13px; ">real 3m6.595s</div><div style="font-family: Arial; font-size: 13px; "><br></div><div style="font-family: Arial; font-size: 13px; ">async #2<br></div><div style="font-family: Arial; font-size: 13px; ">real 2m29.525s</div><div style="font-family: Arial; font-size: 13px; ">user 0m30.042s</div><div style="font-family: Arial; font-size: 13px; ">sys 0m10.037s</div><div style="font-family: Arial; font-size: 13px; "><br></div><div style="font-family: Arial; font-size: 13px; ">async #3</div><div style="font-family: Arial; font-size: 13px; ">real 1m36.233s</div><div style="font-family: Arial; font-size: 13px; ">user 0m26.914s</div><div style="font-family: Arial; font-size: 13px; ">sys 0m8.109s</div><div style="font-family: Arial; font-size: 13px; "><br></div></div><div>async #4 (because the time went down on the third test, I ran a 4th…)</div><div><div>real 1m35.997s</div><div>user 0m27.046s</div><div>sys 0m8.085s</div></div><div><br></div><div><div>-----------------------------</div></div><div><br></div><div><div>Regards,</div><div>Eric Windisch</div></div>