Windows SSD Speeds - why so slow???

Windows SSD Speeds - why so slow???

Author
Discussion

jesusbuiltmycar

Original Poster:

4,609 posts

259 months

Thursday 22nd August
quotequote all
I am using a very high end Dell laptop supplied by my current client. It cost considerable more than a Macbook Pro....

SSDs should be fast. Looking at some of the benchmarking sites (https://www.tomshardware.com/features/ssd-benchmarks-hierarchy) even a slow one should be able to handle file copy at speeds greater than 800MB/s

So why does it take forever and a day to copy a 10Gb build/source code directory?

The only reasons I can come up with are:

1: Virus Scanner
2: The underlying Windows kernel (based on DOS rolleyes) is just slow

EmailAddress

13,219 posts

223 months

Thursday 22nd August
quotequote all
Is it in use while copying.

budgie smuggler

5,495 posts

164 months

Thursday 22nd August
quotequote all
- Virus scanner, temporarily white list the directory and see if it is now fast
- Source directories are typically thousands of small files, pretty much the worst case scenario for filesystem performance
- The drive may be formatted with the partitions incorrectly aligned

EmailAddress

13,219 posts

223 months

Thursday 22nd August
quotequote all
Is there something trying to index it at the same time.

jesusbuiltmycar

Original Poster:

4,609 posts

259 months

Thursday 22nd August
quotequote all
budgie smuggler said:
- Virus scanner, temporarily white list the directory and see if it is now fast
- Source directories are typically thousands of small files, pretty much the worst case scenario for filesystem performance
- The drive may be formatted with the partitions incorrectly aligned
Files are not in use while copying ...
The machine was configured / formatted by Dell so I would hope they know what they are doing, but I wouldn't ne surprised if they don't...
As the directory is the source + build of a very large C++ project it will be many thousands of small files so I guess combined with the virus scanner that could be the cause (Virus scanners are generally poorly written often spawning 1000s of threads when they should spawn 1 per core max).

Unfortunately there is no way to "Whitelist" a directory due to it being outside of my control - we also have a build server running Jenkins which regularly fails due to a file being locked, probably by the virus scanner (the classic DOS big file lock). I have tried Windows Powershell (and PowerToys - FileLockSmith) to check the file but they either report the file is not locked or simply lock up.. IT's only solution is the classic reboot which is piss-poor for a build server running CD/CI.

EmailAddress

13,219 posts

223 months

Thursday 22nd August
quotequote all
Can you copy in Safe Mode.

simon_harris

1,647 posts

39 months

Thursday 22nd August
quotequote all
Where are you copying the source data from?

It used to be that SSD were only faster than HDD in specific scenarios - ie long sequential reads of well organised data writes, but certainly lots of small files is always going to be a "slow" copy no matter what the medium, that and AV getting in the way.

essayer

9,455 posts

199 months

Thursday 22nd August
quotequote all
Explain to someone senior at the client that this is costing them £££… they will assist you in finding a competent IT person to whitelist the build/src dirs

jesusbuiltmycar

Original Poster:

4,609 posts

259 months

Thursday 22nd August
quotequote all
Further investigation reveals that it is Windows specific. A similar copy on a Linux VM (running on the same machine) is orders of magnitude quicker....

theboss

7,080 posts

224 months

Thursday 22nd August
quotequote all
Where's it copying the data from?

budgie smuggler

5,495 posts

164 months

Thursday 22nd August
quotequote all
jesusbuiltmycar said:
Further investigation reveals that it is Windows specific. A similar copy on a Linux VM (running on the same machine) is orders of magnitude quicker....
Assuming it's NTFS, ensure last access time is disabled for the volume. (Linux distros mostly ship with relatime enabled, so only update the atime when the mtime is altered).
Fsutil is the command you want, but you would need admin privs to make the change.

But I still think it's more likely to be mostly slower from the virus scanner.

maffski

1,878 posts

164 months

Thursday 22nd August
quotequote all

eeLee

832 posts

85 months

Thursday 22nd August
quotequote all
Windows Explorer in Win11 has cack copy processes. As pointed out, robocopy or xcopy if you're able.
Also use this tool to examine how your speeds are: https://www.grc.com/readspeed.htm

rodericb

7,049 posts

131 months

Friday 23rd August
quotequote all
It's probably furiously copying everything to OneDrive.....

bunchofkeys

1,111 posts

73 months

Friday 23rd August
quotequote all
Is Bitlocker enable on the drive?
This is the default drive encryption and can slow down data transfer speeds.

https://www.pcworld.com/article/2113846/default-wi...

.:ian:.

2,274 posts

208 months

Friday 23rd August
quotequote all
simon_harris said:
Where are you copying the source data from?

It used to be that SSD were only faster than HDD in specific scenarios - ie long sequential reads of well organised data writes, but certainly lots of small files is always going to be a "slow" copy no matter what the medium, that and AV getting in the way.
This, its likely 10gb of source code is 1000s or 100,000s of small files, which is always going to take way longer than a single 10gb file.


Baldchap

8,214 posts

97 months

Friday 23rd August
quotequote all
essayer said:
Explain to someone senior at the client that this is costing them £££… they will assist you in finding a competent IT person to whitelist the build/src dirs
A 'competent IT person' would do the duplication outside of hours or find another solution such as hosting the files somewhere suitable to begin with.

BlueMR2

8,691 posts

207 months

Friday 23rd August
quotequote all
Alot of ssd's are slow once the ram cache is full,.

Tiny files are slow to be written and QLC chips are slow, They also get pretty hot, not something you want in a laptop.

Have a read of the replies on this post,
https://www.reddit.com/r/hardware/comments/14dvxsn...