<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I think that having a small buffer for the subprocess is not a
      problem, as long as the buffer (= delay) of the parent process is
      large enough to absorb the CPU spikes of the subprocess.</p>
    <p>If you use a single buffer for the subprocess, then the parent
      process practically has to absorb all CPU spikes.<br>
    </p>
    <p>Of course, it depends on the actual patch. For example, if the
      subprocess has several large FFTs (which are notorious for
      producing CPU spikes), it makes sense to use a higher buffer size
      to prevent it from blocking the parent process. If the subprocess
      has a fairly regular CPU load, you can get away with the minimal
      buffer size, even if the parent process has a rather small buffer
      size.<br>
    </p>
    <p>Christof<br>
    </p>
    <div class="moz-cite-prefix">On 25.09.2020 00:41, ffdd cchh wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAO_HSB5i3LmnZxO6xgSxNnPXTn=AZfgtVWguBpmHZ2FC=jApgg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Thanks, Miller.
        <div><br>
        </div>
        <div>Yes, it seems that is the case. I attach an example that
          shows the delayed block(s). </div>
        <div><br>
        </div>
        <div>What do you mean inefficient? I do not see a drastic change
          in cpu usage on the very basic adc-to-dac example subprocess I
          include here.</div>
        <div><br>
        </div>
        <div>As a side note, I noticed that loading -fifo 0 seems to
          crash pd ! </div>
        <div><br>
        </div>
        <div>Best,</div>
        <div><br>
        </div>
        <div>ffdd</div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Sep 24, 2020 at 5:42
          PM Miller Puckette <<a href="mailto:msp@ucsd.edu"
            moz-do-not-send="true">msp@ucsd.edu</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">That
          _should_ be correct.<br>
          <br>
          fifos less than 2 are probably inefficient (but I dn't know
          that for<br>
          sure).<br>
          <br>
          cheers<br>
          Miller<br>
          <br>
          On Thu, Sep 24, 2020 at 06:37:42PM -0300, Fede Camara Halac
          wrote:<br>
          > ???Hi,<br>
          > <br>
          > When using pd~ with -fifo 1, do you get a delay of 1
          block like in throw/catch scenario? <br>
          > <br>
          > Thanks!<br>
          > <br>
          > fd<br>
          > <br>
          > <a href="http://fdch.github.io" rel="noreferrer"
            target="_blank" moz-do-not-send="true">fdch.github.io</a><br>
          > <br>
          > <br>
          > _______________________________________________<br>
          > <a href="mailto:Pd-list@lists.iem.at" target="_blank"
            moz-do-not-send="true">Pd-list@lists.iem.at</a> mailing list<br>
          > UNSUBSCRIBE and account-management -> <a
href="https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!Uyv-HqXmCoj0l9209QG7_r5nfJVd8i8hyj0jSDRm6FzZv6t-9DKLtwT6Zaba$"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!Uyv-HqXmCoj0l9209QG7_r5nfJVd8i8hyj0jSDRm6FzZv6t-9DKLtwT6Zaba$</a>
          <br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr">
          <div>
            <div dir="ltr"><a href="http://fdch.github.io"
                target="_blank" moz-do-not-send="true">fdch.github.io</a></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
  </body>
</html>