• 0 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: November 7th, 2023

help-circle

  • An interrupt is an input that can be triggered to interrupt normal execution. It is used for e. g. hardware devices to signal the processor something has happened that requires timely processing, so that real-time behavior can be achieved (for variable definitions of real-time). Interrupts can also be triggered by software, and this explanation is a gross oversimplification, but that information is what is most likely relevant and interesting for your case at this point.

    The commands you posted will sort the interrupts and output the one with the highest count (via head -1), thereby determining the interrupt that gets triggered the most. It will then disable that interrupt via the user-space interface to the ACPI interrupts.

    One of the goals of ACPI is to provide a kind of general hardware abstraction without knowing the particular details about each and every hardware device. This is facilitated by offering (among other things), general purpose events - GPEs. One of these GPEs is being triggered a lot, and the processing of that interrupt is what causes your CPU spikes.

    The changes you made will not persist after a reboot.

    Since this is handled by kworker, you could try and investigate further via the workqueue tools: https://github.com/torvalds/linux/tree/master/tools/workqueue

    In general, Linux will detect if excessive GPEs are generated (look for the term “GPE storm” in your kernel log) and stop handling the interrupts by switching to polling. If that happens, or if the interrupts are manually disabled, the system might not react to certain events in a timely manner. What that means for each particular case depends on what the interrupts are being responsible for - hard to tell without additional details.












  • scrion@lemmy.worldtoLinux@lemmy.mlTUXEDO on ARM is coming
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    5 months ago

    Tuxedo also offers products with an aluminum body, and while they do import the hardware from China, you get the local service and warranty guarantees any company in the EU must provide, so that’s fine by me.

    Also, honest question: what do you think a unique laptop is, in particular when buying from a mass consumer brand like Lenovo? I really can’t figure out what that’s supposed to mean.


  • Oh, that makes everything a lot easier. The majority of the relevant settings will be in your home folder then, i. e. in the ${HOME}./.config folder, while some might also be in ${HOME}/.local/share etc.

    You probably want to backup the whole home folder anyway, so that would pickup most of your settings. In order to make that work on a different system, you would have to install all applications you were using on the tablet as well. Luckily, software installation in Linux is pretty easy, so you can export a list of installed applications from the Surface and then re-install them on your target system before migrating your home folder. The software list should become part of your backup. See e. g. https://unix.stackexchange.com/questions/82880/how-to-replicate-installed-package-selection-from-one-fedora-instance-to-another for an idea of how to perform this.

    I have used this approach in the past and it will get you 95% there. There might be some global system settings that you’d like to also transfer to your new system, but you can add those as you discover you miss them on the target system.


  • In general, no, this won’t work. In your case, you’re lucky since at least the Surface Go is using an x86 CPU, so it’s not completely out of the question, but transferring the image as-is to a completely different device typically does not work without modification.

    Simple example: your target device might not refer to existing hardware (let’s say a storage medium) in the same manner as your old device, so the existing references in your cloned image won’t work. There are other issues of course, e. g. missing drivers for different hardware present on the target device.

    It’s possible to modify the image so it would boot, but given the Surface runs Windows, that’s going to be a chore. I’d consider this an interesting project if bored on a slow weekend, but I’d most likely just do a filesystem backup of relevant data and call it a day.


  • Honestly, that just seems like you’re treating dd as some kind of arcanum. dd works just fine and I’ve been doing 1:1, full system backups for decades with it, no issues. Honorary mention for ddrescue / dd_rescue for recovery options, i. e. re-trying bad sector reads etc.

    In fact, when Clonezilla doesn’t know your filesystem, it will simply employ dd to copy the data sector by sector.

    I’d argue that Clonezilla (due to its use of partclone) is actually a less complete form of backup, since it will only copy used blocks, you don’t really end up with a clone of your devices, just a copy of what partclone believes to be your data. Don’t get me wrong, that is fine in most use cases, but there are some cases where this doesn’t cut it, e. g. wanting to backup / restore a storage device from a PLC where the vendor had the glorious idea to store licensing data in unused sectors, or when you want to create a forensic disk image, might want it look into d3dd then, although it absolutely works using regular old dd as well, d3dd just adds some amenities.

    All I want to say is: dd is an absolutely reliable tool and can be a one stop solution for device backups. Also, I have absolutely no quarrels with Clonezilla, if it fits what you’re trying to do and it works, great.




  • See, that’s what I wanted to say. I had no idea such a thing existed - you learn something new every day. From what I just read now it’s a synthetic gel core with a polyester case that has somehow been coated with Aloe Vera extract?

    Is that what you are referring to? If so, I’d definitely like to try the gel core, but I’m not at all convinced as far as the case is concerned - the coating would wash out anyway, and I hate Polyester with a passion.

    Taking out the gel core and replacing the case with cotton or linen is something that would I try though.


  • scrion@lemmy.worldtoAsklemmy@lemmy.mlAre niche pillows and cases worth it?
    link
    fedilink
    arrow-up
    14
    arrow-down
    6
    ·
    edit-2
    5 months ago

    Really all of them? Camel fur? Natural latex? Lyocell? Sheep wool? Pinus cembra shreds? Horse hair? Kapok?

    All I want to say is: there is a whole world of relatively unknown pillow stuffings available. This is mostly useful for people with very particular requirements or allergies.

    I tried all the regular ones (cotton, different grains, down feathers) plus camel fur, latex and Kapok. Latex was great, durability was mediocre compared to the price though. Kapok became flat pretty fast.

    I arrived at the same conclusions as you did: shredded foam. I’d go with natural latex, which has about the same properties and can be manufactured in an eco-friendly, sustainable fashion, but that led to me spending $120 on a pillow that didn’t last a third as long as a foam pillow for $22.

    Edit: I’m also biased because I want my pillow to be washable. That helps with all kinds of allergies, plus the dirt you see coming out of the pillow… Jesus.