Dov Grobgeld <
dov.grobgeld@gmail.com> writes:
> I added the above patch and the result is as follows:
> After the following two lines:
>
> nread = read_process_output (proc, channel);
> pp = XPROCESS(proc);
>
> nread==4095, pp->pid=1234 repeatedly. (Actually 1234 seems to be an
> arbitrary, but constant number between 1000 and 2000).
>
> Some more info that I found through strace that might help.
> Alltogether read_process_output() is called 214 times and thus a total
> of 870k of text is read through /dev/ptmx to read_process_output() .
> Could the amount of data possibly explain the slowness?
Maybe, if this process IO is emitted non-stop. But this indicates that