Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I have bought a wd black and I have done a performance test, according to some benchmarks it should have an average write rate of 2gb/s but I have less than 400mb/s.
Hello, I have bought a wd black and I have done a performance test, according to some benchmarks it should have an average write rate of 2gb/s but I have less than 400mb/s.
Attach screenshoot with the benchmark: https://ibb.co/7Vs6Nfj Does anyone know why this happens?
Hard to say..you don't tell us what this drive is plugged in to, what kind of controller, or what version/distro of Linux. Is this a virtual machine or physical? And are you *SURE* you didn't buy a counterfeit device?
You still don't say what this is plugged in to...what brand/model is your computer??? The very basic info you posted isn't much good. The PCIe slot you have may be a slower speed; if it's a PCIe x16, it'll run at 1/16th the speed...until all 16 threads are taken up, and it'll go full speed. And are you using the latest kernel, and have all the patches/updates done??
And again, you were asked if this was a virtual machine or physical, but assuming physical. What kind of file system is on that drive, also??
FYI, If you actually look at data above he does give his computer motherboard :
Code:
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MPG X570S EDGE MAX WIFI (MS-7D53)
And is on Ubuntu 22.04.... Doesn't appear to be in a VM.... Also looks like disk access has overhead of crypt and lvm...
All true....still don't know what brand/model, since some manufacturers have their own BIOS tweaks.
Quote:
Here is Toms Hardware review of the device if that would help look at reviewed speeds:
The NVME drive is probably not the issue...it's the port it's plugged in to, or the kernel version (if patched) that they're running. Known issues with some Ubuntu kernels and NVME, specifically around speed.
You still don't say what this is plugged in to...what brand/model is your computer??? The very basic info you posted isn't much good. The PCIe slot you have may be a slower speed; if it's a PCIe x16, it'll run at 1/16th the speed...until all 16 threads are taken up, and it'll go full speed. And are you using the latest kernel, and have all the patches/updates done??
And again, you were asked if this was a virtual machine or physical, but assuming physical. What kind of file system is on that drive, also??
It is a physical equipment:
CPU: AMD Ryzen 7 5800x3D 8x16.
RAM: 128GB (4x32) Kingston FURY Beast 3200 Mhz.
GPU: XFX Speedster MERC319 AMD Radeon RX 6800 XT Core (16GB GDDR6) with Bios bost switch enabled.
Disk: M.2 WD Black SN 770 (1x1TB for OS, 1x2TB for Steam)
Motherboard: MPG X570S EDGE MAX WIFI (MS-7D53) with Bios updated to last version, XMP Bost profile and UEFI enabled.
Fan: Water cooling Corsair iCUE H100i RGB Pro XT 360mm.
Power suply: 1000W 80+ Gold Full Modular PSU, ES1000.
Screen: 2 LG 32UN550 31.5" UHD 4K. (using xwayland over 200% of zoom from gnome control).
OS: Ubuntu 22.04.2 LTS with xwayland, amdgpu, Linux kernel 5.19.0-38-generic.
Last upgrade: OS 1 day, Bios 2 Month.
Quote:
Post outputs of cat proc/interrupts and fdisk -l
Code:
whk@whk-MS-7D53:~$ sudo fdisk -l
Disco /dev/loop0: 4 KiB, 4096 bytes, 8 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop1: 63,29 MiB, 66359296 bytes, 129608 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop2: 63,32 MiB, 66392064 bytes, 129672 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop3: 72,98 MiB, 76521472 bytes, 149456 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop4: 72,99 MiB, 76537856 bytes, 149488 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop5: 205,84 MiB, 215834624 bytes, 421552 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop6: 346,33 MiB, 363151360 bytes, 709280 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop7: 349,69 MiB, 366673920 bytes, 716160 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/nvme1n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectores
Disk model: WD_BLACK SN770 1TB
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Tipo de etiqueta de disco: gpt
Identificador del disco: 54FAD601-44C1-4000-B8F1-6FE9DB09EE19
Dispositivo Comienzo Final Sectores Tamaño Tipo
/dev/nvme1n1p1 2048 1050623 1048576 512M Sistema EFI
/dev/nvme1n1p2 1050624 4550655 3500032 1,7G Sistema de ficheros de Linux
/dev/nvme1n1p3 4550656 1953523711 1948973056 929,3G Sistema de ficheros de Linux
Disco /dev/nvme0n1: 1,82 TiB, 2000398934016 bytes, 3907029168 sectores
Disk model: WD_BLACK SN770 2TB
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/mapper/nvme1n1p3_crypt: 929,33 GiB, 997857427456 bytes, 1948940288 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/mapper/vgubuntu-root: 927,41 GiB, 995803267072 bytes, 1944928256 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/mapper/vgubuntu-swap_1: 1,91 GiB, 2051014656 bytes, 4005888 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop8: 460,39 MiB, 482750464 bytes, 942872 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop9: 460,57 MiB, 482947072 bytes, 943256 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop10: 91,69 MiB, 96141312 bytes, 187776 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop11: 49,84 MiB, 52260864 bytes, 102072 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop12: 53,24 MiB, 55824384 bytes, 109032 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop13: 304 KiB, 311296 bytes, 608 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Disco /dev/loop14: 428 KiB, 438272 bytes, 856 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
is Toms Hardware review of the device if that would help look at reviewed speeds:
Yes, the reviews says read ~5gb/s and write ~2gb/s but in my case is read ~5gb/s and write to ~360mb/s. The LVM is used for Ubuntu only on other wd black disk (1TB), the benchmark is tested on other disk (2TB for Steam files).
Page 2 of the article referred to in post #6 explains you're getting exactly the same poor extended write performance as experienced in that test - when write cache is saturated, write speed drops down to typical SATA SSD speeds.
cat proc/interrupts looks OK, but fdisk -l shows a disk without any partition. This is very unusual for HDD/SSD. Is this setup required for "gaseous H₂O" aka "steam" or has setup failed on /dev/nvme0n1?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.