frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Copy-Item is 27% slower than File Explorer

https://til.andrew-quinn.me/posts/copy-item-is-27-percent-slower-than-file-explorer-drag-and-drop-on-windows/
28•hiAndrewQuinn•1h ago

Comments

DustinEchoes•1h ago
Never assume anything done in Powershell is fast.
kg•53m ago
> SFTP is an encrypted protocol, so maybe those CPU cycles add up to a lot of extra work over time or slowdown. That… shouldn’t feel convincing to anyone who gives it more than 15 seconds of thought, but we all live with our eyes wide shut at times.

FWIW, I previously spent some time trying to get the maximum possible throughput when copying files between a Windows host and a Linux VM, and the encryption used by most protocols did actually become a bottleneck eventually. I expect this isn't a big factor on 1gbps ethernet, but I've never measured it.

r1ch•8m ago
The bottleneck with SFTP / SCP / SSH is usually the server software - SSH can multiplex streams, so it implements its own TCP-style sliding windows for channel data. Unfortunately OpenSSH and similar server implementations suffer from the exact same problems that TCP did, where the windows don't scale up to modern connection speeds, so the maximum data in-flight quickly gets limited at higher BDPs.

HPN-SSH[1] resolves this but isn't widely deployed.

[1] https://www.psc.edu/hpn-ssh-home/

zaptheimpaler•52m ago
ugh, I don't know why copying files and basic I/O is so fucked on Windows. Recently I was trying to copy some large movie files between 2 folders on an NVME SSD formatted to ExFAT in a good USB-C enclosure connected over 20Gbps USB-C port and explorer would literally just freeze & crash doing that. I had to copy one file at a time to make it not crash, and then it would have this weird I/O pattern where the transfer would do almost nothing for 1-2 minutes, then the speed eventually picked up.

This isn't even going into WSL. I specifically stopped using WSL and moved to a separate linux devbox because of all the weirdness and slowness with filesystem access across the WSL boundary. Something like listing a lot of files would be very slow IIRC. Slightly tangentially, the whole situation around sharing files across OSes is pretty frustrating. The only one that works without 3rd party paid drivers on all 3 major OSes is ExFAT and that is limited in many other ways compared to ext4 or NTFS.

toast0•7m ago
This feels like usb 3 super speed flakeyness. Did you do all the usual things of trying different ports, moving sources of interferrence, etc? Front ports at super speed are typically the most trouble.
bakugo•43m ago
Just tried copying a 20GB file to my Windows desktop from a mounted Samba share through gigabit ethernet (nvme on both sides). Explorer, Copy-Item and robocopy all saturated the connection with no issues.

There's definitely something off about OP's setup, though I have no idea what it could be. I'd start by checking the latency between the machines. Might also be the network adapter or its drivers.

kachapopopow•38m ago
rsync being that much slower makes no sense since back when I used windows I rsync was saturating 1 gig easily, this has to be running on a very slow pentium or something.
ninkendo•25m ago
My first thought would be some kind of "security" software (maybe even as simple as windows defender) inspecting the files as they're coming in, which might be done for any process not on some allow-list. And maybe the allow-list is basically just "explorer.exe". And maybe it's faster at checking some processes than others.
kichik•41m ago
Invoke-WebRequest is also very slow if you forget to disable the progress bar with $ProgressPreference = 'SilentlyContinue'

PowerShell has some "interesting" design choices...

archi42•35m ago
This is atrocious. I get it, some things are less trivial than they seem - but I would be ashamed for shipping something like this, and even more for not fixing it.
orthoxerox•23m ago
Wasn't something like npm much slower as well when it showed a progress indicator by default?
Lariscus•19m ago
It also buffers the downloaded data completely into memory last time I checked. So downloading a file bigger than the available RAM just doesn't work and you have to use WebClient instead.

Another fun one is Extract-Archive which is painfully slow while using the System.IO.Compression.ZipFile CLR type directly is reasonably fast. Powershell is really a head scratcher sometimes.

cheema33•40m ago
I am not surprised. My Windows 11 systems with modern and beefy hardware frequently runs very slow for reasons unknown. I did use https://github.com/Raphire/Win11Debloat recently and that seemed to have helped. Windows by default comes with a lot of crap that most of us do not use but it consumes resources anyway.

I have been considering a move back to Linux. It is only Microsoft Teams on Windows that I have to use daily that is holding me back.

mft_•14m ago
> I have been considering a move back to Linux. It is only Microsoft Teams on Windows that I have to use daily that is holding me back.

Me too. I've not tried this yet, but will soon: https://github.com/IsmaelMartinez/teams-for-linux

sgc•26m ago
It's fortunately been years since I have used Windows, but it looks like the old staples are still ahead of the curve:

https://fastcopy.jp/

https://www.codesector.com/teracopy

(I have certainly forgotten at least one...)

abbeyj•24m ago
The page is 404 now. It looks like something went wrong when the author was trying to push a small edit to the page. The content is viewable at https://github.com/hiAndrewQuinn/til/blob/main/copy-item-is-...
doormatt•22m ago
Works fine for me.
itsthecourier•24m ago
want to see rsync WSL 1 in that comparison

filesystem should be faster in WSL2 but not if the file resides in the windows path I think

r1ch•14m ago
OP mentions using "Cat 7" cables - please don't buy these. Cat 7 isn't something that exists in TIA/EIA standards, only in ISO/IEC and it requires GG45 or TERA connectors. Cat 7 with RJ45 connectors isn't standardized, so you have no idea what you're actually getting. Stick with pure copper Cat 6A.

Zebra-Llama: Towards Efficient Hybrid Models

https://arxiv.org/abs/2505.17272
55•mirrir•3h ago•26 comments

GrapheneOS is the only Android OS providing full security patches

https://grapheneos.social/@GrapheneOS/115647408229616018
389•akyuu•9h ago•152 comments

Tiny Core Linux: a 23 MB Linux distro with graphical desktop

http://www.tinycorelinux.net/
319•LorenDB•9h ago•155 comments

OMSCS Open Courseware

https://sites.gatech.edu/omscsopencourseware/
100•kerim-ca•4h ago•35 comments

Coffee linked to slower biological ageing among those with severe mental illness

https://www.kcl.ac.uk/news/coffee-linked-to-slower-biological-ageing-among-those-with-severe-ment...
49•bookofjoe•1h ago•29 comments

Z-Image: Powerful and highly efficient image generation model with 6B parameters

https://github.com/Tongyi-MAI/Z-Image
205•doener•6d ago•73 comments

HTML as an Accessible Format for Papers

https://info.arxiv.org/about/accessible_HTML.html
187•el3ctron•8h ago•96 comments

The past was not that cute

https://juliawise.net/the-past-was-not-that-cute/
22•mhb•1h ago•15 comments

United States Antarctic Program Field Manual (2024) [pdf]

https://www.usap.gov/usapgov/travelAndDeployment/documents/Continental-Field-Manual-2024.pdf
4•SheinhardtWigCo•59m ago•0 comments

Show HN: Tascli, a command line based (human) task and record manager

https://github.com/Aperocky/tascli
16•Aperocky•2h ago•4 comments

Screenshots from developers: 2002 vs. 2015 (2015)

https://anders.unix.se/2015/12/10/screenshots-from-developers--2002-vs.-2015/
8•turrini•1h ago•0 comments

Mathematics Without Numbers (1959)

https://www.jstor.org/stable/20026529?seq=1
11•measurablefunc•4d ago•1 comments

Wave of (Open Street Map) Vandalism in South Korea

https://www.openstreetmap.org/user/KennyDap/diary/407844
27•shortrounddev2•51m ago•2 comments

Autism's confusing cousins

https://www.psychiatrymargins.com/p/autisms-confusing-cousins
204•Anon84•12h ago•212 comments

Abstract Interpretation in the Toy Optimizer

https://bernsteinbear.com/blog/toy-abstract-interpretation/
28•ChadNauseam•2d ago•5 comments

Touching the Elephant – TPUs

https://considerthebulldog.com/tte-tpu/
144•giuliomagnifico•10h ago•43 comments

Catala – Law to Code

https://catala-lang.org
3•Grognak•1h ago•0 comments

Finding Gene Cernan's Missing Moon Camera

https://www.spacecamera.co/articles/2020/3/3/gene-cernans-missing-lunar-surface-camera
54•theodorespeaks•3d ago•5 comments

Infisical (YC W23) Is Hiring Engineers to Build the Modern OSS Security Stack

https://www.ycombinator.com/companies/infisical/jobs/2pwGcK9-senior-full-stack-engineer-us-canada
1•vmatsiiako•6h ago

The unexpected effectiveness of one-shot decompilation with Claude

https://blog.chrislewis.au/the-unexpected-effectiveness-of-one-shot-decompilation-with-claude/
164•knackers•1w ago•86 comments

Self-hosting my photos with Immich

https://michael.stapelberg.ch/posts/2025-11-29-self-hosting-photos-with-immich/
609•birdculture•6d ago•341 comments

Term-keys – Lossless keyboard input for Emacs

https://github.com/CyberShadow/term-keys
10•harryday•6d ago•2 comments

A compact camera built using an optical mouse

https://petapixel.com/2025/11/13/this-guy-built-a-compact-camera-using-an-optical-mouse/
227•PaulHoule•3d ago•45 comments

Copy-Item is 27% slower than File Explorer

https://til.andrew-quinn.me/posts/copy-item-is-27-percent-slower-than-file-explorer-drag-and-drop...
29•hiAndrewQuinn•1h ago•19 comments

Kids who ran away to 1960s San Francisco

https://www.fieldnotes.nautilus.quest/p/the-kids-who-ran-away-to-1960s-san
122•zackoverflow•4d ago•18 comments

Linux Instal Fest Belgrade

https://dmz.rs/lif2025_en
141•ubavic•13h ago•19 comments

Germany votes to bring in voluntary military service programme for 18-year-olds

https://www.bbc.com/news/articles/ckg9drg8pg1o
8•petermcneeley•4h ago•1 comments

Nook Browser

https://browsewithnook.com
94•ray__•19h ago•78 comments

Mapping Amazing: Bee Maps

https://maphappenings.com/2025/11/06/bee-maps/
52•altilunium•6d ago•29 comments

How the 'hypnagogic state' of drowsiness could enhance your creativity

https://theconversation.com/how-the-hypnagogic-state-of-drowsiness-could-enhance-your-creativity-...
13•zeristor•1h ago•3 comments