<div dir="ltr"><div dir="ltr"><br>> Also, there are bugs in the microstate accounting fixed in OTP-21 that I think still exists in pre OTP-20 versions that caused dirty schedulers to report incorrect statistics. The printout looks very similar to a bug where sleep was accredited to the emulator state.</div><div dir="ltr"><br></div><div dir="ltr">Thanks, Lukas, got it.</div><div dir="ltr"><br></div><div dir="ltr"><div class="gmail_quote"><div dir="ltr">ср, 14 нояб. 2018 г. в 17:38, Danil Zagoskin <<a href="mailto:z@gosk.in">z@gosk.in</a>>:<br></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 dir="ltr">Hi!<br><br>Probably it is disk or network I/O.<div><br></div><div>You may use iostat to see if your disk utilization is OK.</div><div>You may use lcnt to see if there are any locks on some port.</div><div>You may use a simple tool I wrote for cases when something is very slow and you don't know what exactly it is: <a href="https://gist.github.com/stolen/9a28ed9403c724541b0ee5fcd822613e" target="_blank">https://gist.github.com/stolen/9a28ed9403c724541b0ee5fcd822613e</a></div></div></div></blockquote><div><br></div><div>Oh, interesting. Will try to use your tool. Thanks</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 dir="ltr"><div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 14, 2018 at 5:18 PM Alexander Petrovsky <<a href="mailto:askjuise@gmail.com" target="_blank">askjuise@gmail.com</a>> wrote:<br></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 dir="ltr">Hello!<div><br></div><div>I see the follow debug info, and I would to know, which process and which code utilize only one dirty scheduler? How I can find out it?</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> msacc:start(1000), msacc:print(), msacc:stop().<br>Average thread real-time : 1000886 us<br>Accumulated system run-time : 3440871 us<br>Average scheduler run-time : 615277 us<br> Thread aux check_io emulator gc other port sleep<br>Stats per thread:<br> async( 0) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async( 1) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async( 2) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async( 3) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async( 4) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async( 5) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async( 6) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async( 7) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00% <br> async( 8) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async( 9) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(10) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(11) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(12) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(13) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(14) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(15) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(16) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(17) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(18) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(19) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(20) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(21) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(22) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(23) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(24) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(25) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(26) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(27) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(28) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> async(29) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> aux( 1) 0.13% 0.00% 0.00% 0.00% 8.69% 0.00% 91.18%<br>dirty_cpu_( 1) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_cpu_( 2) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_cpu_( 3) 0.00% 0.00% 89.04% 0.02% 0.00% 0.00% 10.94%<br>dirty_cpu_( 4) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 1) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 2) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 3) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 4) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 5) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 6) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 7) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 8) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s( 9) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br>dirty_io_s(10) 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> scheduler( 1) 1.45% 1.61% 37.45% 6.11% 15.31% 1.35% 36.72%<br> scheduler( 2) 1.33% 1.24% 35.30% 6.39% 16.21% 1.33% 38.19%<br> scheduler( 3) 1.35% 1.50% 33.85% 5.50% 18.19% 1.48% 38.13%<br> scheduler( 4) 1.59% 1.35% 31.49% 5.14% 18.29% 1.18% 40.95%<br>Stats per type:<br> async 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> aux 0.13% 0.00% 0.00% 0.00% 8.69% 0.00% 91.18%<br>dirty_cpu_sche 0.00% 0.00% 22.26% 0.01% 0.00% 0.00% 77.73%<br>dirty_io_sched 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 100.00%<br> scheduler 1.43% 1.42% 34.53% 5.79% 17.00% 1.34% 38.49%</blockquote><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail-m_-6614955329285027599m_434261858782877986gmail_signature"><div dir="ltr"><div><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 931 9877991<div><br></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-6614955329285027599gmail_signature"><div dir="ltr"><div><font face="'courier new', monospace">Danil Zagoskin | <a href="mailto:z@gosk.in" target="_blank">z@gosk.in</a></font></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 931 9877991<div><br></div></div></div></div></div></div></div></div>