logoalt Hacker News

simlevesquetoday at 3:25 PM2 repliesview on HN

I've had this with gen5 PCIe SSDs recently. My T710 is so fast it's hard to believe. But you need to have a lot of data to make it worth.

Example:

    > time du -sh .
    737G .
    ________________________
    Executed in   24.63 secs
And on my laptop that has a gen3, lower spec NVMe:

    > time du -sh .
    304G .
    ________________________
    Executed in   80.86 secs

It's almost 10 times faster. The CPU must have something to do with it too but they're both Ryzen 9.

Replies

adgjlsfhk1today at 3:56 PM

To me that reads 3x, not "almost 10x". The main differrence here is probably power. A desktop/server is happy to send 15W to the SSD and hundreds of watts to the CPU, while a laptop wants the SSD running in the ~1 watt range and the CPU in the 10s of watts range.

show 1 reply
tanelivtoday at 4:39 PM

I believe you, but your benchmark is not very useful. I get this on two 5400rpm 3T HDDs in a mirror:

    $ time du -sh .
    935G    .
                                                                                                                          
    real    0m1.154s
Simply because there's less than 20 directories and the files are large.
show 1 reply