[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpectedly low read/write performance of open-pipe
From: |
Rob Browning |
Subject: |
Re: Unexpectedly low read/write performance of open-pipe |
Date: |
Sun, 07 Apr 2019 14:47:31 -0500 |
Rob Browning <address@hidden> writes:
> For what it's worth, in an earlier round of testing I also hacked up
> open-pipe to let me access the underlying ports and set their buffers to
> 65k. That doubled the transfer rate, but of course, it's still fairly
> slow.
I also ran statprof on the OPEN_BOTH case and saw that the majority of
the time was spent in read-char (guessing via the open-pipe soft-port).
I also observed that the machine's fan spun up during the OPEN_BOTH test
(presumably due to high CPU use).
I haven't tried to track it down yet, but if the only underlying way to
get a fixed block of data out of an OPEN_BOTH port is read-char, then
that might explain much of the difference.
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
- Unexpectedly low read/write performance of open-pipe, Rob Browning, 2019/04/07
- Re: Unexpectedly low read/write performance of open-pipe, Rob Browning, 2019/04/07
- Re: Unexpectedly low read/write performance of open-pipe,
Rob Browning <=
- Re: Unexpectedly low read/write performance of open-pipe, Rob Browning, 2019/04/07
- Re: Unexpectedly low read/write performance of open-pipe, Mark H Weaver, 2019/04/08
- Re: Unexpectedly low read/write performance of open-pipe, Rob Browning, 2019/04/09
- Re: Unexpectedly low read/write performance of open-pipe, Mark H Weaver, 2019/04/09
- Re: Unexpectedly low read/write performance of open-pipe, Chris Vine, 2019/04/09
- Re: Unexpectedly low read/write performance of open-pipe, Mark H Weaver, 2019/04/09
- Re: Unexpectedly low read/write performance of open-pipe, Chris Vine, 2019/04/09
- Re: Unexpectedly low read/write performance of open-pipe, Mark H Weaver, 2019/04/09
- Re: Unexpectedly low read/write performance of open-pipe, Mark H Weaver, 2019/04/16
- Re: Unexpectedly low read/write performance of open-pipe, Mark H Weaver, 2019/04/09