Will purchasing an NVMe SSD noticably improve performance
#21
(11-11-2019, 01:08 AM)hdk Wrote: Is there a preferred benchmark tool to use at Pine64?

rock64@pinebookpro:~$ systemd-analyze
Startup finished in 4.919s (kernel) + 8.238s (userspace) = 13.157s
graphical.target reached after 8.206s in userspace


I can produce lots of info from Hardinfo.

I got the following figures when booting the standard Debian Stretch image from the eMMC:

Code:
Startup finished in 1.922s (kernel) + 11.936s (userspace) = 13.859s

Will report back when I have an SSD.
#22
Hey, I just wanted to add some data toward answering the original question "will an SSD noticeably improve performance?" 

Code:
rock64@pinebookpro:~$ iostat -h mmcblk1
Linux 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310 (pinebookpro)  12/11/2019      _aarch64_       (6 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          22.9%    0.7%    8.9%    0.2%    0.0%   67.3%

Device             tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
mmcblk1
                 26.51       128.4k       259.7k      58.5G     118.3G

rock64@pinebookpro:~$ uptime
22:58:42 up 5 days, 12:32,  3 users,  load average: 0.48, 0.42, 0.42

So we're looking at 5 days uptime booted off the eMMC doing a variety of things from the desktop. The iowait % is the big number to pay attention to here, this is the time that the machine spent with a cpu core active waiting on the disk to complete an io operation.

Two tenths of a percent of the time this was the case, this very clearly demonstrates that disk io isn't the performance bottleneck on the PBP under typical desktop use conditions. If you have a usage pattern that requires extremely heavy disk access (constantly compiling, for example) then you'll benefit more from an NVMe drive, otherwise you really won't see much improvement most of the time.

There are also a handful of ways to mitigate the need for an SSD even if you require fast disk access; as an example chromium seems to like fast storage for it's user cache, so I've setup a 550MB zram mountpoint for that. If you need persistence for fast cache data you can combine tmpfs (or zram, which will be a tad slower but much more memory efficient) with overlayfs using the memory device as an upper layer and storage on the emmc as a persistent lower layer.

Anyway, long story short, 99.8% of the time over 5 days of desktop use, browsing heavily, code editing, watching netflix, etc my PBP wouldn't have seen any real improvement from using NVMe over eMMC.
#23
In my opinion the actual speed of the device is also important.
rock64@pinebookpro:~$ iostat
Linux 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310 (pinebookpro) 12/12/19 _aarch64_ (6 CPU)

avg-cpu: %user %nice %system %iowait %steal %idle
7.79 0.05 2.38 0.04 0.00 89.74

Device tps kB_read/s kB_wrtn/s kB_read kB_wrtn
loop0 0.02 0.15 0.00 337 0
loop1 0.02 0.15 0.00 332 0
loop2 0.02 0.47 0.00 1064 0
loop3 0.06 1.41 0.00 3197 0
loop4 0.02 0.15 0.00 337 0
loop5 0.02 0.15 0.00 345 0
loop6 0.02 0.15 0.00 332 0
loop7 0.02 0.15 0.00 344 0
nvme0n1 87.35 359.57 322.65 815505 731768
mmcblk1 0.17 3.08 0.00 6986 0
mmcblk1boot1 0.02 0.10 0.00 216 0
mmcblk1boot0 0.02 0.10 0.00 216 0
loop8 0.02 0.46 0.00 1044 0
zram0 0.12 0.46 0.00 1052 4
zram1 0.13 0.52 0.00 1184 4
zram2 0.13 0.52 0.00 1184 4
zram3 0.13 0.52 0.00 1184 4
zram4 0.13 0.52 0.00 1184 4
zram5 0.13 0.52 0.00 1184 4

Readable iostat.


Attached Files
.png   Screenshot at 2019-12-12 19-08-56.png (Size: 89.67 KB / Downloads: 346)


Possibly Related Threads…
Thread Author Replies Views Last Post
  New Working nVME gilwood 0 155 02-12-2024, 08:46 AM
Last Post: gilwood
  NVME problems 2022 / Intel 660p 1TB Starbug 1 1,412 04-04-2023, 12:16 PM
Last Post: globaltree
Thumbs Up NVMe adapter, Great addition dachalife 2 1,723 11-28-2022, 12:56 PM
Last Post: dachalife
  NVMe drives not detected mattpenn 12 10,022 03-05-2022, 04:53 AM
Last Post: mattpenn
  NVme intall usage? tkudog 2 2,793 03-04-2022, 01:29 AM
Last Post: Tazdevl
  Anyone selling a spare NVMe adapter in Europe? tom.tomasz 1 1,793 01-03-2022, 07:57 AM
Last Post: tom.tomasz
  NVMe-related crashes and instability, plus a solution simonsouth 13 14,355 12-10-2021, 07:47 PM
Last Post: josmo
  NVMe SSD testing methodology halogen 1 2,554 07-22-2021, 05:57 PM
Last Post: calinb
Question Battery stops charging and NVMe and other media disconnect randomly Eey0zu6O 4 4,629 07-09-2021, 08:45 PM
Last Post: moonwalkers
  nvme drive disappears after about an hour of uptime codebreaker 25 31,442 02-09-2021, 11:32 PM
Last Post: dsimic

Forum Jump:


Users browsing this thread: 1 Guest(s)