You are not logged in.

#1 2025-05-05 15:07:39

raspy
Member
Registered: 2025-05-05
Posts: 1

Disk I/O sometimes slow after cold boot, fixed by reboot

The issue is only on cold boot, I have restarted after updates multiple times with no issues.

dmesg says nothing. I have the output of a ~1GB dd before and after a reboot as a sanity check:

Before:
jack@archdesk ~ $ dd if=/dev/random of=testfile bs=1024 count=1000000
1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB, 977 MiB) copied, 35.594 s, 28.8 MB/s
jack@archdesk ~ $ dd if=testfile of=testfile2 bs=1024 count=1000000
1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB, 977 MiB) copied, 36.5984 s, 28.0 MB/s

After:
jack@archdesk ~ $ dd if=/dev/random of=testfile3 bs=1024 count=1000000
1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB, 977 MiB) copied, 7.08613 s, 145 MB/s
jack@archdesk ~ $ dd if=testfile3 of=testfile4 bs=1024 count=1000000
1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB, 977 MiB) copied, 5.57611 s, 184 MB/s

My setup does include an external SSD mounted at /run/media/jack/T7, however, my dotfiles and all of my screenshots/recordings go to it, I would like to keep this in my fstab. Would that drive have anything to do with this?

This is extremely tedious to debug as I have to wait overnight for a cold boot, and even then, it's not a guarantee that the issue will occur.

Has anyone here had this issue before? If so, how did you solve it?

Here is inxi -Dxxx for those curious of drive specs, Arch is on /dev/nvme1n1:
Drives:
  Local Storage: total: 3.87 TiB used: 1.11 TiB (28.8%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS500G2B0C-00PXH0
    size: 465.76 GiB speed: 31.6 Gb/s lanes: 4 tech: SSD serial: [snip]
    fw-rev: 211210WD temp: 33.9 C scheme: GPT
  ID-2: /dev/nvme1n1 vendor: Western Digital model: WD BLACK SN770 2TB
    size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: [snip]
    fw-rev: 731130WD temp: 43.9 C scheme: GPT
  ID-3: /dev/nvme2n1 vendor: Western Digital model: WDS500G3X0C-00SJG0
    size: 465.76 GiB speed: 31.6 Gb/s lanes: 4 tech: SSD serial: [snip]
    fw-rev: 102000WD temp: 42.9 C scheme: GPT
  ID-4: /dev/sda vendor: A-Data model: SP900 size: 238.47 GiB
    speed: 6.0 Gb/s tech: SSD serial: [snip] fw-rev: 7a scheme: GPT
  ID-5: /dev/sdb vendor: Samsung model: PSSD T7 size: 931.51 GiB type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 tech: SSD serial: [snip] scheme: MBR

Last edited by raspy (2025-05-05 15:10:14)

Offline

Board footer

Powered by FluxBB