From: Andrey Repin <anrdaemon@yandex.ru>
To: cygwin@kosowsky.org, cygwin@cygwin.com
Subject: Re: Renaming (with 'mv') very large files is SLOW
Date: Tue, 1 Feb 2022 11:47:59 +0300 [thread overview]
Message-ID: <139085903.20220201114759@yandex.ru> (raw)
In-Reply-To: <25079.64935.73349.331715@consult.pretender>
Greetings, cygwin@kosowsky.org!
> I literally am typing something like:
> mv foo bar
> In Linux, that just edits the file system table & inode...
> UPDATE...
> I just tried a second 'mv' and it was near instantaneous.
> (and similarly with subsequent renaming of the same file)
> So perhaps not a 'Cygwin' thing but something going on within Windows.
> Could it be that the first 'mv' triggered an anti-virus read of the file since
> perhaps it detects it as a new/changed file?
> But if so, would 'mv' (under Task Manager) be showing the 100+ MB/s disk activity?
Install processmanager and check what actual activity is happening on that
file. Is it reading or writing? Who is doing that?
--
With best regards,
Andrey Repin
Tuesday, February 1, 2022 11:47:15
Sorry for my terrible english...
prev parent reply other threads:[~2022-02-01 8:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-31 14:52 cygwin
2022-01-31 14:59 ` Eliot Moss
2022-01-31 15:13 ` René Berber
2022-01-31 15:20 ` cygwin
2022-01-31 15:51 ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2022-01-31 15:17 ` cygwin
2022-01-31 21:36 ` Adam Dinwoodie
2022-02-02 17:09 ` L A Walsh
2022-02-01 8:47 ` Andrey Repin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=139085903.20220201114759@yandex.ru \
--to=anrdaemon@yandex.ru \
--cc=cygwin@cygwin.com \
--cc=cygwin@kosowsky.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).