X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FD513856DE7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1699291994; bh=aKD4D4vxcoGnzWoNJuisV+Aqq8R/QxTRU9SlMq5T0MA=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=STEXRSF/UPdU2VdD7NfZXVYnmXCAamScn4RfLPuDIPUv/i7FeVkji+0+87/3uMSfQ 1BGKvjASgnBzwg6XmKnF+f5M/oOLsuNgc6A/uBro3MP/lew+fb+bNBncrFI5taZkFF jnaFVvPT/Biyh3T4EYHRsaNRVgjC6atSxmOqKYtM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2631C3856DD0 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2631C3856DD0 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291870; cv=none; b=KjFBOgIO5UmjxXx+33+mRLFiv/7Ew2wHx+uSuRjfAnMkvyQWM+4SuVnLCFkIui+uUVF/oMJgUwW4M3wfk3sMbdfkylEUkZsSPSLmT+HPN8s8jBOmhlBEWBaoZ2msaV0KBHArOv4BWakHpti3/exGcIQme9jZtZjARhQw466maEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291870; c=relaxed/simple; bh=KMvVutmYtaHBMpee/otGmV6jR15YZGd3muPwiNl0pV8=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=R0+sH3hbA7wlt+cohNS4e0qvn9DHmd1TkqR9EGFWqHdnAjm9ia/9b9bcloUB0jJokckfpgLgb83lxgb7sJJxqs4TDEkZVpztHOrRE238pTJWlYvTOSDSa1pRVtA0UN5qhKwd55MmwBCTTLcsZaIwVkjKiEE+6jZJ4Xuu+DUx00Y= ARC-Authentication-Results: i=1; server2.sourceware.org X-Yandex-Fwd: 1 Date: Wed, 5 Jul 2023 22:20:39 +0300 X-Mailer: The Bat! (v9.3.4) Professional Message-ID: <1427879370.20230705222039@yandex.ru> To: Chris Roehrig , cygwin AT cygwin DOT com Subject: Re: scp and ssh 'cat' stalls at 64k bytes In-Reply-To: References: <1b9482bd-2119-732f-cc49-a3930bd3328d AT house DOT org> <947c6b09-c2c0-03db-a4ac-769c4f1b3783 AT Shaw DOT ca> <7fd038be-e163-a5d3-5e28-d79eef977ee5 AT house DOT org> <754ed51d-ba50-5268-9150-1c6b5c86b5ca AT house DOT org> <59bddbbd-f934-8a23-3589-31e6db46639d AT harkless DOT org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DATE_IN_PAST_96_XX, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Repin via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Andrey Repin Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3A6HXOKw009817 Greetings, Chris Roehrig! > On 2023-06-23 18:26, Dan Harkless via Cygwin wrote: >> On 6/23/2023 5:19 PM, Chris Roehrig via Cygwin wrote: >>> No worries; I imagine most people don't run sshd on cygwin. >> >> Hmm, I'd generally think the opposite, at least for users coming from > more UNIXey / Linuxey backgrounds. >> >>> It looks to >>> me like the issue involves i/o between sshd and its sub-processes on >> cygwin. >>> >>> Is anyone else able to successfully scp large files (>64KB) to cygwin as >>> the remote receiving end (with the latest cygwin)? >> >> Yes, with all Cygwin64 updates, I was able to scp a file of a few MB > from Linux to Windows 10 with no issues.  I also tried your 'cat' > version, and that worked fine too. >> >> -- > Dan Harkless >> http://harkless.org/dan/ >> >> > Thanks.  There must be some issue with my setup.   Very odd that 'pv' > works, but 'cat' does not.  ldd shows they use identical libs.   I guess > I'll start with the pv and cat source. Try rebase-trigger full and run setup afterwars. Try running cygcheck against installed packages (or just install a new copy of Cygwin into a separate directory) to exclude possible locked files in update. $ dd if=/dev/zero bs=65537 count=1 | ssh localhost -- cat > /dev/null The authenticity of host 'localhost (::1)' can't be established. ED25519 key fingerprint is SHA256:rK/5qL4K+LBmYS2LfQQH1dT4fmB7+Oi7YlWLTDJvPRU. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'localhost' (ED25519) to the list of known hosts. 1+0 records in 1+0 records out 65537 bytes (66 kB, 64 KiB) copied, 7.67032 s, 8.5 kB/s $ dd if=/dev/zero bs=64k count=1M | ssh localhost -- cat > /dev/null 1048576+0 records in 1048576+0 records out 68719476736 bytes (69 GB, 64 GiB) copied, 670.787 s, 102 MB/s -- With best regards, Andrey Repin Wednesday, July 5, 2023 22:17:23 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple