SSD performance suddenly drops. Flash motherboard fixes it

Hello,

this issue is not strictly Garuda related, when it happened the first time I was running Manjaro (but with btrfs and most Garuda tweaks enabled, such as zram, etc...) So, a few months ago, my ssd performance (SSD Crucial 1To SATA III - CT1000BX500SSD1 - BX500) suddenly dropped (wrting speed was divided by 40) and resulted in an almost unusable system. I re-formatted the ssd and reinstalled the system (Garuda replacing Manjaro), but no luck. I then had the idea to flash my motherboard (MSI B550M-A Pro), and it worked, I recovered a fast and responsive PC, ssd writing speed back to normal. But since then, this problem has happened 3 or 4 times, the last time this morning. So I re-flashed my mobo (with the same firmware...), and I'm back to normal. But one has to admit this is not a long term solution (I have to re-tweak my bios every time), and I am just writing this message to ask if anyone would have an idea about this weird situtation.

Thanks in advance for any suggestion.

Be sure the firmware in your SSD is up to date, and also run some smartmon tests on the drive.

Test some different kernels as well.

You also need to include your garuda-inxi output on your help request if you wish to receive further assistance.

Edit:

You might also want to save/backup your bios configuration. That way, you could try resetting your bios to the factory default, rather than flashing your bios repeatedly. Flashing your bios is inherently risky, so it's best to minimize the amount of times you have to do this. Perhaps simply resetting the bios will be enough to correct your speed issue, (without resorting to flashing the bios). Either way, saving your bios configuration and then restoring it saves a lot of time and effort reconfiguring your bios.

Are you dual booting Windows?

Is it possible this issue occurs in Linux after booting into Windows?

3 Likes

Thanks. garuda-inxi output below:

System:
  Kernel: 6.0.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=ae317a36-c8b0-4a76-9c00-4d179067a6a8 rw rootflags=subvol=@
    nvidia-drm.modeset=1 quiet splash rd.udev.log_priority=3
    vt.global_cursor_default=0 loglevel=3
  Desktop: Cinnamon v: 5.6.1 tk: GTK v: 3.24.35 wm: muffin vt: 7 dm: LightDM
    v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B550M-A PRO (MS-7C96) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 2.90
    date: 08/11/2022
CPU:
  Info: model: AMD Ryzen 5 1600 bits: 64 type: MT MCP arch: Zen+ gen: 2
    level: v3 note: check built: 2018-21 process: GF 12nm family: 0x17 (23)
    model-id: 8 stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 576 KiB desc: d-6x32 KiB; i-6x64 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 3145 high: 3200 min/max: 1550/3200 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3200 2: 3200
    3: 2613 4: 3200 5: 3132 6: 3200 7: 3200 8: 3200 9: 3200 10: 3200 11: 3200
    12: 3200 bogomips: 76803
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP108 [GeForce GT 1030] vendor: Gigabyte driver: nvidia
    v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 4
    ports: active: none off: HDMI-A-1 empty: DVI-D-1 bus-ID: 2b:00.0
    chip-ID: 10de:1d01 class-ID: 0300
  Device-2: SJ-180517-N 1080P Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-3.1:5 chip-ID: 0806:0806
    class-ID: 0102
  Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 90 s-size: 542x301mm (21.34x11.85")
    s-diag: 620mm (24.41")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled
    model: Idek Iiyama PL2530H serial: <filter> built: 2018 res: 1920x1080
    dpi: 90 gamma: 1.2 size: 544x303mm (21.42x11.93") diag: 623mm (24.5")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6.0 NVIDIA 520.56.06 renderer: NVIDIA GeForce GT
    1030/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: NVIDIA GP108 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel bus-ID: 3-3.1:5 v: kernel chip-ID: 0806:0806 pcie:
    class-ID: 0102 gen: 3 speed: 8 GT/s lanes: 4 bus-ID: 2b:00.1
    chip-ID: 10de:0fb8 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 2d:00.3 chip-ID: 1022:1457 class-ID: 0403
  Device-3: SJ-180517-N 1080P Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Sound API: ALSA v: k6.0.9-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.60 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
    driver: btusb v: 0.8 bus-ID: 3-3.4:7 chip-ID: 0a12:0001 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 2.73 TiB used: 1.23 TiB (45.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT1000BX500SSD1
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 054 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD20EZBX-00AYRA0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: GPT
Partition:
  ID-1: / raw-size: 96 GiB size: 96 GiB (100.00%) used: 29.19 GiB (30.4%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 588 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 835.01 GiB size: 835.01 GiB (100.00%)
    used: 282.48 GiB (33.8%) fs: btrfs dev: /dev/sda3 maj-min: 8:3
  ID-4: /var/log raw-size: 96 GiB size: 96 GiB (100.00%)
    used: 29.19 GiB (30.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 96 GiB size: 96 GiB (100.00%)
    used: 29.19 GiB (30.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.54 GiB used: 1024 KiB (0.0%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 32.2 C mobo: N/A gpu: nvidia temp: 38 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 37%
Info:
  Processes: 382 Uptime: 4h 48m wakeups: 0 Memory: 15.54 GiB
  used: 4.57 GiB (29.4%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 alt: 11 clang: 14.0.6 Packages: 2038
  pm: pacman pkgs: 2004 libs: 527 tools: pamac,paru,yay pm: appimage pkgs: 0
  pm: flatpak pkgs: 22 pm: snap pkgs: 12 Shell: Zsh v: 5.9
  running-in: gnome-terminal inxi: 3.3.23
Garuda (2.6.9-1):
  System install date:     2022-08-13
  Last full system update: 2022-11-24 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper
  Failed units:            


See my above edit, and please answer the questions there. Please report on the results of all suggestions put to you.

Thanks for the suggestion to save the bios config, I'll have a look at this.
I am not dual booting windows. As for updating the SSD firmware, it seems that the only solution is to run their utility from a windows install. I was able to run the program through wine, but it doesn't detect any drive.
Concerning your suggestion to run a different kernel, well, this issue happens like every 6 weeks, and I am satisfied with the zen kernel. I would have to run another kernel continuously for two ot three months to have an answer. Not easy.
Finally:

sudo smartctl -l selftest /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.0.9-zen1-1-zen] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      3056         -
# 2  Short offline       Completed without error       00%      2841         -
# 3  Short offline       Completed without error       00%      2839         -
# 4  Short offline       Completed without error       00%        59         -

From crucial website:

Crucial BX500 firmware updates

No firmware updates at this time.

smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.0.9-zen1-1-zen] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT1000BX500SSD1
Serial Number:    2138E5D4D5DF
LU WWN Device Id: 5 00a075 1e5d4d5df
Firmware Version: M6CR054
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        In smartctl database 7.3/5319
ATA Version is:   ACS-3 T13/2161-D revision 4
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Nov 24 18:33:15 2022 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  120) seconds.
Offline data collection
capabilities: 			 (0x11) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					No Selective Self-test supported.
SMART capabilities:            (0x0002)	Does not save SMART data before
					entering power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  10) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0032   100   100   010    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       3609
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       952
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   094   094   000    Old_age   Always       -       67
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       25
180 Unused_Reserve_NAND_Blk 0x0033   100   100   000    Pre-fail  Always       -       12
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   074   050   000    Old_age   Always       -       26 (Min/Max 19/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_ECC_Cnt 0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       1
202 Percent_Lifetime_Remain 0x0030   094   094   001    Old_age   Offline      -       6
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       30869642774
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       964676336
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       1618459712
249 Unkn_CrucialMicron_Attr 0x0032   100   100   000    Old_age   Always       -       0
250 Read_Error_Retry_Rate   0x0032   100   100   000    Old_age   Always       -       0
251 Unkn_CrucialMicron_Attr 0x0032   100   100   000    Old_age   Always       -       564880609
252 Unkn_CrucialMicron_Attr 0x0032   100   100   000    Old_age   Always       -       23
253 Unkn_CrucialMicron_Attr 0x0032   100   100   000    Old_age   Always       -       0
254 Unkn_CrucialMicron_Attr 0x0032   100   100   000    Old_age   Always       -       58
223 Unkn_CrucialMicron_Attr 0x0032   100   100   000    Old_age   Always       -       1

SMART Error Log not supported

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      3056         -
# 2  Short offline       Completed without error       00%      2841         -
# 3  Short offline       Completed without error       00%      2839         -
# 4  Short offline       Completed without error       00%        59         -

Selective Self-tests/Logging not supported

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.