Why Fast PCs Stutter (Interrupts Explained)

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 500

  • @mehzera3546
    @mehzera3546 Місяць тому +1429

    I feel like the explanation on how to avoid it was cut out and replaced by the story of how it happened on a Mars rover in '97.

    • @Anonymous4045
      @Anonymous4045 Місяць тому +275

      Didn't you catch it? The solution is to be a NASA engineer and develop your own patch for it.

    • @shapular
      @shapular Місяць тому +199

      Looks like there was a priority inversion in the script.

    • @bn326160
      @bn326160 Місяць тому +19

      They don't want to dent their relationship with Microsoft!

    • @manon-gfx
      @manon-gfx Місяць тому +14

      The solution: the OS is the one who really manages the locks and will let less critical code finish if a more critical process suddenly needs it.
      If multiple processes want the lock, the one with higher priority will (probably) get it.

    • @milos9194
      @milos9194 Місяць тому +41

      Yeah apparently the explaination on how to fix it, didn't inherit the priority ;)
      (for those who don't get the joke: a way to fix it is priority inehritance)

  • @Dexiray
    @Dexiray Місяць тому +517

    NGL was expecting a solution. Came out feeling like I went on Mars...

    • @nikhilb1502
      @nikhilb1502 Місяць тому +5

      fr man having a ryzen 9 and seeing mouse run at 10 frames sometimes is a pain

    • @Tense
      @Tense Місяць тому

      @@nikhilb1502 Yep, been struggling with my 5800X3D for a year now.

    • @naufalap
      @naufalap Місяць тому

      I think I solved this one by removing tv and other unrelated devices from network settings, the tv in my house is samsung with tizen os 🤢

    • @Vitis-n2v
      @Vitis-n2v Місяць тому

      ​@@nikhilb1502have you updated your bios to the latest one? In the past there was a ftpm module bug that caused random stutters and got resolved by AGESA update in bios

    • @Vitis-n2v
      @Vitis-n2v Місяць тому

      Also chipset drivers being the latest play a role as well

  • @SixManXV
    @SixManXV Місяць тому +258

    Priority inversion: when the ad prioritizes itself over the entire point of the video

    • @BoraHorzaGobuchul
      @BoraHorzaGobuchul Місяць тому +4

      At least that is easily fixable

    • @NegativeROG
      @NegativeROG Місяць тому +9

      You see ads? That's crazy!

    • @commieTerminator
      @commieTerminator Місяць тому +2

      Didn't see it. I thought most people would use a modded youtube app

  • @jotjakubjot
    @jotjakubjot Місяць тому +412

    4:34 Actually, debugging a rover on Mars isn’t the “most remote of remote debugging”-that title belongs to the Voyager spacecraft, which are nearly 20 billion kilometers away! Just recently, engineers had to fix a data issue on Voyager 1 by sending a command that took over 20 hours to travel one way. Imagine troubleshooting a computer by sending commands that take almost a day to arrive, and then waiting another day for feedback. In comparison, debugging on Mars is like fixing something across town, while Voyager is like trying to fix it from another planet entirely!

    • @TalesOfWar
      @TalesOfWar Місяць тому +26

      Sounds like using an Atom powered netbook lol.

    • @mrkitty777
      @mrkitty777 Місяць тому +19

      It's faster than Windows Update 😅

    • @Dr.RichardBanks
      @Dr.RichardBanks Місяць тому +5

      Patching voyager one must of been as bad as a windows 95 update.

    • @Hatecrewdethrol
      @Hatecrewdethrol Місяць тому +13

      odd metaphor to use at the end there, since you can literally say debugging on Mars IS trying to fix it from another planet and Voyager IS trying to fix something outside the solar system

    • @okokayy
      @okokayy Місяць тому

      4:34 Actually, debugging a rover on Mars isn’t the “most remote of remote debugging”-that title belongs to the Voyager spacecraft, which are nearly 20 billion kilometers away! Just recently, engineers had to fix a data issue on Voyager 1 by sending a command that took over 20 hours to travel one way. Imagine troubleshooting a computer by sending commands that take almost a day to arrive, and then waiting another day for feedback. In comparison, debugging on Mars is like fixing something across town, while Voyager is like trying to fix it from another planet entirely!

  • @joshuaderosa3703
    @joshuaderosa3703 Місяць тому +151

    the ad got into the way of how to avoid this.

    • @sapphyrus
      @sapphyrus Місяць тому +56

      Low priority ad interrupted high priority solution.

  • @jesus2621
    @jesus2621 Місяць тому +429

    remember you can buy the best spec PC with the latest upgrades but you cannot upgrade your brain so it will bottleneck

    • @dylc5604
      @dylc5604 Місяць тому +14

      Username checks out

    • @sergiokaminotanjo
      @sergiokaminotanjo Місяць тому +7

      my brain its like a Commodore 64 CPU

    • @Marauder-q2v
      @Marauder-q2v Місяць тому +4

      @@sergiokaminotanjomine is a 13900k that is failing from voltage issues

    • @staciefreshener4032
      @staciefreshener4032 Місяць тому

      My brain is like 800Mhz Cpu you'd find on Warcraft III minimum system requirements lol.
      Single Core ,
      It's the only CPU that actively tries to BSOD ( blue screen of death ) to it's user frequently , KMS system inbuilt.

    • @Innuya
      @Innuya Місяць тому

      Your pfp is from my favourite False Knees comic strip ♥️

  • @MayankJairaj
    @MayankJairaj Місяць тому +94

    One way i use to fix this while gaming:
    1. Set all gaming related tasks to a high or very high priority (not realtime)
    2. Remove CPU 0 from the CPU Affinity of these above tasks, aka all cores except CPU 0 should be ticked.
    3. Disable dynamic tick for the gaming application (google how to)
    4. Enable highest performance mode from windows and OEM settings
    5. End Process Trees for heavy applications that arent being used.
    6. Decrease priority of ur game distribution software (example steam to low) dont end it, u need it for playing the game.

    • @MayankJairaj
      @MayankJairaj Місяць тому +16

      You can also use latency monitor to check what's causing issues in ur system

    • @roxtaramir
      @roxtaramir Місяць тому +18

      ​@@MayankJairajhey Riley thanks for leaking the script to the 2nd half of the video! 😂

    • @rizones2286
      @rizones2286 Місяць тому +1

      Thx

    • @SnifferSock
      @SnifferSock Місяць тому

      You don't need Steam open to play a game though...

    • @Plaseebo
      @Plaseebo Місяць тому

      dont need to do any of these these r not related to interrupt priorty at all .... u need msi utility v3 its on guru3d forum

  • @privacyvalued4134
    @privacyvalued4134 Місяць тому +96

    0:38 "If the processor accepts the request." Wait. CPUs can reject interrupts? [Does a bunch of research.] Well, I learned something new today. There are three types of interrupts: Maskable, non-maskable, and spurious. It's not so much as to whether the CPU rejects an interrupt so much as it can just choose to ignore it. Rejection implies a response. Firewalls, for example, can be configured to drop (no response) or reject (NACK response) packets. Spurious interrupts are the oddball. I'm not sure how those happen and couldn't find any examples.

    • @kourkoutas87
      @kourkoutas87 Місяць тому +6

      There's always a bit of delay from the point that an interrupt is fired until the CPU acknowledges it and starts handling it. An interrupt is spurious if it got fired but does not need handling by the time the CPU is able to handle it. There's a few reasons that may cause it. One reason could be that the interrupt was disabled after it was fired but before it was handled. Another reason could be that in multiprocessor systems a different processor is handling the interrupt (if it needs handling by one processor), so it is spurious for the rest of the processors.

    • @anowl6370
      @anowl6370 Місяць тому +1

      Normally you cant ignore interrupts, masking an interrupt is effectively disabling the request. Ignoring an interrupt is possible on x86 by signalling End Of Interrupt before handling the interrupt, however this can cause instability because the device may not raise the interrupt again until its properly handled. e.g. APIC (SATA controller) only raises interrupts when an interrupt status flag is set to `1` if the flag was already `1` then the interrupt is not raised, software must set the interrupt status flag to `0`.
      Spurious interrupts only occur with level-asserted interrupts. There are 2 types on interrupts edge and level asserted, edge is when the signal is raised and dropped again. Level assertion is when the line is held i its asserted state, when the line is no longer asserted the interrupt is not raised. An 8250 compatible serial controller uses level assertions, if it raises an interrupt, while interrupts are masked but software clears the interrupt status, this will cause the controller to de-assert its interrupt. This is a spurious-interrupt, when a level-asserted interrupt is de-asserted without being handled.

    • @nowonmetube
      @nowonmetube Місяць тому +1

      Of course CPUs can reject or do commands? It's the CPU after all. What else component would do that?

    • @aayush10001
      @aayush10001 Місяць тому

      Yes, the CPU can mask interrupts. There are various schemes. In ARM-A class architecture, there is no NMI, all interrupts are technically maskable. The thing though is, that the CPU/OS code really doesn't want to mask interrupts. Interrupts are there to tell you something important. It sometimes has to mask interrupts for very short durations to ensure atomic operation (critical section) for small pieces of scheduler or interrupt handler code, where another interrupt interrupting that code would be disastrous.

  • @HimitsuPOWER
    @HimitsuPOWER Місяць тому +77

    That was a great explanation, but where is the solution?!

    • @ChristopherHailey
      @ChristopherHailey Місяць тому +9

      Don't use Windows is one solution

    • @Lightwish4K
      @Lightwish4K Місяць тому +21

      @@ChristopherHailey Bro stop... windows works fine it just needs to be cared for with software updates drivers bios and chipset.
      Sometimes a clean install and re-install all anew works great. Just remember to save your valuable data on an external drive first so you can access ur saved data.

    • @Techkomsan
      @Techkomsan Місяць тому

      @@ChristopherHailey😂

    • @Techkomsan
      @Techkomsan Місяць тому +2

      @@Lightwish4Ksound good 👍

    • @alexrogers777
      @alexrogers777 Місяць тому +7

      @@ChristopherHailey windows really does have tons of problems but with the way linux is currently, moving to linux would be even harder for most people

  • @BlueHasia
    @BlueHasia Місяць тому +23

    I feel this really needs a part two. Never really heard of this, was not really explained well for me and steps to try to trouble shoot this issue left out

  • @HerbaMachina
    @HerbaMachina Місяць тому +125

    Interrupt routines shouldn't cause your PC to stutter unless someome has implemented some really poor coding practices in that interrupt routine. Interrupt routines should execute in sub single milliseconds and shouldn't even be perceivable to you the user.

    • @htpc002Weirdhouse
      @htpc002Weirdhouse Місяць тому +16

      *Should* be sub-microsecond. Then 15 million of them per second is a bit under 15 seconds of service work per second. Hmm, wait a minute... (Where that interrupt rate comes from: 10 Kb packets -- so 1250 B, modeling 83% utilization and that not all are MTU sized -- on a 10 Gb connection is 1 million packet arrival interrupts per second. With 1 us ISR, that's 1s/s, 100% load, an entire core. In a 16, 24, or 48 port switch, we're back to 10s of cores per second -- but switches poll queues rather than be completely DoSed by interrupts.)

    • @mmis1000
      @mmis1000 Місяць тому +2

      When I debug these issue I usually find directx runtime on the top. Either directx or gpu vendor do that. Who knows?

    • @matthews2243
      @matthews2243 Місяць тому +12

      I have really bad news about many people's coding practices...

    • @suryabejibun
      @suryabejibun Місяць тому +1

      "unless someone has implemented some really poor coding practices in that interrupt routine".
      yup. So that is guaranteed unless you code everything you use yourself.

    • @zyeborm
      @zyeborm Місяць тому

      Switches are generally running ASICS for their routing engines these days. Only some unaccelerated deep packet inspection stuff on routers and gateways is still software that might do polling.

  • @joshuaLLM1
    @joshuaLLM1 Місяць тому +447

    That's great! I never really understood the whole interruption thing. Has anyone tried cleaning up Windows? They say it helps, but I'm not sure if it's a myth. By the way, does anyone know where I can get a license for Windows 10?

    • @FayeM9
      @FayeM9 Місяць тому

      I always clean the registry, but I think the real issue is the interruptions

    • @joshuaLLM1
      @joshuaLLM1 Місяць тому

      @@FayeM9 I clean it regularly, but it's still the same

    • @markjam55
      @markjam55 Місяць тому

      I'm thinking about switching to Win 11, but I don't know if it's worth it://

    • @FayeM9
      @FayeM9 Місяць тому

      @@markjam55 Idk bro, I would wait a little longer for them to polish it

    • @Jennakp7
      @Jennakp7 Місяць тому

      BNH Software is a good option. I have purchased from them several times and have never had any problems:))

  • @theorphanobliterator
    @theorphanobliterator Місяць тому +85

    thrashing doesn't have to go with interrupts, it's segmentation faults which occur due to multiple processes running at the same time. the phenomenon you're referring to is "interrupt storm", not to be confused with thrashing.

    • @BrianG61UK
      @BrianG61UK Місяць тому +3

      I was thinking that this wasn't what I used to call thrashing, which was when your RAM was full and the swap file was being used a lot.

    • @ilo0u0oli
      @ilo0u0oli Місяць тому

      Perfect pfp

    • @SPECTRA890
      @SPECTRA890 Місяць тому

      ​@@BrianG61UKfunny because this your definition I first heard of it on this channel. They definitely missed a lit with this video. Seems rushed

  • @gaycatgorl
    @gaycatgorl Місяць тому +17

    5:03 i should try this lol

  • @microbuilder
    @microbuilder Місяць тому +11

    Jokes on you, my computer is so slow I cant tell the difference between an interrupt, hanging, or just regular operation lol

  • @NepuniLokhoInst
    @NepuniLokhoInst Місяць тому

    I like your channel! I get educated on important topics related to computers and get a pinch of nostalgia everytime I watch it. All the best!

  • @KibbleWhite
    @KibbleWhite Місяць тому

    This brings back memories, one of the first thing learnt in my first job where the difference in interrupt timings with systems with and without a GUI.

  • @Aeturnalis
    @Aeturnalis Місяць тому +10

    3:04 skip ad

  • @mxcollin95
    @mxcollin95 Місяць тому +94

    So how can you fix it?

    • @Knitterfest
      @Knitterfest Місяць тому +4

      Buy faster stuff

    • @dnoodspodu1159
      @dnoodspodu1159 Місяць тому +7

      ALT + F4

    • @obinator9065
      @obinator9065 Місяць тому +24

      don't, Windows is the problem

    • @ShirokiMaki
      @ShirokiMaki Місяць тому +28

      Have less venues of interruption in the first place. Install less things. Connect less hardware.

    • @danieloberhofer9035
      @danieloberhofer9035 Місяць тому +13

      Use Linux. Problem (mostly) solved.

  • @danzen6246
    @danzen6246 Місяць тому +68

    Because they don't use the Ryzen 4070

  • @fredruthven4566
    @fredruthven4566 Місяць тому +8

    I'm so old I remember having to configure jumper settings on various cards (e.g. network cards) to assign an IRQ number for that particular piece of hardware. Don't even get me started on printer escape code sequences!

    • @ers-br
      @ers-br Місяць тому

      Sound blaster audio card sometimes needed this IRQ thing...

    • @acubley
      @acubley Місяць тому +1

      This is why I won't go pre-USB, my oldest current machine being a Gen2 i5. I do not miss trying to get my SB card to play nice with my NIC. IRQ, DMA, NFW! :-) I do love all the retro peeps trying to repair and preserve the history, tho.

    • @MediocreHexPeddler
      @MediocreHexPeddler Місяць тому +1

      "Printer escape code" sounds like the button combo you have to mash when your office printer gains self-awareness and transforms into a murderbot.

  • @HXRDWIREDGaming
    @HXRDWIREDGaming Місяць тому +1

    For fixes:
    Update hardware drivers.
    Disable Network adapters.
    Disable Audio Enhancements.
    Disable the Windows fast startup.
    Disable USB root hubs.
    Check if there is any failing hardware.
    Update the BIOS version on your PC.
    Turn off background programs not needed (ESPECIALLY YOU RGB HEADS)
    If you're savvy, msconfig to base and work up to find the actual problem
    Also services.
    There's many factors.

  • @marclevine3139
    @marclevine3139 Місяць тому +2

    I've been using computers for a long time. My 1st computer was a TI 99/4 I soon added an expansion box with a 32K memory expansion, Floppy disk controller, floppy disk drive and RS232 card (i'm 77). This was in the early 80's. When the system was writing to disk it would issue a system interupt. BTW,my 1st modem was a 300 baud where you would dial a number listen for a tone and then flip a switch.

  • @madmax404
    @madmax404 Місяць тому +101

    This still doesn't explain why the interrupts are noticeable, given interrupts have been around for a long time.
    The real reason has more to do with simply bad code, a lot of it in Windows.

    • @HerbaMachina
      @HerbaMachina Місяць тому +21

      Yeah, if an interrupt function causes your pc to freeze up, whoever coded that interrupt put stuff in there that shouldn't be in an interrupt routine. This is absolutely just poor programing practices.

    • @theorphanobliterator
      @theorphanobliterator Місяць тому +2

      has nothing to do with the OS, it has to do with faulty software or non-rate limited hardware. interrupts are CPU label and every x86-64 CPU system has the same interrupt flags and service routines. these problems CAN and DO occur on Linux, or any other OS. and they DID occur in the older versions of the operating systems.

    • @iris4547
      @iris4547 Місяць тому +11

      they exist in mac, just the users are too busy waiting for their soy latte that they dont notice.

    • @theorphanobliterator
      @theorphanobliterator Місяць тому +3

      ​@@HerbaMachinanah it's never 1 interrupt that locks up a system. or at least very rarely. it's a STREAM of non rate limited, NMI calls which has the CPU constantly servicing them.

    • @RobinBhanks
      @RobinBhanks Місяць тому +1

      Honestly, it probably has to do with an old windows installation that might have some shady software or just any software that slows it down. My computer used to be kinda slower than usual after 6 years of using the same windows install, but when i reinstalled it it felt like i had a brand new computer.

  • @malevolentia28
    @malevolentia28 Місяць тому

    4:48 "spending valuable time thinking about what to do rather than doing it" yeah that hits right home lmao

  • @kourkoutas87
    @kourkoutas87 Місяць тому +2

    The Mars Pathfinder is an interesting one. Their software was actually capable for priority inheritance (this is when a task using a shared resource gets a priority bump while using that resource), which the solution to the priority inversion problem. The problem is that it was misconfigured to not use priority inheritance for that resource.
    There's a bit of a terminology mix-up in the video between "criticality" and "priority". For real-time systems like what was running on the Pathfinder, this is an important distinction. Priority is a measure of "urgency" as in "this needs to happen first". Criticality is a measure of importance; this definitely needs to happen; often high criticality things can be of low priority when it comes to the schedule design of this type of system.

  • @jeremycorter1550
    @jeremycorter1550 Місяць тому +5

    Funny, literally went over this in one of my classes yesterday. This made it more understandable

  • @anonanon6596
    @anonanon6596 Місяць тому +4

    Love it when program lets you choose it's priority,
    and then you set it to maximum,
    and then it has the higher priority than your mouse and keyboard,
    and then it crashes,
    and then you can't do anything.

    • @Dereks06
      @Dereks06 Місяць тому

      Interrupts still run higher. They typical do the bare minimum, like moving data somewhere non crucial code can then find later.
      Usb uses polling so non interrupt code needs to check mouse & keyboard state, which is why you might see that issue.
      Old PS2 mice & keyboards use interrupts so won't have that problem. However that doesn't mean the GUI will have enough priority to show that changes

  • @Andrew-ky8oc8cq4n
    @Andrew-ky8oc8cq4n Місяць тому +2

    Back in my day addon cards had jumper switches to set which IRQ (interrupt request line) they would use so not as to overlap with existing hardware.

  • @edgarzakarian1649
    @edgarzakarian1649 Місяць тому

    Tanks Riley, good job

  • @fridaycaliforniaa236
    @fridaycaliforniaa236 Місяць тому +4

    Fast PCs even have their own place to retire : *Stutter Island*

  • @TheBzz4
    @TheBzz4 Місяць тому

    Man, I thought my computer was just channeling its inner sloth, but it turns out it's just busy prioritizing its own existential crisis over actually doing what I tell it to do.

  • @Hitokiri_Ace
    @Hitokiri_Ace Місяць тому

    Great, glad that I now know that there's an issue.
    Shame I have no clue or tips on how to help prevent this.

  • @Bassquake76
    @Bassquake76 Місяць тому +14

    Think you forgot the part about how to avoid it. I use LatencyMon to see what might be causing stutter. Often its drivers that needs updating (or downgrading) or some annoying windows process hogging the system.

    • @SPECTRA890
      @SPECTRA890 Місяць тому

      Is there a way to bypass with this software?

    • @Bassquake76
      @Bassquake76 Місяць тому +1

      @@SPECTRA890 Bypass what? The stuttering? If so, no, its just a diagnosis tool.

    • @BoraHorzaGobuchul
      @BoraHorzaGobuchul Місяць тому

      ​@@Bassquake76problem is it doesn't offer clear solutions (just because there are none strictly speaking). It just lists the possible suspects, and then you have to sit and ponder what can be done about those. In many cases, attempting to fix it e.g. by trying various versions of drivers will result in lots of wasted time and effort with nothing to show for it...

    • @Bassquake76
      @Bassquake76 Місяць тому +1

      @@BoraHorzaGobuchul Diagnosing stuff is often time consuming. You have to try and be methodical and remove/update/downgrade and repeat diagnosis steps. Theres no easy solution to stutter removal. I fixed my laptops stutter by removing some bloatware off a laptop that LatencyMon picked up on as an example.

    • @4.0.4
      @4.0.4 Місяць тому

      @@BoraHorzaGobuchul diagnosing the cause of an issue isn't wasted time, since let's say it only happens with drivers from one company, you could at least know which caused you headaches and avoid it in the future.

  • @Revrto
    @Revrto Місяць тому

    Techquickie video recommendations in the same vein for security are Structured Exception Handler (SEH) Overwrites, Data Execution Prevention (DEP), and Address Space Layout Randomization (ASLR). All three are fascinating!

  • @perlen5227
    @perlen5227 Місяць тому +1

    That ADHD comment was too real. I too experience priority inversion daily 💀

  • @unlap9377
    @unlap9377 Місяць тому +1

    Windows Defender is the biggest offender *pun intended* of PC interrupts. If you use LatencyMon you can see how many times it interrupts to check any processes or programs running. As soon as I disabled it I had 0 interrupts (instead of 2 interrupts every second and bursts of 300-1k interrupts). Anything else that interrupted like File Explorer or TextInputHost would do 1-2 interrupts then stop.

  • @BlazeFox89
    @BlazeFox89 Місяць тому

    Years ago I remember having to convince people not to move their mouse while the computer was loading as even that would slow it down considerably, sometimes making jobs take several minutes longer. Interrupts are also why you can move your mouse and type in most cases when everything else is locked up.

  • @nonew-man
    @nonew-man Місяць тому +1

    rover: speaking about local and deployed code lol

  • @greendro6410
    @greendro6410 Місяць тому

    Great explanation 😊

  • @Flare97
    @Flare97 Місяць тому +3

    As an ADHD user, the last comment was golden.

  • @Ryan-lk4pu
    @Ryan-lk4pu Місяць тому +1

    Another thing to check if you have stutter is where your page file is stored.
    Windows seems to put it on the largest drive available (which is often your mass storage and slow HDD) and caused, me at least, issues.
    Shrinking it and putting it on the SSD solved my problem instantly.

    • @NiyaKouya
      @NiyaKouya Місяць тому +1

      Uh, if your system has to use the page file (and causes slow-downs because of that) the "real" fix is a RAM upgrade. The page file only gets used when the system runs out of memory (RAM) and has to move data to the pf.

    • @Ryan-lk4pu
      @Ryan-lk4pu Місяць тому

      @@NiyaKouya fair point but at that stage I had 16GB of good ram (10 years ago).
      It was just one game it did it in really, so it was probably an optimisation issue on their part.
      But I would still rather have the page file on my SSD.

  • @hasankhaddam540
    @hasankhaddam540 Місяць тому +1

    The more I watch these videos, the more I realize how complex and complicated the code for an os and for hardware is

  • @oussama7132
    @oussama7132 Місяць тому +29

    several times a dying or dead hard drive hangs the entire computer until i pull the sata or usb cable

    • @mokahless
      @mokahless Місяць тому +2

      As a tech back in the day I ran into this sooo often. It was only ever a Windows-only issue, and is still a problem today. Whenever I could, I'd always grab old parts and build a Linux system for our benches to handle hard drive diagnostics or moving data from failing drives.

    • @WarrenGarabrandt
      @WarrenGarabrandt Місяць тому

      I've seen that many times over the years. Booting into an external OS and performing a read test often shows very bad performance on these drives as they struggle to read. Imaging the drive over to a replacement HDD or SSD immediately solves the problem, unless it's progressed far enough to have bad sectors corrupt important files or a directory structure.

    • @BlazeFox89
      @BlazeFox89 Місяць тому

      The interrupt request for the hard drive gets halted as the read is attempted up to 8 times then reallocates, very little can continue on the host system until that completes. This is the main reason why a failing drive locks-up a computer if you try to access it, the list of high priority interrupts gets too long to complete.

  • @TalesOfWar
    @TalesOfWar Місяць тому +2

    Our computers are more advanced than even the latest things going into space given they're often older hardware that has proven it's reliability, with added hardening against things like higher radiation levels and temperature fluctuations. They're using what are essentially heavily modified PowerPC G3's which came out in 1997 in things like the Orion space capsules which only had their first flight in 2014.

  • @mattscott9975
    @mattscott9975 Місяць тому +9

    Microsoft Defender Realtime Protection is the biggest culprit for Stutters on Windows machines...

  • @kayanims
    @kayanims Місяць тому

    Everytime I watch these videos, I feel like I learn something new

  • @universalAxis
    @universalAxis Місяць тому

    The noisy WiFi adapter really needed a few “Hey. Listen!”s thrown in there. Golden opportunity.

  • @andrewlanger9852
    @andrewlanger9852 Місяць тому

    I wish Riley was still in main ltt videos like the ones fro 5-6 yrs ago. ($69 Gaming PC etc.)

  • @JeffDeLamater
    @JeffDeLamater Місяць тому

    Talking about Mars Rover, "Most remote of remote debugging"
    * Voyager 1 has entered the chat

  • @Nathanael.Thomas
    @Nathanael.Thomas Місяць тому

    You know almost everyone who clicked on this was excited to learn how to reduce the problem that theyre experiencing and was a little let down.
    Glad to know a little bit more though.

  • @idan678
    @idan678 Місяць тому +92

    its windows. windows is the source problem

    • @Skazzy3YT
      @Skazzy3YT Місяць тому +14

      Linux users attempting to install a web browser

    • @JulienFeyrien
      @JulienFeyrien Місяць тому

      @@Skazzy3YT at worst you run 'sudo apt install firefox', but at this point you delibelitary chose to use a hard version of linux
      most versions of linux for beginners should have an app store and you should be able to install it from there

    • @farawayman1010
      @farawayman1010 Місяць тому +9

      @@Skazzy3YTit’s literally not even hard.

    • @toorandomenvi
      @toorandomenvi Місяць тому +6

      Linux user here, everything stuters nowdays as far as I can tell

    • @techhelpportal7778
      @techhelpportal7778 Місяць тому

      @@Skazzy3YTpretty easy
      All I'd do is enter Super+T to open terminal and type paru -S firefox and enter my password

  • @vladislavkaras491
    @vladislavkaras491 Місяць тому

    Thanks for the video!

  • @user-qb5cm6fh1i
    @user-qb5cm6fh1i Місяць тому

    My 8000 Hz mouse was causing serious stuttering in many games. Cyberpunk, Minecraft, and Assassin’s creed were just some of the affected games. Had to make a macro to drop the polling rate to 1000 Hz for better compatibility. I just turn the mouse up to 8k now for competitive shooters

  • @gregrossi1125
    @gregrossi1125 Місяць тому

    Can we get a part two showing more on this issue?

  • @starwanksurviver
    @starwanksurviver Місяць тому

    Nice video. Now I know the theory behind it. But I'm missing the part how to diagnose and troubleshoot it?

  • @jake20479
    @jake20479 Місяць тому +3

    hybrid core technology: ""and i took that personally""

  • @MoyoGaming
    @MoyoGaming Місяць тому

    I remember having awful stuttering on my PC and it turned out to be my TV which I disconnected in the Windows display settings causing device disconnection device manager interrupts over and over again. Such a pain to find the source but so satisfying to fix it

  • @AcornElectron
    @AcornElectron Місяць тому

    Explained yes, fixed….
    Edit: I patted that duplicate rover when I saw it in person, good job clone. ❤

  • @Jan12700
    @Jan12700 Місяць тому +9

    And what can you do about it?

  • @pabloenriquegorga4222
    @pabloenriquegorga4222 Місяць тому

    Cool video, thanks

  • @Savitarax
    @Savitarax Місяць тому

    For anybody looking for a solution:
    You need to spread your interrupts onto multiple cores of your system. Windows uses core 0 as the only core that handles ALL interrupts. This causes stutters hitches/pops/cracks and can be infuriating if not done.

  • @bors2908
    @bors2908 Місяць тому

    Meanwhile PC:
    Did I stutter?

  • @despairdx
    @despairdx Місяць тому

    great sense of humor! but also would be nice to provide some real examples (which programs and their behavior) of these stutters

  • @gasracing5000
    @gasracing5000 Місяць тому

    I learned something today

  • @S0ul_Av3ng3r
    @S0ul_Av3ng3r Місяць тому

    I have a good example of this that just recently happened to me, my MSI Motherboard (B650 Tomahawk) has a MysticLight USB Driver built-in for the RGB, which apparently has some sort of compatibility issue with my OS. My 2D and lower-end games were seeing stutter typical of a repeating CPU interrupt. I checked the system journal and it was disconnecting and reconnecting the 'failing device' repeatedly forever, continuously recreating the device in the system under a new ID, meaning I had no native built-in method to solve the issue. Ended up having to use a third-party package that controls what USB devices can access my system in order to disable it permanently whenever I log into my system, if an MSI representative is reading this, please fix your MysticLight Firmware, as I've seen it throw errors in both Windows and Linux systems when it's not even being used at all, something about the way it initializes with the OS is broken.

  • @241tuesday6
    @241tuesday6 Місяць тому

    Great video, very informative. Now for your next video I need Riley to explain how I can get her back. I’m lonely and I’m sorry

  • @FireCulex
    @FireCulex Місяць тому

    I kept expecting to hear about LatencyMon.

  • @JamieA242
    @JamieA242 Місяць тому +1

    why when I turn on my pc and login it doesn't show my desktop unless I move the mouse to kind of update/refresh the display?

  • @walterwhite415
    @walterwhite415 Місяць тому

    I didn´t expect this to become a good and plausible explaination of whats going on in an ahad mind. xD

  • @I2obiNtube
    @I2obiNtube 2 дні тому

    3:28 what? no there's no bug trigger lmao. not sure what you're talking about here. the low priority task isn't "refusing to relinquish its hold", it's executing normally or it hung without releasing the lock. the resource being locked is the issue. this is called deadlock. the medium process calls an interrupt then goes to access the resource and "oops it's locked, well im either going to exit gracefully and try again later or bang my head against the wall until something happens" often it's the latter. nothing can unlock that resource and nothing should because that's the purpose of a lock. you don't lock something unless you need exclusive read/write access in the first place. now if there's no error handling and no watchdog timer on the interrupt the system is potentially in an interrupted state trying to access something nothing can access. you can either forcefully terminate the process with the lock (releasing it) or wait for it to end.
    the core of the issue is that the medium process is trying to access something it can't have access to at that time and isn't handling that gracefully.
    3:48 stall? yes. timeout? no. that's the whole problem. if the system watchdog just times out the interrupt then the lock can be forcefully or normally will be released.

  • @GhostRyderFPV
    @GhostRyderFPV Місяць тому +11

    BLASTER=A220 I7 D1 H5 P330 T6
    Those who know....

    • @truemon
      @truemon Місяць тому +1

      Oh the nostalgia....

    • @elone3997
      @elone3997 Місяць тому +2

      Butchering Autoexec and config.sys files and all that goes with that (IRQ's, DMA's, high memory settings etc etc) just to play a game 😀 It put hairs on your chest for sure...!

  • @KesslerCOIL
    @KesslerCOIL Місяць тому

    This explains why every Wifi Adapter I've used has had issues with randomly disconnecting for a couple seconds...

    • @TonyTear
      @TonyTear Місяць тому

      thats more likely caused by your computer putting powing saving on for your usb ports, u can disable this in device manager and going to power management settings in the properties menu for the usb root hub 3.0 and 2.0 devices

    • @KesslerCOIL
      @KesslerCOIL Місяць тому

      @@TonyTear I changed that already. I've had this issue with every wifi adapter I've used, though it chilled out after some probably risky tweaks

  • @Nordern
    @Nordern Місяць тому +1

    I recently had huge stuttering issues, while having consistent 200fps
    DDU'd the Nvidia driver & re-installed and it went away
    Funny thing is, i didn't update drivers, so that is not what caused it, just randomly my 3090 decided to run like a slideshow

  • @BunnyEZ
    @BunnyEZ Місяць тому

    4:44 i thought that what you're describing here sounded a lot like ADHD and then you said it 😂.

  • @unclefings
    @unclefings Місяць тому

    So the solution is, sending my pc to mars in 1997?

  • @FolixOrision
    @FolixOrision Місяць тому

    would be more helpful if this went into how to troubleshoot such issues

  • @sennpowerhv6922
    @sennpowerhv6922 Місяць тому

    I usually blame software on stuttering on great PCs because windows 10 and 11 are both very buggy compared to vista and 7 today.

  • @hill2hell
    @hill2hell Місяць тому

    There was priority inversion and thrashing on the script of this video.

  • @EJBert
    @EJBert Місяць тому +1

    And I always thought it was computers sensing our fear!

  • @alexrogers777
    @alexrogers777 Місяць тому

    Maybe I just missed it but it was never explained why this applies to fast PCs (more so than slow PCs)

  • @blu_vin
    @blu_vin Місяць тому

    My system (windows 11, 13900k, 3080 Ti + good ram etc.) always switched automatically to the balanced power mode in the power/energy settings. I had to set it to best performance to stop my pc from stuttering in overwatch 2. That has been working for me every time when i have problems, absolute 0 stutters after i switch it manually back to best performance (naming maybe not correct, i'm german)
    Maybe it helps someone, don't really know much about it but I tried infinite things and that did the trick after like 1 year of having problems

  • @austinformedude
    @austinformedude Місяць тому

    My Mac never does that. Everytime I use my Gaming PC it is like going back in time.

  • @boitanvasileable
    @boitanvasileable Місяць тому +1

    Stutters usually happen because Winnie updates himself when I pway, witch makes me 🤬🤬🤬

  • @Timongcraft
    @Timongcraft Місяць тому

    Acrually didn't know this, interesting

  • @Lightwish4K
    @Lightwish4K Місяць тому

    I never had this issue.. I factory reset, let windows update to fullest. Go to hardware websites download their latest chipset bios and drivers.
    So i guess alot of these issues are ppl not oversee software updates :)

  • @Zieldak
    @Zieldak Місяць тому

    I remember owning a pretty old laptop with a single core CPU which had XP installed on it that worked just fine for most things... Until it got access to the internet. Then it was screaming for help. Of course I knew it was because of the internet connection, but now I know the exact reason.

  • @roxtaramir
    @roxtaramir Місяць тому

    I feel like i just read the first half of the article telling me why I've got the problem I've got and then the power went out or smth 🤦🏾‍♂️

  • @genericgamingyoutuber
    @genericgamingyoutuber Місяць тому

    As someone with adhd, no that will make you sound insane

  • @iron2000
    @iron2000 Місяць тому

    I thought there will be a 'how to fix it' part.

  • @imqqmi
    @imqqmi Місяць тому

    I had a laptop once from a customer with stuttery behaviour. The cause? Chicken soup! Moral of the story never drop chicken soup on your computer lol!

  • @jayfangRSA
    @jayfangRSA Місяць тому

    I refused my mom's interrupt request to do the dishes and kept gaming. Yet I still ended up with a thrashing 😉

  • @joshuamidgette4846
    @joshuamidgette4846 Місяць тому

    Multi core cpu's should use one or two cores to handle these stalls before they effect the user.

  • @MsUltrafox
    @MsUltrafox Місяць тому

    And online gamers sometimes have the problem of getting DDossed.

  • @joseabraham777
    @joseabraham777 Місяць тому

    Excellent subject.

  • @MageThief
    @MageThief Місяць тому

    2:01 the car that drives against all the other cars.

    • @smashed_penguin
      @smashed_penguin Місяць тому +1

      *insert joke about Americans not understanding roundabouts*

  • @gone_baby_gone
    @gone_baby_gone Місяць тому

    wish you'd release this video earlier, had this exact bug that drowe me nuts. Turhed out that my motherboard didnt like "usb - to - usb type c" connector from aliexpress, two whole days I spent on troubleshooting

  • @zizimugen4470
    @zizimugen4470 Місяць тому

    My Mac mini m1 is still smooth as butter. My windows pc that I built after that, doesn’t get used often, and is for only gaming. Still, it just… ugh. Windows.

  • @queden1841
    @queden1841 8 днів тому

    4:59 I was literly just thinking hey that sounds like adhd

  • @armsofzeus
    @armsofzeus Місяць тому

    I'm a bit confused. I took an OS class, and we covered interrupts, but it is specific to user and kernel interrupts within the OS. So does the hardware have a separate interrupt process, or am I just interpreting things wrong.