<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span style="font-size: 14px;" class="">I’ve read the following blog post (<a href="http://jlouisramblings.blogspot.pt/2013/01/how-erlang-does-scheduling.html" class="">http://jlouisramblings.blogspot.pt/2013/01/how-erlang-does-scheduling.html</a>), and it has the following excerpt which got me thinking:</span><div class=""><span style="font-size: 14px;" class=""><br class=""></span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; text-align: justify; background-color: rgb(255, 255, 255); font-size: 14px;" class=""><i class="">Both processes and ports have a "reduction budget" of 2000 reductions. Any operation in the system costs reductions. This includes function calls in loops, calling built-in-functions (BIFs), garbage collecting heaps of that process[n1], storing/reading from ETS, sending messages (<b class="">The size of the recipients mailbox counts, large mailboxes are more expensive to send to</b>). </i></span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; text-align: justify; background-color: rgb(255, 255, 255); font-size: 14px;" class=""><i class=""><br class=""></i></span></div><div style="text-align: justify;" class=""><font color="#333333" class=""><span style="background-color: rgb(255, 255, 255); font-size: 14px;" class="">I’m wondering how does the size of a process’s mailbox relates the reduction count? Is it due to each message having to be matched against several message patterns in a case condition, for example? Also how large would the mailbox have to be to noticed any kind of impact in, let’s say, a server process?</span></font></div></body></html>