delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/31/09:52:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A3D0E3858C20
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=kosowsky.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kosowsky.org
X-CMAE-Analysis: v=2.4 cv=ToQjOBbh c=1 sm=1 tr=0 ts=61f7f791
a=BYuR5sdBHlGgEYWvfiqr5Q==:117 a=BYuR5sdBHlGgEYWvfiqr5Q==:17
a=kj9zAlcOel0A:10 a=DghFqjY3_ZEA:10 a=fwhLn9VpGaNkdDevqxAA:9 a=CjuIK1q_8ugA:10
X-SECURESERVER-ACCT: inbox AT kosowsky DOT org
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Level:
MIME-Version: 1.0
Message-ID: <25079.63376.349893.86395@consult.pretender>
Date: Mon, 31 Jan 2022 09:52:00 -0500
To: cygwin AT cygwin DOT com
Subject: Renaming (with 'mv') very large files is SLOW
X-Mailer: VM 8.2.0b under 25.2.2 (x86_64-pc-linux-gnu)
From: cygwin AT kosowsky DOT org
X-Virus-Scanned: ClamAV using ClamSMTP
X-CMAE-Envelope: MS4xfGcHP39CTyuq3/LwW4HOl3PW/JQleTurcbOOgk5/AcQsYBpCTQ7/VXUkPOB5Lft0iq94Gb+lWa41JGah3XENXA2QSshDjRnDJFamFdG7N2HDwGH0ZzrL
0e0pr4UXpqIrTvTiV2MlaGyE0DrY+sX5BGbmksAplgd3FWNJ8qPpe/8a2YWBwtjOB+fp9b0zLjpRY+EL+Tg13mmbtNwD86AA9ts=
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

I tried renaming some very large files (20-40 GB) using:
   mv <oldname> <newname>
without changing the directory of course.

The process took about 10-20 minutes with Task Manager showing disk
activity of 100+ MB/s.

Is there something about such large 'renaming' that actually results
in the file being really moved (aka copied) rather than just renamed?

-- 
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