Announcement

Collapse
No announcement yet.

M.2 SSD NVMe Support

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    M.2 SSD NVMe Support

    Chicken superstition drives me to ask this question:

    Q1 Is there any problem installing and running Kubuntu onto ...

    ... an M.2 device (plugs into a mobo slot)?
    This is about PCIe mode (or called NVMe support), right?
    Kingston says the latest Linux supports this, correct, or any issues?

    ... an SSD (standard SATA)?
    Probably OK, right?, with the older SATA config.

    Q2 If you have done so ...
    Any problem recognizing such devices (e.g., in gparted? or while installing the OS?, or when listing devices at Konsole?, etc.)

    = = = = = = = = = =
    Details shouldn't matter, I don't think, but ... building a new mainstream desktop PC ... I may do away with the spinning platter HDDs (for now, unless/until I need great cheap archival storage).
    In the conceptual planning phase:

    Motherboard
    ASUS PRIME Z490-A Motherboard Intel, Z490 (LGA 1200) ATX motherboard with dual M.2

    CPU
    Intel Core i7-10700 Comet Lake 8-Core 2.9 GHz LGA 1200 65W BX8070110700 Desktop Processor Intel UHD Graphics 630

    M.2
    Crucial P5 500GB PCIe M.2 2280SS SSD
    500GB M.2 SSD , PCIe NVMe Gen 3 , 3400 MB/s Read, 3000 MB/s Write
    Last edited by Qqmike; May 17, 2021, 07:22 PM.
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    #2
    No problems here running Kubuntu 20.04 on a standard SATA3 SSD (Kingston).

    Comment


      #3
      No issues, I have nvme's on two different machines. And Sata ssds on them as well. Other than the funky partition names for the m.2's (/dev/nvme0n1p1 for example) it all shows up and works identically to any other drive.
      Then there is the Speeeeeeeeeeedddd!!!!! esp. with the m.2.


      Click image for larger version

