Crucial X9 2TB

Started by JBR, October 29, 2023, 01:35:49

Previous topic - Next topic

JBR

Hi, just got one of these and it's supposed to write/read at 1GB/s.

The best I've got is 800mb read and 600mb write.

I'm just copying a folder with about a thousand large RAW camera files. (26 GB in total).

Obviously on smaller files it slows down a bit but I'm getting inconsistent read/write speeds.

It's USB c which should handle this.

Any ideas on making the drive faster/more consistent?

Jim.



col

Hiya,

Doing a file copy is a simultaneous read and write so your measurements aren't really accurate if you want to measure read speed and write speed.

You could either write your own test app to just read and just write and measure the time taken, or easier still download an already tried and tested reputable app that already exists to do the more accurate testing for you.
https://github.com/davecamp

"When you observe the world through social media, you lose your faith in it."

William

#2
"800mb read and 600mb write." hey that is so much faster than 26mb/s

well, i wanted my full performance when i got a ssd too but that i found out the speeds are slower for some reason i do not remember like that some of it is 200mb to get the 800mb for example. i do not remember the reason but thats that. that much is damn good when i got an ssd it were advertised at like 120 but the file manager said it was like 30mb/s. there is a reason but that i do not recall, something about the way it works. edit: i think its in megabits to megabytes.
im still interested in oldschool app/gamedev

Derron

if your ssd is only capable of 30MB/s then you either bought a MicroSD-card or your system is under heavy load. Even old SATA/PATA drives were faster.

When people talk about "not reaching full speed" they do not talk about 30MByte/s versus 1200MByte/s ... people with 30MByte/s have complete different problems then the others.
The high speed drives become slower if their internal caches are fully occupied - like with required ram disc swapping file stuff once your RAM is full.
Some drives have odd "cache" configurations.
Most drives will become slower if you fill them above certain thresholds (maybe 80% of their capacity).

But most slow SSDs will either be fake china ones with old sd card memory chips and the cheapest controller ... or odd configurations (SATA-cables of gen1, faulty cables, limited sata speeds in bios, concurrent file accesses like OS on the same disc, copying a test file from same disc to same disc).
Copying files from an USB stick to the disc ... will have the usb host utilize a lot cpu power (slower computers will use 100% cpu then) so nothing is left for the actual file writing. Same to say for samba shares (use NFS for lower cpu impact).
But reading that you can only copy with 30MB/s ... I copy with around 70MB/s to an old usb3-external-drive and fully max out my 1000MBit Lan connection to my NAS (except when writing to the usb3-external drive I use there as extra storage :)).

As you run linux (talking to william):

test with cache:
sudo hdparm -tT /dev/sda

test without cache:
sudo hdparm -tT --direct /dev/sda


hdparm handles incorrect partition alignment (can slow down speeds) - dd does not, so if you know you set it correctly you can use dd:
dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
-- now clear buffer cache
echo 3 | sudo tee /proc/sys/vm/drop_caches
-- now read test
dd if=tempfile of=/dev/null bs=1M count=1024
-- now you could test buffer speed
dd if=tempfile of=/dev/null bs=1M count=1024
-- do above 3-4 times for replicateability
-- remove tmp file afterwards
rm tempfile

taken from: https://wiki.ubuntuusers.de/Festplatten-Geschwindigkeitstest/


gnome-disc ("Drives" in the startmenu) should have a speed test for drives inbuilt too...


bye
Ron