Is PCIE x4 bootable for NVMe SSD under Linux
#35
Smile 
OK - got rootfs on NVMe and 4.18 kernel:


Code:
$ uname -a
Linux rpro64.dukla.net 4.18.0-rc8-1060-ayufan-g45828c4db727 #1 SMP PREEMPT Thu Aug 9 19:41:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
chris@rpro64:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            982M     0  982M   0% /dev
tmpfs           199M  636K  199M   1% /run
/dev/nvme0n1p1  117G  7.4G  104G   7% /
tmpfs           994M   58M  936M   6% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           994M     0  994M   0% /sys/fs/cgroup
/dev/mmcblk0p6  112M  4.0K  112M   1% /boot/efi
tmpfs           199M  4.0K  199M   1% /run/user/1000

And yup, that NVMe is quicker than under 4.4:

Code:
$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
    Iozone: Performance Test of File I/O
            Version $Revision: 3.429 $
        Compiled for 64 bit mode.
        Build: linux

    Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                 Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                 Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                 Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                 Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                 Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                 Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                 Vangel Bojaxhi, Ben England, Vikentsi Lapa.

    Run began: Wed Aug 15 21:44:08 2018

    Include fsync in write timing
    O_DIRECT feature enabled
    Auto Mode
    File size set to 102400 kB
    Record Size 4 kB
    Record Size 16 kB
    Record Size 512 kB
    Record Size 1024 kB
    Record Size 16384 kB
    Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
    Output is in kBytes/sec
    Time Resolution = 0.000001 seconds.
    Processor cache size set to 1024 kBytes.
    Processor cache line size set to 32 bytes.
    File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4    63115   109487   126839   120045    52068   140978                                                          
          102400      16   225493   319486   335585   347588   122025   321304                                                          
          102400     512   723276   737359   901821   973829   807431   735093                                                          
          102400    1024   720335   739367   924279  1004689   926714   735601                                                          
          102400   16384   510442   732234  1308627  1466939  1448327   734839                                                          

iozone test complete.
Will post instructions in the Tutorial sub-forum shortly.
  • 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


Messages In This Thread
RE: Is PCIE x4 bootable for NVMe SSD under Linux - by dukla2000 - 08-15-2018, 02:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 1,880 11-20-2024, 03:53 PM
Last Post: mara
  RK3399 PCIe enumeration jhadd 0 523 01-31-2024, 08:56 AM
Last Post: jhadd
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 1,498 09-22-2023, 04:27 AM
Last Post: diederik
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,289 07-14-2023, 04:22 AM
Last Post: hunderteins
  Linux laptop does not detect the board when plugged in via USB soupy 1 4,490 04-13-2023, 03:01 AM
Last Post: Reynold Grady
  Can RockPRO64 support PCIe Endpoint? andrewg132 3 2,890 10-14-2022, 06:24 AM
Last Post: rwk-
  RockPro64 linux console video mode callegar 0 1,135 09-06-2022, 02:32 PM
Last Post: callegar
Brick Maintained Linux booting from eMMC ootoovak 10 9,919 04-30-2022, 03:57 PM
Last Post: TRS-80
  How I Got Fedora Linux to Boot From eMMC (or microSD, for that matter) whitecat23 4 5,375 01-03-2022, 10:32 AM
Last Post: whitecat23
  No PCIe controller detected... Limhes 1 1,931 11-23-2021, 06:23 AM
Last Post: Limhes

Forum Jump:


Users browsing this thread: 21 Guest(s)