PCI-E X4 to M.2/NGFF NVMe SSD - support?
#11
(08-03-2018, 12:38 PM)AndyOfLinux Wrote: I have the PCI-E X4 to M.2/NGFF NVMe SSD card and wondered what type of M.2 drives people may be using?  Also wondering if this card and M.2 drives (like the Samsung 970 PRO 512GB - NVMe PCIe M.2 2280 SSD) are supported under (ayufan) Ubuntu Bionic?
I have got a (secondhand) 128GB SM961 working fine on 4.4.132-1075 with Ayufan bionic minimal.

I did notice the Polaris/controller chip was cooking so have put a heatsink on it.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#12
(08-06-2018, 09:36 PM)Bullet64 Wrote: Are you using mainline kernel? Atm, mainline kernel is faster.

Guess I'm still a NOOB here -- which/what is the "mainline kernel?" I see this file on GitHub:  linux-image-4.18.0-rc8-1056-ayufan-gad339353011e_4.18.0-rc8-1056-ayufan_arm64.deb -- BUT, not sure what to do with it.  How do I install or create an image for my eMMC card?  Thanks for any help!
Confused
  Reply
#13
(08-07-2018, 11:38 PM)AndyOfLinux Wrote:
(08-06-2018, 09:36 PM)Bullet64 Wrote: Are you using mainline kernel? Atm, mainline kernel is faster.

Guess I'm still a NOOB here -- which/what is the "mainline kernel?" I see this file on GitHub:  linux-image-4.18.0-rc8-1056-ayufan-gad339353011e_4.18.0-rc8-1056-ayufan_arm64.deb -- BUT, not sure what to do with it.  How do I install or create an image for my eMMC card?  Thanks for any help!
Confused

With LXDE you have some package manager, probably Synaptic? If you fire Synaptic, search for 4.18.0-rc8 you should see 3 packages - headers, image and debug image. Install the image and reboot.

BUT BEWARE - I DID THIS WITH rc5-1052 AND BROKE MY INSTALL (possibly because I am thick or did it wrong!) But be prepared to rebuild your linux from scratch.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#14
dukla2000
(08-07-2018, 11:38 PM)AndyOfLinux Wrote:
(08-06-2018, 09:36 PM)Bullet64 Wrote: Are you using mainline kernel? Atm, mainline kernel is faster.With LXDE you have some package manager, probably Synaptic? If you fire Synaptic, search for 4.18.0-rc8 you should see 3 packages - headers, image and debug image. Install the image and reboot.

OK - Thanks again  Smile

I changed from kernel:
 Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524
to:
 Linux rockpro64 4.18.0-rc8-1056-ayufan-gad339353011e

and see WAY faster NVMe disk performance:

Code:
sudo hdparm -tT --direct /dev/nvme0n1

/dev/nvme0n1:
 Timing O_DIRECT cached reads:   1788 MB in  2.00 seconds = 894.06 MB/sec
 Timing O_DIRECT disk reads: 2688 MB in  3.00 seconds = 895.90 MB/sec


and "everything else" still seems to work OK.  I am currently using/testing MongoDB 4.0 on the ROCKPro64 with even better performance, now.
  Reply
#15
[quote pid='39681' dateline='1533596940']

With my Intel i5 NUC  and Samsung 950 PRO:

Code:
sudo hdparm -tT --direct /dev/nvme0n1 

/dev/nvme0n1:
 Timing O_DIRECT cached reads:   1978 MB in  2.00 seconds = 989.90 MB/sec
 Timing O_DIRECT disk reads: 3210 MB in  3.00 seconds = 1069.41 MB/sec

[/quote]

And now with mainline

Quote:
Code:
/dev/nvme0n1:
 Timing O_DIRECT cached reads:   1788 MB in  2.00 seconds = 894.06 MB/sec
 Timing O_DIRECT disk reads: 2688 MB in  3.00 seconds = 895.90 MB/sec

I think that looks very nice. Have fun with your ROCKPro64! Big Grin
Sorry for any mistakes. English is not my native language

1. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/
  Reply
#16
PM961 128GB with 4.4.138-1094

Code:
/dev/nvme0n1:
Timing O_DIRECT cached reads:   1644 MB in  2.00 seconds = 821.57 MB/sec
Timing O_DIRECT disk reads: 2486 MB in  3.00 seconds = 828.39 MB/sec
  Reply
#17
where did people get the screw to mount the m.2 cards?
  Reply
#18
(08-20-2018, 11:50 AM)Firesped Wrote: where did people get the screw to mount the m.2 cards?

My PCI card came with the screw in the M.2 2280 position (i.e. end of card furthest away from socket).  I bought from ameridroid - $US-5.99 - ROCKPro64 PCI-E X4 To M.2/NGFF NVMe SSD Interface Card
  Reply
#19
(08-20-2018, 12:15 PM)AndyOfLinux Wrote:
(08-20-2018, 11:50 AM)Firesped Wrote: where did people get the screw to mount the m.2 cards?

My PCI card came with the screw in the M.2 2280 position (i.e. end of card furthest away from socket).  I bought from ameridroid - $US-5.99 - ROCKPro64 PCI-E X4 To M.2/NGFF NVMe SSD Interface Card

I bought it straight from PINE64 and it did not come with the screw. when I sent in a support ticket, they reported back it does not come with the screw. I asked what size the screw that fits in it and have not heard back yet on that. that parts I have from my dead gigabyte motherboard and my RPi USB to M.2 do not fit with this though. I had purchased a RPI USB to M.2 adapter to use the NVMe SSD drive on my RPi for a project I was working on in the past.
  Reply
#20
(08-20-2018, 01:41 PM)Firesped Wrote: I bought it straight from PINE64 and it did not come with the screw. when I sent in a support ticket, they reported back it does not come with the screw.

That sounds wrong to me: I have 2 cards, 1 second hand, 1 off fleabay/Hong Kong. Both came with screws.

Whereabouts are you - anywhere close to Reading/UK I have spares.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ADATA XPG SX8200 Pro 2TB NVMe SSD Perf Atch 0 958 04-01-2023, 02:51 PM
Last Post: Atch
  PCIe bifurcation support (on RK3399) Arn 1 1,771 11-28-2022, 05:12 PM
Last Post: tllim
  Support for Refresh rates Above 60 publiclewdness 0 1,502 01-01-2022, 11:40 PM
Last Post: publiclewdness
  Full Size Bracket for the NVME PCI-E Card publiclewdness 0 1,593 12-31-2021, 12:53 AM
Last Post: publiclewdness
  zfs on rockpro64 - any dual nvme PCI adapter for software raid ? romadr 0 2,146 04-22-2021, 02:59 PM
Last Post: romadr
  case for RockPro64 + PCI-E M.2 NVMe Card? AndyOfLinux 9 14,592 01-05-2021, 05:05 PM
Last Post: kuleszdl
  PCI Express x4 Device Support machinevault 4 8,320 07-13-2020, 01:32 PM
Last Post: pgwipeout
  12V 3A power supply and NVMe - PCIe kaylios 3 5,615 08-25-2019, 03:31 AM
Last Post: kaylios
  Need to add various Wifi chipset support slappymcphee 6 9,254 08-15-2019, 05:26 PM
Last Post: evilbunny
  JMicron cipset SATA PCI-E card support Yroth 2 4,504 07-27-2019, 08:52 PM
Last Post: stuartiannaylor

Forum Jump:


Users browsing this thread: 32 Guest(s)