Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

Yet another new inxi feature: disk speeds!

Message
Author
User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Yet another new inxi feature: disk speeds!

#1 Post by h2-1 »

If anyone wants to test the new feature, which is in the pinxi branch, I'd appreciate it.

shortcut pinxi install (from github): wget smxi.org/pinxi
update to existing pinxi: pinxi -U

Show: pinxi -Mdxxxzy80

so the board can be compared to the reported drive speeds. Sometimes board physical speed max is the speed listed, sometimes the device physical speed max, even if faster than board speed, is listed.

Very old systems I believe in general will not work, because they don't have the /sys data that is used, that's old as in operating systems. /dev/hda, that is, not /dev/sda is the usual indicator I think. But old systems are of interest since I think the newer stuff tends to be the same or similar.

I've found so far some corner cases, with ata drives, and I think covered nvme drives, which require different logic in a significant way (nvme speeds are not like ata speeds, they are per lane, and actually are separate read / write within a lane, so the speeds require math, and to make matters more tricky, PCIe 1 and 2 have actual data speeds per lane of 80% of total, and PCIe 3 and greater have about 98.5% of total speed for data).

I'm a bit skeptical of my logic there, but it conforms with the nvme specs etc, but it did not match vendor specs in some cases, so that's confusing, but it's also due to the oddities of how Gbps vs MB/s can be re reporting and actual data rates.

Note that as far as I can tell, USB will not currently work with this method, and mmcblk devices (sd cards mostly) also do not work. I checked mmscblk data and there is no speed there to find. USB I'm not positive about yet, but so far I didn't find an obvious way to connect the drive to any type of speed listing without getting into real usb processing, which I'd rather not do for a simple feature like this.

