public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on
Date: Wed, 19 Apr 2023 10:14:53 -0700	[thread overview]
Message-ID: <CAK2H+ed+Oi_XD0OTnWqiNY9Kw1U9_wo9xwRy-H6aCYffJj3=cA@mail.gmail.com> (raw)
In-Reply-To: <2703063.mvXUDI8C0e@wstn>

[-- Attachment #1: Type: text/plain, Size: 3424 bytes --]

On Wed, Apr 19, 2023 at 3:35 AM Peter Humphrey <peter@prh.myzen.co.uk>
wrote:
>
> On Wednesday, 19 April 2023 09:00:33 BST Nikos Chantziaras wrote:
>
> > With my HDD:
> >
> >    # smartctl -x /dev/sda | grep -i 'sector size'
> >    Sector Sizes:     512 bytes logical, 4096 bytes physical
>
> Or, with an NVMe drive:
>
> # smartctl -x /dev/nvme1n1 | grep -A2 'Supported LBA Sizes'
> Supported LBA Sizes (NSID 0x1)
> Id Fmt  Data  Metadt  Rel_Perf
>  0 +     512       0         0
>

That command, on my system anyway, does pick up all the
LBA sizes:

1) Windows - 1TB Sabrent:

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
0 +     512       0         2
1 -    4096       0         1

Data Units Read:                    8,907,599 [4.56 TB]
Data Units Written:                 4,132,726 [2.11 TB]
Host Read Commands:                 78,849,158
Host Write Commands:                55,570,509

Error Information (NVMe Log 0x01, 16 of 63 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
 0       1406     0  0x600b  0x4004  0x028            0     0     -

2) Kubuntu - 1TB Crucial

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
0 +     512       0         1
1 -    4096       0         0

Data Units Read:                    28,823,498 [14.7 TB]
Data Units Written:                 28,560,888 [14.6 TB]
Host Read Commands:                 137,865,594
Host Write Commands:                209,406,594

Error Information (NVMe Log 0x01, 16 of 16 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
 0       1735     0  0x100c  0x4005  0x028            0     0     -

3) Scratch pad - 128GB SSSTC (No name) M.2 chip mounted on Joylifeboard
PCIe card

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
0 +     512       0         0

Data Units Read:                    363,470 [186 GB]
Data Units Written:                 454,447 [232 GB]
Host Read Commands:                 2,832,367
Host Write Commands:                2,833,717

Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

NOTE: When I first got interested in M.2 I bought a PCI Express
card and an M.2 chip just to use for a while with Astrophotography
files which tend to be 24MB coming out of my camera but grow
to possibly 1GB as processing occurs. Total cost was about
$30 and might be a possible solution for Gentoo users who
want a faster scratch pad for system updates. Even this
second rate hardware has been reliable and it pretty fast:

https://www.amazon.com/gp/product/B09K4YXN33
https://www.amazon.com/gp/product/B08ZB6YVPW

mark@science2:~$ sudo hdparm -tT /dev/nvme2n1
/dev/nvme2n1:
Timing cached reads:   48164 MB in  1.99 seconds = 24144.06 MB/sec
Timing buffered disk reads: 1210 MB in  3.00 seconds = 403.08 MB/sec
mark@science2:~$

Although not as fast as M.2 on the MB where the Sabrent M.2 blows
away the Crucial M.2

mark@science2:~$ sudo hdparm -tT /dev/nvme0n1

/dev/nvme0n1:
Timing cached reads:   47660 MB in  1.99 seconds = 23890.55 MB/sec
Timing buffered disk reads: 5452 MB in  3.00 seconds = 1817.10 MB/sec
mark@science2:~$ sudo hdparm -tT /dev/nvme1n1

/dev/nvme1n1:
Timing cached reads:   47310 MB in  1.99 seconds = 23714.77 MB/sec
Timing buffered disk reads: 1932 MB in  3.00 seconds = 643.49 MB/sec
mark@science2:~$

