delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/11/06/12:33:25

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 <croehrig AT house DOT org>, cygwin AT cygwin DOT com
Subject: Re: scp and ssh 'cat' stalls at 64k bytes
In-Reply-To: <b6e0a7b2-ba6d-35f9-04b5-ca2e9c00ffd9@house.org>
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>
<MW4PR84MB1684932344B153F3E4F4415AFE23A AT MW4PR84MB1684 DOT NAMPRD84 DOT PROD DOT OUTLOOK DOT COM>
<bced83bb-58c5-f2a8-bc03-578d6d9fd749 AT house DOT org>
<MW4PR84MB1684E6210C73D34ED2223319FE23A AT MW4PR84MB1684 DOT NAMPRD84 DOT PROD DOT OUTLOOK DOT COM>
<754ed51d-ba50-5268-9150-1c6b5c86b5ca AT house DOT org>
<59bddbbd-f934-8a23-3589-31e6db46639d AT harkless DOT org>
<b6e0a7b2-ba6d-35f9-04b5-ca2e9c00ffd9 AT house 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019