Samples (normal system, and an nvme example:

Code: Select all

pinxi -Dxxxzy80
Drives:
  HDD Total Size: 1.15 TiB used: 395.22 GiB (33.6%) 
  ID-1: /dev/sda vendor: Intel model: SSDSC2BW180A4 size: 167.68 GiB 
  speed: 3.0 Gb/s serial: <filter> rev: DC32 scheme: MBR 
  ID-2: /dev/sdb vendor: Western Digital model: WD1003FZEX-00MK2A0 
  size: 931.51 GiB speed: 3.0 Gb/s serial: <filter> rev: 1A01 temp: 29 C 
  scheme: GPT 
  ID-3: /dev/sdc vendor: Seagate model: ST380817AS size: 74.53 GiB 
  speed: 1.5 Gb/s serial: <filter> rev: 3.42 temp: 35 C scheme: MBR 
  ID-4: /dev/sdd type: USB vendor: Verbatim model: STORE N GO size: 3.63 GiB 
  serial: <filter> rev: 5.00 scheme: MBR

Drives:    HDD Total Size: 484.15 GiB used: 144.09 GiB (29.8%) 
         ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 960 PRO 512GB size: 476.94 GiB 
         speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 1B6QCXP7 scheme: GPT 
         ID-2: /dev/sdc type: USB vendor: Generic model: STORAGE DEVICE size: 7.21 GiB 
         serial: <filter> rev: 0551 scheme: MBR 
Last edited by h2-1 on Fri May 18, 2018 4:25 pm, edited 2 times in total.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
Adrian
Developer
Posts: 8230
Joined: Wed Jul 12, 2006 1:42 am

Re: Yet another new inxi feature: disk speeds!

#2 Post by Adrian »

Thanks! I got this, seems to be working, it's interesting that my SSD seems to be doing 3.0 Gb/s although it's a SATA III device... not sure why.

Code: Select all

Drives:
  HDD Total Size: 577.55 GiB used: 106.15 GiB (18.4%) 
  ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-75U6AA0 
  size: 465.76 GiB speed: 6.0 Gb/s serial: <filter> rev: 1H20 temp: 32 C 
  scheme: GPT 
  ID-2: /dev/sdb vendor: A-Data model: SU700 size: 111.79 GiB speed: 3.0 Gb/s 
  serial: <filter> rev: 428a temp: 30 C scheme: GPT 

User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Re: Yet another new inxi feature: disk speeds!

#3 Post by h2-1 »

Oh, I forgot to mention, the reported speeds are somewhat inconsistent, most cases appear to report the theoretical fastest speed the system board will handle, so if you have a sata 2 board with a sata 3 drive, it usually, but not always, shows as the sata 2 speed. To make matters more amusing, sometimes it does show at the sata 3 speeds on a sata 2 board. I haven't seen enough examples yet to see which is the more likely outcome.

Showing: pinxi -Mdxxxz will help see if which is the case.
Last edited by h2-1 on Fri May 18, 2018 4:26 pm, edited 1 time in total.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
stsoh
Posts: 183
Joined: Sun Aug 20, 2017 10:11 am

Re: Yet another new inxi feature: disk speeds!

#4 Post by stsoh »

Code: Select all

$ pinxi -Dxxxzy80
Drives:
  HDD Total Size: 3.75 TiB used: 1.87 TiB (49.8%) 
  ID-1: /dev/sda vendor: Toshiba model: Q300 size: 111.79 GiB speed: <unknown> 
  serial: <filter> rev: 11.2 temp: 34 C scheme: MBR 
  ID-2: /dev/sdb vendor: Toshiba model: DT01ACA200 size: 1.82 TiB 
  speed: <unknown> serial: <filter> rev: ABB0 temp: 36 C scheme: MBR 
  ID-3: /dev/sdc vendor: Toshiba model: DT01ACA200 size: 1.82 TiB 
  speed: <unknown> serial: <filter> rev: ABB0 temp: 36 C scheme: MBR 
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Re: Yet another new inxi feature: disk speeds!

#5 Post by h2-1 »

Ah, good, I was debating whether to filter out the actual value provided or not, I'm glad I decided not to. <unknown> is the value found on the size file. If there was no value there, or if the file did not exist, no speed: item shows at all.

So that means the match worked, but there are no speeds available for those drives.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
Adrian
Developer
Posts: 8230
Joined: Wed Jul 12, 2006 1:42 am

Re: Yet another new inxi feature: disk speeds!

#6 Post by Adrian »

h2-1 wrote: Fri May 18, 2018 4:23 pm Oh, I forgot to mention, the reported speeds are somewhat inconsistent, most cases appear to report the theoretical fastest speed the system board will handle, so if you have a sata 2 board with a sata 3 drive, it usually, but not always, shows as the sata 2 speed. To make matters more amusing, sometimes it does show at the sata 3 speeds on a sata 2 board. I haven't seen enough examples yet to see which is the more likely outcome.

Showing: pinxi -Mdxxxz will help see if which is the case.
I think my Mobo should do SATA III (at least that's what I found when I looked online for this model)

Code: Select all

Machine:   Type: Desktop System: Dell product: OptiPlex 7010 v: 01 serial: <filter> Chassis: type: 15 
           serial: <filter> 
           Mobo: Dell model: 0WR7PY v: A03 serial: <filter> UEFI: Dell v: A26 date: 12/28/2017 
Drives:    HDD Total Size: 577.55 GiB used: 106.15 GiB (18.4%) 
           ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-75U6AA0 size: 465.76 GiB speed: 6.0 Gb/s 
           serial: <filter> rev: 1H20 temp: 33 C scheme: GPT 
           ID-2: /dev/sdb vendor: A-Data model: SU700 size: 111.79 GiB speed: 3.0 Gb/s serial: <filter> 
           rev: 428a temp: 31 C scheme: GPT 
           Message: No Optical or Floppy data was found.
Maybe I connected the second disk to a slower SATA port? :confused:

User avatar
stsoh
Posts: 183
Joined: Sun Aug 20, 2017 10:11 am

Re: Yet another new inxi feature: disk speeds!

#7 Post by stsoh »

my desktop is sata 2 motherboard with a sata 3 drives.

Code: Select all

$ pinxi -Mdxxxz
Machine:   Type: Desktop Mobo: MSI model: G41M-P33 Combo(MS-7592) v: 7.0 serial: <filter> 
           BIOS: American Megatrends v: 32.13 date: 11/06/2014 
Drives:    HDD Total Size: 3.75 TiB used: 1.87 TiB (49.8%) 
           ID-1: /dev/sda vendor: Toshiba model: Q300 size: 111.79 GiB speed: <unknown> 
           serial: <filter> rev: 11.2 temp: 33 C scheme: MBR 
           ID-2: /dev/sdb vendor: Toshiba model: DT01ACA200 size: 1.82 TiB speed: <unknown> 
           serial: <filter> rev: ABB0 temp: 36 C scheme: MBR 
           ID-3: /dev/sdc vendor: Toshiba model: DT01ACA200 size: 1.82 TiB speed: <unknown> 
           serial: <filter> rev: ABB0 temp: 36 C scheme: MBR 
           Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GH22NS50 rev: TN03 
           dev-links: cdrom,cdrw,dvd,dvdrw 
           Features: speed: 48 multisession: yes audio: yes dvd: yes 
           rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Last edited by stsoh on Fri May 18, 2018 4:38 pm, edited 1 time in total.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

User avatar
richb
Administrator
Posts: 10306
Joined: Wed Jul 12, 2006 2:17 pm

Re: Yet another new inxi feature: disk speeds!

#8 Post by richb »

Code: Select all

pinxi -Dxxxzy80
Drives:
  HDD Total Size: 1.03 TiB used: 180.09 GiB (17.1%) 
  ID-1: /dev/sda vendor: Seagate model: ST3320820SCE size: 298.09 GiB 
  speed: 3.0 Gb/s serial: <filter> rev: E scheme: GPT 
  ID-2: /dev/sdb vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 2B6Q scheme: GPT 
  ID-3: /dev/sdc vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 2B6Q scheme: GPT 
  ID-4: /dev/sdd vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 2B6Q scheme: MBR 
  ID-5: /dev/sde type: USB vendor: SanDisk model: Extreme size: 58.43 GiB 
  serial: <filter> rev: 0001 scheme: MBR 
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

jbMacAZ
Posts: 61
Joined: Tue Aug 22, 2017 2:08 am

Re: Yet another new inxi feature: disk speeds!

#9 Post by jbMacAZ »

Code: Select all

john@LapLet:~$ pinxi -Mdxxxzy80
Machine:
  Type: Laptop System: ASUSTeK product: T100CHI v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: T100CHI v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: T100CHI.206 date: 09/25/2015 
Drives:
  HDD Total Size: 1.99 TiB used: 572.07 GiB (28.0%) 
  ID-1: /dev/mmcblk0 vendor: SanDisk model: AFGCE size: 59.48 GiB 
  serial: <filter> scheme: GPT 
  ID-2: /dev/mmcblk2 vendor: Samsung model: MCG8GC size: 58.24 GiB 
  serial: <filter> rev: 0x7 scheme: GPT 
  ID-3: /dev/sda type: USB vendor: Samsung model: Flash Drive DUO 
  size: 59.75 GiB serial: <filter> rev: 1100 scheme: MBR 
  ID-4: /dev/sdb type: USB vendor: Seagate model: BUP Slim BK size: 1.82 TiB 
  serial: <filter> rev: 0304 scheme: MBR 
  Message: No Optical or Floppy data was found. 
MX-18 on Asus T100CHI (z3775 Intel baytrail) mixed-mode 32 bit UEFI, 64 bit OS
Dell 3250 Inspiron desktop, i5-6400, 64 bit OS

User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Re: Yet another new inxi feature: disk speeds!

#10 Post by h2-1 »

stsoh, in your case, the <unknown> value is not inxi generated, it's the actual literal value the system provided. I hadn't seen that many ssd or spinning disks report that value, but it means a match was made, the file existed, and had that value, so no speeds for you! heh.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

Post Reply

Return to “antiX”