Data HDD with SSD catch drive
https://lemm.ee/post/40718024
=> More informations about this toot | More toots from rambos@lemm.ee
40MB/s is very very low even for a HDD. I would eventually debug why it’s that low.
Yes it’s possible. FS like zfs btrfs etc. support that.
=> More informations about this toot | More toots from ShortN0te@lemmy.ml
Its the cheapest drive I could find (refurbished seagate from amazon), I thought thats the reason for being slow, but wasnt aware its that low. Im also getting 25-40 MB/s (200-320 Mbps) when copying files from this drive over network. Streaming works great so its not too slow at all. Is there better way of debugging this? What speeds can I expect from good drive or best drive?
Ill research more about BTRFS and ZFS, thx
=> More informations about this toot | More toots from rambos@lemm.ee
can you copy files to it from another local disk?
=> More informations about this toot | More toots from acosmichippo@lemmy.world
Yeah, but need to figure out how to see transfer speed using ssh. Sorry noob here :)
=> More informations about this toot | More toots from rambos@lemm.ee
If you use scp (cp over ssh) you should see the transfer speed.
=> More informations about this toot | More toots from not_fond_of_reddit@lemm.ee
I have managed to copy with rsync and getting 180 MB/s. I guess my initial assumption was wrong, HDD is obviously not bottleneck here, it can get close to ISP speed. Thank you for pointing this out, Ill do more testing these days. Im kinda shocked because I never knew HDD can be that fast. Gonna reread all the comments as well
=> More informations about this toot | More toots from rambos@lemm.ee
The cool thing about rsync is that it goes ”BRRRRRRRRR!” like a warthog… the plane… and it can saturate the receiving drive or array depending on your network and client. And getting 180 with rsync… on a SATA drive, can’t really hope for more.
And you can run a quick n dirty test is using dd
$> dd if=/dev/zero of=1g-testfile bs=1g count=1
=> More informations about this toot | More toots from not_fond_of_reddit@lemm.ee
Thx. Ive seen dd commands in guides how to test drive speed, but I’m not sure how can I specify what drive I want to test. I see I could change “if” and “of”, but don’t trust myself enough to use my own modified commands before understanding them better. Will read more about that. Honestly I’m surprised drive speed test is not easier, but its probably just me still being noob xD
=> More informations about this toot | More toots from rambos@lemm.ee
Let’s say you want to test a drive that is mounted on /tmp… you just cd into that directory and you can use my example.
You can use
$> df -h
or
$> mount
to check how your drive is mounted in the OS
Most ”default ” installations will have 1-4 partitions and / being partition 3 or 4.
So if you look at the mount command and / is /dev/sdX3 (where X can be a-z depending on how many drives you have connected) and no other mounts are in the output then every directory under / is on that drive… so you can run my example from your home-directory if you fancy that.
=> More informations about this toot | More toots from not_fond_of_reddit@lemm.ee
Thank you a lot for being patient with me :D
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.62269 s, 232 MB/s
This HDD is obviously working fine and much faster than I thought it can. I guess I have to find bottleneck elswhere
=> More informations about this toot | More toots from rambos@lemm.ee
If I can at least help on stranger on the internet… well, then I have helped one stranger on the internet 😂
=> More informations about this toot | More toots from not_fond_of_reddit@lemm.ee
Hehe you are awesome 😂
=> More informations about this toot | More toots from rambos@lemm.ee This content has been proxied by September (ba2dc).Proxy Information
text/gemini