<div dir="ltr">Hello,<div><br></div><div><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 31, 2017 at 10:07 AM, Mikael Karlsson <span dir="ltr"><<a href="mailto:karlsson.rm@gmail.com" target="_blank">karlsson.rm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>I noticed that the secio emulator flag (scheduler eager check for io) default value has changed from false to true since ERTS 7.0. Could someone explain what this means in practice, I do not quite understand the line: "This, however, also implies that
              execution of outstanding I/O operation is not
              prioritized to the same extent as when <span class="gmail-m_-2787486722499859692gmail-code">false</span> is
              passed."<br></div></div></div></div></blockquote><div><br></div><div><div>The eager check io flag instructs the emulator when it should check for new I/O events (internally called check_io)  in the fds that it is currently interested in.</div><div><br></div><div>Without secio, the schedulers will first finish with all work generated from the previous check_io. If a lot of I/O events where triggered by the check_io, ports may be temporarily prioritized higher than processes in order to be able to do the next check_io sooner.</div><div><br></div><div>With secio, the next check_io can be done before all events of the previous check_io are consumed. When this feature is enabled, the temporary higher prioritization of ports is removed. This is the change in priority that the documentation is trying to explain.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Is there any special cases where you would prefer to still have it set to false.<br></div></div></blockquote><div><br></div><div>I see no reason to not have secio enabled.<br></div><div><br></div><div>Lukas</div><div><br></div><div>(sorry for the late reply, I meant to reply to this before but forgot)<br></div></div></div></div></div>