Often when downloading a game on steam my nvme drive gets pinned at 100% IO usage and my whole DE (gnome) can lock up at times. Is there a way to limit it so that this never happens?

  • fuckwit_mcbumcrumble@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    20
    ·
    7 days ago

    If it’s just steam you can limit your download speed. But 100Mbps is already pretty slow. Is your SSD throttling or failing? Or is the non cache write speed just really that bad?

  • nublug@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    10
    ·
    7 days ago

    you can try changing your io scheduler: https://wiki.archlinux.org/title/Improving_performance#Input/output_schedulers

    i think by default ssd and nvme drives get ‘none’ as they should be fast enough to just take first come first serve and get everything done, however in certain cases like this you can get bogged down by a single thing hogging the drive for a long time. i’d recommend ‘kyber’, it’ll treat io requests similar to network requests and give requests tokens that ensure everything requesting io gets the io within reasonably responsive timeframes. note: this will slow your single task read/write speed, but only a tiny bit and it’s worth it for other things being able to use disk while it’s being hogged like on a game update.

  • wr2623@midwest.social
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 days ago

    Did you check memory usage at the same time? Install would certainly be IO intensive but probably shouldn’t max out a decent nvme drive.

    If you ran out of ram due to the games installer and you started swapping that could quickly max out IO and DEs tend to stall quickly when the system is short on ram which also matches your symptoms.

  • Brosplosion@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 days ago

    I had this happen shortly before I had an SSD failure. How old is the drive? Check the SMART health if the drive is capable.

  • Classy Hatter@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 days ago

    Have you tried to limit the download speed? Steam needs to write the downloaded data on the disk. If it downloads less, it should write less.