* bug#31862: 26.1; [feature request] Improve copying over a network connection in dired
@ 2018-06-16 18:23 Christoph Michelbach
0 siblings, 0 replies; only message in thread
From: Christoph Michelbach @ 2018-06-16 18:23 UTC (permalink / raw)
To: 31862
I noticed that copying many files via dired takes a lot of time when it's done
over a network connection. This seems to be because every single file is
compressed and then transmitted in sequence.
To illustrate the problem: Create files on a server using these commands:
mkdir /tmp/dir
cd /tmp/dir
dd if=/dev/urandom bs=1K count=10000 of=bigFile
mkdir smallFiles
cd smallFiles
for i in {0..9999}; do dd if=/dev/urandom bs=1K count=1 of="smallFile""$i"; done
Then copy the files over to your local machine using dired.
Copying the big file took 5 seconds (including user interaction) via my network
connection. Copying the small files with the same amount of data took almost 20
minutes.
Can't you simply compress and transfer several small files at once (up to some
limit so the server doesn't run out of RAM)?
Of course copying small files takes longer than copying a big one of the same
size as the small ones combined but this disparity is just way out of
proportion.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-16 18:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-16 18:23 bug#31862: 26.1; [feature request] Improve copying over a network connection in dired Christoph Michelbach
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.