Am Mon, Feb 24, 2025 at 09:56:49PM -0600 schrieb Dale:

> > The USB 3 family starts at 5 Gbps. All but the cheapest boards have at 
> > least 
> > one 10 Gbps USB, either as USB-A or USB-C. Some at the back, some as a new 
> > internal connector for a USB-C socket at the case front. Still rare are 
> > USBs 
> > with 20 Gbps. But I think your board was quite a good model, no? I tried to 
> > find it out by perusing old threads, but they are a bit confusing at 
> > times.^^
> >
> > I found mentions of Asus Prime X670-P and of Asus B550 Plus. The former has 
> > a 20 Gbps socket, the latter only provides 10 Gbps.
> >
> 
> I started out with the X670 I think but ended up with the B550.  The
> B550 had more PCI slots. I needed expansion options.  The AM5 mobo just
> don't have it.

Well then, The ASUS Prime B550-Plus has two USB ports that deliver 10 Gbps; 
one type A and one type C. The fastest A can usually be made out by having a 
different colour than the rest. The “slow” 5 Gbps is typically mid-blue as 
it has been since the beginning of time. (Plus on the Prime, the fast A is 
grouped with the C in one socket pair).

> I was sitting here thinking on which file system to try first.  Then it
> hit me.  I didn't know if this would work or not, but I figured it
> wouldn't hurt to try.  I just took the m.2 stick thingy and plugged it
> into my phone.  It popped up and said something about not being ready to
> access and did I want to format it.
> […]
> Anyway, I found this thing called File
> Manager plus.  I used it to copy the picture directory and then paste it
> on the m.2 stick.  My Samsung S9 phone is likely USB 1, maybe 2.

It’s typically 2.0. The premium ones come with USB 3 these days. I don’t 
think there are any devices on the consumer market these days that still 
have 1.0, that would be 1.2 MB/s.

> Oh, copying from m.2 stick to my puter hard drive, seconds.  I used the
> type C USB port which is likely the fastest and it hit close to
> 300MBs/sec.  Keep in mind, this is pictures with a few videos.  Small
> files tend to be slower.  Still, pretty good.  A lot better than USB 1.0
> days. 

300 MB/s is ok-ish, but that’s not even SATA speed. Something may still be 
amiss here. What may be interesting is whether the partition is properly 
aligned. If not, this can incurr huge performance penalties. Also, what does 
hdparm -t say? Out of curiosity, what does hdparm say when the enclosure is 
attached to a 5 Gbps and to a 10 Gbps port?

I took my very first SSD ever from my desk drawer, a 10½ year old low-end 
Sandisk 128 GB SATA, sitting in a USB enclosure. Back then, even cheap SSDs 
used MLC flash, which may be the reason why it never “forgot” anything and 
is still snappy. Since I use it as photo backup, it contains the same file 
sizes as your phone copy, so it’s perfect for comparison. The only 
difference is that I use f2fs on LUKS, so no FUSE involved.

I ran the command: "tar cf /dev/null /path/to/SSD/" and saw a transfer speed 
of 390 MB/s.

Then I did the same with my internal 970 Evo Plus, that’s a PCIe 3.0×4. Tech 
reviews back then reached around 2500 MB/s, which is actually about the 
speed I reach with hdparm -t.

I ran the same tar command again, and reached 1700 MB/s. *face of 
dissapointment*


And this brings me to another nifty tool that I wrote a while back. :D :D
It gives you a distribution of file sizes. I wrote it when I wanted to find 
out the optimal record size for my NAS’s ZFS pool. Because by tuning the 
record size to the most prevalent file size, you can optimise ZFS storage 
efficiency.

For my main photo archive:

File size histogram:
  size <=   count  histogram                                 cumulative size  
histogram
     0 B       10  ........................................         0 B    
........................................
     1 kiB     29  ........................................      11.7 kiB  
........................................
     4 kiB     62  ........................................     162.9 kiB  
........................................
    16 kiB    123  ........................................       1.1 MiB  
........................................
    64 kiB     46  ........................................       1.7 MiB  
........................................
   128 kiB    236  #.......................................      22.8 MiB  
........................................
   256 kiB    892  ##......................................     171.5 MiB  
........................................
     1 MiB   3699  #########...............................       2.0 GiB  
#.......................................
     4 MiB   6214  ###############.........................      15.7 GiB  
#####...................................
    16 MiB  16302  ########################################     116.2 GiB  
########################################
     1 GiB    719  ##......................................      47.8 GiB  
################........................
    bigger      2  ........................................       6.5 GiB  
##......................................

So most files are between 4 and 16 MiB in size. But there is a considerable 
data volume of files between 16 MiBs and 1 GiB, so basically videos or maybe 
some RAWs.


The photo backup SSD is even more unequivocal, as those are photos straight 
from the camera that I haven’t edited yet. Therefore they are all around 
8..10 MiB. I tend to edit photos and save them in JpegXL, resulting in sizes 
between 200 kiB and 2 MiB.

  size <=   count  histogram                                 cumulative size  
histogram
     0 B        0  ........................................         0 B    
........................................
     1 kiB     48  ........................................      21.2 kiB  
........................................
     4 kiB     45  ........................................      90.9 kiB  
........................................
    16 kiB     36  ........................................     261.5 kiB  
........................................
    64 kiB     11  ........................................     371.5 kiB  
........................................
   128 kiB      8  ........................................     855.1 kiB  
........................................
   256 kiB     39  ........................................       7.0 MiB  
........................................
     1 MiB     61  ........................................      34.9 MiB  
........................................
     4 MiB    533  ###.....................................       1.5 GiB  
#.......................................
    16 MiB   6969  ########################################      57.2 GiB  
########################################
     1 GiB    172  #.......................................      16.4 GiB  
###########.............................
    bigger      7  ........................................      20.8 GiB  
###############.........................

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

“When I get home I think I should have a second-generation chrome book in
the mail.  Just because for some odd reason Google sends me these things.”
– Linus Torvalds

Attachment: signature.asc
Description: PGP signature

Reply via email to