[-- Attachment #2: Type: text/html, Size: 4169 bytes --]

  reply	other threads:[~2023-04-19 17:15 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-15 22:47 [gentoo-user] Finally got a SSD drive to put my OS on Dale
2023-04-15 23:24 ` Mark Knecht
2023-04-15 23:44   ` thelma
2023-04-16  1:47 ` William Kenworthy
2023-04-16  7:18   ` Peter Humphrey
2023-04-16  8:43     ` William Kenworthy
2023-04-16 15:08       ` Mark Knecht
2023-04-16 15:29         ` Dale
2023-04-16 16:10           ` Mark Knecht
2023-04-16 16:54             ` Dale
2023-04-16 18:14               ` Mark Knecht
2023-04-16 18:53                 ` Dale
2023-04-16 19:30                   ` Mark Knecht
2023-04-16 22:26                     ` Dale
2023-04-16 23:16                       ` Frank Steinmetzger
2023-04-17  1:14                         ` Dale
2023-04-17  9:40                           ` Wols Lists
2023-04-17 17:45                             ` Mark Knecht
2023-04-18  0:35                               ` Dale
2023-04-18  8:03                               ` Frank Steinmetzger
2023-10-07  7:22                         ` Dale
2023-04-16 17:46         ` Jorge Almeida
2023-04-16 18:07         ` Frank Steinmetzger
2023-04-16 20:22           ` Mark Knecht
2023-04-16 22:17             ` Frank Steinmetzger
2023-04-17  0:34               ` Mark Knecht
2023-04-18 14:52 ` [gentoo-user] " Nikos Chantziaras
2023-04-18 15:05   ` Dale
2023-04-18 15:36     ` Nikos Chantziaras
2023-04-18 20:01       ` Dale
2023-04-18 20:53         ` Wol
2023-04-18 22:13           ` Frank Steinmetzger
2023-04-18 23:08             ` Wols Lists
2023-04-19  1:15               ` Dale
2023-04-18 20:57         ` Mark Knecht
2023-04-18 21:15           ` Dale
2023-04-18 21:25             ` Mark Knecht
2023-04-19  1:36               ` Dale
2023-04-18 22:18     ` Frank Steinmetzger
2023-04-18 22:41       ` Frank Steinmetzger
2023-04-19  1:45       ` Dale
2023-04-19  8:00         ` Nikos Chantziaras
2023-04-19  9:42           ` Dale
2023-04-19 10:34           ` Peter Humphrey
2023-04-19 17:14             ` Mark Knecht [this message]
2023-04-19 17:59             ` Dale
2023-04-19 18:13               ` Mark Knecht
2023-04-19 19:26                 ` Dale
2023-04-19 19:38                   ` Nikos Chantziaras
2023-04-19 20:00                     ` Mark Knecht
2023-04-19 22:13                       ` Frank Steinmetzger
2023-04-19 23:32                         ` Dale
2023-04-20  1:09                           ` Mark Knecht
2023-04-20  4:23                             ` Dale
2023-04-20  4:41                               ` eric
2023-04-20  9:48                                 ` Dale
2023-04-20 23:02                               ` Wol
2023-04-20  8:55                             ` Frank Steinmetzger
2023-04-20  8:52                           ` Frank Steinmetzger
2023-04-20  9:29                             ` Dale
2023-04-20 10:08                               ` Peter Humphrey
2023-04-20 10:59                                 ` Dale
2023-04-20 13:23                                   ` Nikos Chantziaras
2023-04-20 12:23                               ` Frank Steinmetzger
2023-04-20  9:46               ` Peter Humphrey
2023-04-20  9:49                 ` Dale
2023-04-18 17:52   ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK2H+ed+Oi_XD0OTnWqiNY9Kw1U9_wo9xwRy-H6aCYffJj3=cA@mail.gmail.com' \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox