• 0 Posts
  • 12 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle



  • It lags for me whenever I access some filesystem that takes a while to respond. That could be a faulty or old device, or it could be an NFS share with multiple large file transfers going on in the background.

    And when I say it lags, I don’t mean it just takes a while to show me a directory’s content, I mean the entire UI freezes and kwin will grey out the window because tha application isn’t responding any more.

    This does not happen a lot, and if your file browsing is largely limited to a fast local storage, like a SATA SSD or even an NVMe, you may well never see this problem at all. But it does happen.



  • Okay, I’m generally on the side if dolphin UI-wise, but when it comes to the topic of lagginess, it has to be said that dolphin, and in fact, almost everything using the kio infrastructure, is the one shitting the bed here. You’d think a bit of multithreading will keep the UI from freezing up whenever the underlying I/O has some minor hiccup (which can absolutely happen in practice with network filesystems or USB sticks in combination with large file transfers), but apparently dolphin can’t do that.






  • waigl@lemmy.worldtolinuxmemes@lemmy.worldThe good old days
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    7 months ago

    This is x86 assembler. (Actually, looking at the register names, it’s probably x86_64. On old school x86, they were named something like al, ah (8 bit), ax (16 bit), or eax (32 bit).) Back in the old days, when you pressed a key on the keyboard, the keyboard controller would generate a hardware interrupt, which, unless masked, would immediately make the CPU jump to a registered interrupt handler, interrupting whatever else it was doing at the point. That interrupt handler would then usually save all registers on the stack, communicate with the keyboard controller to figure out what exactly happened, react to that, restore the old registers again and then jump back to where the CPU was before.

    In modern times, USB keyboards are periodically actively polled instead.


  • IMHO, it was a mistake to make USB block storage use the same line of names also used for local hard disks. Sure, the block device drivers for USB mass storage internally hook into the SCSI subsystem to provide block level access, and that’s why the drives are called sd[something], but why should I as an end user have to care about that? A USB drive is very much not the same thing for me as a SCSI harddisk. A NVMe drive on the other hand, kinda sorta is, at least from a practical purpose point of view, yet NVMe drives get a completely different naming scheme.

    That aside, suggest you use lsblk before dd.