cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

Takashi Yano takashi.yano@nifty.ne.jp
Thu Sep 16 13:02:01 GMT 2021


On Thu, 16 Sep 2021 18:09:05 +0900
Takashi Yano wrote:
> I encountered a problem with current git head.
> 
> To reproduce the problem:
> 1) Make the CPU hight load state (100% load for all cores).
> 2) Run '/bin/echo AAAAAAAAAAA 2>&1 |cat' several times.
> Sometimes, no output is shown.
> 
> This seems to be a race issue between multiple pipe writers.
> Now I am investigating the problem.

I would like to propose three additional patches, two are for
the issue above (0001 and 0003), and the other one (0002) fixes
the error handling.

Please have a look at patches attached.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Cygwin-close_all_files-Do-not-duplicate-stderr-for-w.patch
Type: application/octet-stream
Size: 1088 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-developers/attachments/20210916/ea4def9a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Cygwin-pipe-Fix-error-handling-in-fhandler_pip-creat.patch
Type: application/octet-stream
Size: 2315 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-developers/attachments/20210916/ea4def9a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Cygwin-pipe-Fix-race-issue-regarding-handle-count.patch
Type: application/octet-stream
Size: 5549 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-developers/attachments/20210916/ea4def9a/attachment-0002.obj>


More information about the Cygwin-developers mailing list