Skip Navigation
Is there a way to keep Linux responsive when at ~100% CPU usage?
  • I would agree, and would bring awareness of ionice into the conversation for the readers - it can help control I/O priority to your block devices in the case of write-heavy workloads, possibly compiler artifacts etc.

  • Is there a way to keep Linux responsive when at ~100% CPU usage?
  • The Linux kernel uses the CPU default scheduler, CFS, a mode that tries to be fair to all processes at the same time - both foreground and background - for high throughput. Abstractly think "they never know what you intend to do" so it's sort of middle of the road as a default - every CPU cycle of every process gets a fair tick of work unless they've been intentionally nice'd or whatnot. People who need realtime work (classic use is for audio engineers who need near-zero latency in their hardware inputs like a MIDI sequencer, but also embedded hardware uses realtime a lot) reconfigure their system(s) to that to that need; for desktop-priority users there are ways to alter the CFS scheduler to help maintain desktop responsiveness.

    Have a look to Github projects such as this one to learn how and what to tweak - not that you need to necessarily use this but it's a good point to start understanding how the mojo works and what you can do even on your own with a few sysctl tweaks to get a better desktop experience while your rust code is compiling in the background. https://github.com/igo95862/cfs-zen-tweaks (in this project you're looking at the set-cfs-zen-tweaks.sh file and what it's tweaking in /proc so you can get hints on where you research goals should lead - most of these can be set with a sysctl)

    There's a lot to learn about this so I hope this gets you started down the right path on searches for more information to get the exact solution/recipe which works for you.

  • Thumbnail Preview Links Broken?
  • On my Subscribed view on lemm.ee sorted by Hot which very recently upgraded lemmy-ui to 0.19.4 (your lemmy.sdf.org instance has not upgraded yet, just checked), of 14x news items/links which should have thumbnails - 8x of them are broken/missing, just over 50%.

  • Thumbnail Preview Links Broken?
  • It's possible what you are seeing is more visible than before due to issue #2433 which is:

    When images are broken, a blank space is all that is shown. A fallback image for broken images would make this more apparent.

    With the 0.19.4 update I notice it a lot more now and see a lot from apnews.com causing this, on my Subscribed view with news@lemmy.world and world@lemmy.world (and others) this morning I count:

    Sites that are fine: www.cnbc.com, www.nbcnews.com, www.bbc.com, www.cbsnews.com, newrepublic.com and a bunch of fediverse instances and other "not mainstream" sites from around the internet. it would appear that whatever has changed in code is interacting badly with certain mainstream news sites and the ability to get a thumbnail - I browsed the lemmy-ui commits and a metric ton of 3rd party dependencies were updated, gave up looking for the cause.

  • [ Solved ] I can't change Disk Encryption password
  • Refer to the cryptsetup-luksChangeKey man page --key-file options, you cannot change the password directly on a commandline; you either (a) type it interactively, (b) put it in a keyfile, or (c) accept input from STDIN with the standard use of - on the end (e.g. echo "mypass" | cryptsetup luksChangeKey /dev/sda - )

  • NOOOOOO!!
  • Take my love, take my land
    Take me where I cannot stand
    I don't care, I'm still free
    You can't take Star Trek from me
    ...
    Lost my love, lost my land
    Lost the last place I could stand
    There's no place I can be
    Since I've found the NCC

    And you can't take Star Trek from me

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SC
    scsi @lemm.ee
    Posts 0
    Comments 8