Name:	5UsD.gif
Views:	1
Size:	988.0 KB
ID:	645142
      Last edited by claydoh; May 16, 2021, 10:29 AM.

      Comment


        #4
        Great! Thanks, claydoh. And thanks for the heads-up on the partition names, too -- there's probably some logic to it, I'll look into it. Speed: ha! cool. SSDs are faster than HDDs but still use SATA lanes; but I understand that M.2's are lightening fast.

        My last build was 2015. I got 6 years behind on technology, trying to catch up so I can order the components.
        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment


          #5
          Thanks, exter!
          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

          Comment


            #6
            If you have not ordered the m.2, usually the bigger the capacity the faster the drive, at least to some extent.
            I do wish I had replaced my 256 Gb for a 1Tb, but I decided to spend the money on a keyboard...
            I needed one of those more than I need a bigger drive, tbh.

            Comment


              #7
              My Acer was built in 2012. It has an Nvidia GT650M GPU and an Intel i7 CPU with 8 core. While running on EXT4 on a spinner and using nouveau as the xserver my time from boot up to a working desktop, not counting POST, varied between 90-190 seconds. Then the Nvidia-340 proprietary driver was released, and, I replaced my spinner with a 500Mb SSD. Since then my time to a working desktop, not counting POST (which is about 25 seconds) varies between 5 and 7 seconds. Some services would run at boot up and add 20-30 seconds onto my time, but I edited their unit files to force them to wait 30-60 seconds after the desktop was reached.

              Typically, here is my boot time:
              $ systemd-analyze
              Startup finished in 2.782s (kernel) + 3.746s (userspace) = 6.529s
              graphical.target reached after 3.734s in userspace
              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
              – John F. Kennedy, February 26, 1962.

              Comment


                #8
                Thanks GreyGeek. Claydoh, thanks. I have not bought anything yet, no real hurry, and I also need everything -- kb, speakers, bigger screen, etc. But, also, with my 500 GB HDD, look at how I am NOT even using it:

                Code:
                [FONT=monospace][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ df -hT [/COLOR]
                Filesystem     Type      Size  Used Avail Use% Mounted on 
                udev           devtmpfs  3.9G     0  3.9G   0% /dev 
                tmpfs          tmpfs     786M  1.4M  784M   1% /run 
                /dev/sda2      ext4       39G   11G   26G  [COLOR=#ff0000]31% / [/COLOR]
                tmpfs          tmpfs     3.9G  632K  3.9G   1% /dev/shm 
                tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock 
                tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup 
                /dev/sda1      vfat      500M  7.7M  492M   [COLOR=#ff0000]2% /boot/efi [/COLOR]
                /dev/sda3      ext4       96G  8.7G   83G  [COLOR=#ff0000]10% /home [/COLOR]
                tmpfs          tmpfs     786M   20K  786M   1% /run/user/1000
                [/FONT]
                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                Comment


                  #9
                  My Lenovo Ideacentre came with a 256Gb NVMe drive with Win 10 preinstalled and a 1Tb HDD. I shrank the Win partition down my 60Gb and installed Neon and both work just fine!
                  Constant change is here to stay!

                  Comment


                    #10
                    Thanks for that info, Beerislife
                    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                    Comment


                      #11
                      FYI, NVME on PCIe 4.0 (AMD only boards at this point) are about 25% faster than 3.0. Still 3.0 here:

                      stuart@office:~$ sudo hdparm -tT --direct /dev/nvme0n1

                      /dev/nvme0n1:
                      Timing O_DIRECT cached reads: 4200 MB in 2.00 seconds = 2101.42 MB/sec
                      HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
                      Timing O_DIRECT disk reads: 8348 MB in 3.00 seconds = 2782.57 MB/sec


                      Please Read Me

                      Comment


                        #12
                        Originally posted by Qqmike View Post
                        Thanks GreyGeek. Claydoh, thanks. I have not bought anything yet, no real hurry, and I also need everything -- kb, speakers, bigger screen, etc. But, also, with my 500 GB HDD, look at how I am NOT even using it:

                        Code:
                        [FONT=monospace][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ df -hT [/COLOR]
                        Filesystem     Type      Size  Used Avail Use% Mounted on 
                        udev           devtmpfs  3.9G     0  3.9G   0% /dev 
                        tmpfs          tmpfs     786M  1.4M  784M   1% /run 
                        /dev/sda2      ext4       39G   11G   26G  [COLOR=#ff0000]31% / [/COLOR]
                        tmpfs          tmpfs     3.9G  632K  3.9G   1% /dev/shm 
                        tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock 
                        tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup 
                        /dev/sda1      vfat      500M  7.7M  492M   [COLOR=#ff0000]2% /boot/efi [/COLOR]
                        /dev/sda3      ext4       96G  8.7G   83G  [COLOR=#ff0000]10% /home [/COLOR]
                        tmpfs          tmpfs     786M   20K  786M   1% /run/user/1000
                        [/FONT]
                        Here's my SSD layout:
                        Code:
                        $ df -hT 
                        Filesystem     Type      Size  Used Avail Use% Mounted on
                        udev           devtmpfs  7.7G     0  7.7G   0% /dev
                        tmpfs          tmpfs     1.6G  1.6M  1.6G   1% /run
                        /dev/sda1      btrfs     466G  136G  330G  [COLOR=#ff0000]30% /[/COLOR]
                        tmpfs          tmpfs     7.8G     0  7.8G   0% /dev/shm
                        tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                        tmpfs          tmpfs     7.8G     0  7.8G   0% /sys/fs/cgroup
                        tmpfs          tmpfs     1.6G   16K  1.6G   1% /run/user/1000
                        but I don't have a @home subvolume. My /home is in @
                        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                        – John F. Kennedy, February 26, 1962.

                        Comment


                          #13
                          Yep. Work great here on my HP laptop:
                          Code:
                          df -h
                          Filesystem      Size  Used Avail Use% Mounted on
                          udev            5.7G     0  5.7G   0% /dev
                          tmpfs           1.2G  2.1M  1.2G   1% /run
                          /dev/nvme0n1p2   28G  8.3G   18G  32% /
                          tmpfs           5.8G  948K  5.8G   1% /dev/shm
                          tmpfs           5.0M  4.0K  5.0M   1% /run/lock
                          tmpfs           5.8G     0  5.8G   0% /sys/fs/cgroup
                          /dev/nvme0n1p3  426G  269G  136G  67% /home
                          /dev/nvme0n1p1   93M  7.9M   85M   9% /boot/efi
                          tmpfs           1.2G   20K  1.2G   1% /run/user/1000
                          The next brick house on the left
                          Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.24.7 | Kubuntu 22.04.4 | 6.5.0-28-generic


                          Comment


                            #14
                            Thanks oshunluvr, GreyGeek, jglen. oshunluvr, having only used HDD platters, I think I will be thrilled with 3.0 (Intel)! In fact, I'm (still) thrilled with my old HDD, truth be known -- thanks for the speed calcs. And GG and jglen thanks for the output examples -- answers my concerns about being able to identify these puppies as (old school) "disks" (SATA SSDs & M.2s) ... i.e., no need for an E.E. degree or anything!
                            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                            Comment


                              #15
                              I took the "long, strange trip" from nothing but HDDs to SSD/HDD to nothing but SSDs, and now to an m.2. Quite frankly the only reason I went with an m.2 is because of Christmas and my new HP laptop. The laptop came with an m.2 NVME/Optane hybrid (and Windows 10). I bought another m.2 that was not Optane and put Kubuntu on it. The Windows drive is sitting in a box in my closet until the laptop's warranty expires!

                              I have a perfectly workable desktop that has two SSDs and Kubuntu, but it's on sabbatical right now. Only so much desk space
                              The next brick house on the left
                              Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.24.7 | Kubuntu 22.04.4 | 6.5.0-28-generic


                              Comment

                              Working...
                              X