{"video_id":"Cup6uH0_8z8","title":"Why Fast PCs Stutter (Interrupts Explained)","channel":"Techquickie","show":"Techquickie","published_at":"2025-05-04T14:58:16Z","duration_s":328,"segments":[{"start_s":0.08,"end_s":6.839,"text":"so you've got all the best hardware CPU","speaker":null,"is_sponsor":0},{"start_s":3.24,"end_s":10.08,"text":"GPU ssds the good stuff but for some","speaker":null,"is_sponsor":0},{"start_s":6.839,"end_s":11.639,"text":"reason your rig is still slow despite","speaker":null,"is_sponsor":0},{"start_s":10.08,"end_s":17.199,"text":"having the best of the best you're experiencing noticeable stuttering and","speaker":null,"is_sponsor":0},{"start_s":14.0,"end_s":18.8,"text":"serious downtime well I'm no doctor but","speaker":null,"is_sponsor":0},{"start_s":17.199,"end_s":24.16,"text":"it's possible that your system is getting spammed by interrupt requests","speaker":null,"is_sponsor":0},{"start_s":21.8,"end_s":28.08,"text":"interrupt requests typically aren't a bad thing in fact they're essential to","speaker":null,"is_sponsor":0},{"start_s":26.16,"end_s":32.16,"text":"the basic momentto moment functioning of your computer sometimes in order order","speaker":null,"is_sponsor":0},{"start_s":30.16,"end_s":37.0,"text":"to take an action your system needs to ask the processor to interrupt code that","speaker":null,"is_sponsor":0},{"start_s":34.76,"end_s":41.52,"text":"is currently being executed if the processor accepts the request it pauses","speaker":null,"is_sponsor":0},{"start_s":39.399,"end_s":46.76,"text":"its activity saves its state and executes an interrupt Handler otherwise","speaker":null,"is_sponsor":0},{"start_s":44.12,"end_s":51.52,"text":"known as an interrupt service routine or ISR after the new task is finished the","speaker":null,"is_sponsor":0},{"start_s":49.64,"end_s":56.52,"text":"processor resumes the interrupted process but not just any task gets to","speaker":null,"is_sponsor":0},{"start_s":54.559,"end_s":61.16,"text":"burst in like the Kool-Aid man and demand to take Center Stage your","speaker":null,"is_sponsor":0},{"start_s":58.879,"end_s":66.72,"text":"computer runs BAS based on a strict hierarchy of priority essential urgent","speaker":null,"is_sponsor":0},{"start_s":64.199,"end_s":72.6,"text":"tasks come first and can interrupt any other task nonessential non-urgent tasks","speaker":null,"is_sponsor":0},{"start_s":69.96,"end_s":77.6,"text":"will either share available resources or wait in line for their turn handing over","speaker":null,"is_sponsor":0},{"start_s":74.84,"end_s":82.24,"text":"control when necessary to more important processes then there's tasks in the","speaker":null,"is_sponsor":0},{"start_s":79.92,"end_s":87.079,"text":"middle urgent enough to interrupt low priority tasks but not so urgent that","speaker":null,"is_sponsor":0},{"start_s":84.759,"end_s":91.24,"text":"they get actioned immediately over anything else we all know the feeling","speaker":null,"is_sponsor":0},{"start_s":89.759,"end_s":95.72,"text":"however however some critically important interrupt requests will come","speaker":null,"is_sponsor":0},{"start_s":93.32,"end_s":99.68,"text":"with a timeout counter that resets the system if it's unable to run its","speaker":null,"is_sponsor":0},{"start_s":97.28,"end_s":104.399,"text":"essential task before the time runs out while the system can decide when and if","speaker":null,"is_sponsor":0},{"start_s":102.24,"end_s":109.64,"text":"it will accept an interrupt request once that interrupt is accepted and its","speaker":null,"is_sponsor":0},{"start_s":106.399,"end_s":111.759,"text":"action is in progress the CPU or GPU","speaker":null,"is_sponsor":0},{"start_s":109.64,"end_s":115.759,"text":"servicing the request cannot be interacted with by the rest of the","speaker":null,"is_sponsor":0},{"start_s":113.399,"end_s":120.68,"text":"system most interrupts happen quickly and seamlessly but longer than usual","speaker":null,"is_sponsor":0},{"start_s":118.52,"end_s":125.039,"text":"interrupts or large large numbers of interrupt requests can cause stuttering","speaker":null,"is_sponsor":0},{"start_s":122.88,"end_s":130.08,"text":"or result in dropped packets and higher latency when networking longer than","speaker":null,"is_sponsor":0},{"start_s":127.6,"end_s":134.56,"text":"usual interrupts are often the result of misbehaving Hardware but some devices","speaker":null,"is_sponsor":0},{"start_s":132.44,"end_s":138.4,"text":"like Wi-Fi adapters flood the system with interrupt requests which increases","speaker":null,"is_sponsor":0},{"start_s":136.72,"end_s":142.599,"text":"the likelihood that part of the system will stall there are also times when","speaker":null,"is_sponsor":0},{"start_s":140.56,"end_s":147.68,"text":"bugs and glitches have caused the usually clear hierarchy of priority to","speaker":null,"is_sponsor":0},{"start_s":145.28,"end_s":152.599,"text":"get jumbled leading to perhaps the most severe consequence of interrupt requests","speaker":null,"is_sponsor":0},{"start_s":150.12,"end_s":157.64,"text":"a little thing called priority inversion or thrashing we'll explain what that is","speaker":null,"is_sponsor":0},{"start_s":155.68,"end_s":162.72,"text":"and how to avoid it after we say thanks to our sponsor Corsair Corsair custom","speaker":null,"is_sponsor":1},{"start_s":160.48,"end_s":167.28,"text":"lab allows you to create a gaming setup as unique as you are start with a","speaker":null,"is_sponsor":1},{"start_s":164.8,"end_s":171.56,"text":"product like their K65 plus wireless keyboard and select from a variety of","speaker":null,"is_sponsor":1},{"start_s":169.28,"end_s":176.44,"text":"different themed key caps to match your style from there you can add a mouse and","speaker":null,"is_sponsor":1},{"start_s":173.879,"end_s":180.12,"text":"a mouse pad to complete the look Corsair handles all the heavy lifting for you","speaker":null,"is_sponsor":1},{"start_s":178.36,"end_s":183.64,"text":"just make your Custom Creation and they'll build it and ship it right to","speaker":null,"is_sponsor":1},{"start_s":181.92,"end_s":188.68,"text":"you learn more at the link in the description priority inversion is a","speaker":null,"is_sponsor":1},{"start_s":186.319,"end_s":193.4,"text":"situation where the strict task priority hierarchy that allows a computer to make","speaker":null,"is_sponsor":0},{"start_s":190.519,"end_s":198.319,"text":"decisions is violated this can happen when a high priority and low priority","speaker":null,"is_sponsor":0},{"start_s":195.84,"end_s":202.56,"text":"task both need to use a resource that can only do one task at a time if the","speaker":null,"is_sponsor":0},{"start_s":200.4,"end_s":207.68,"text":"low priority task is running and it gets interrupted by a medium priority task","speaker":null,"is_sponsor":0},{"start_s":205.12,"end_s":211.64,"text":"that doesn't need the specific exclusive resource that it's using that might","speaker":null,"is_sponsor":0},{"start_s":209.4,"end_s":216.08,"text":"trigger a bug that causes the low priority task to refuse to relinquish","speaker":null,"is_sponsor":0},{"start_s":213.959,"end_s":220.4,"text":"its hold if the system then attempts to run a high priority task that requires","speaker":null,"is_sponsor":0},{"start_s":218.599,"end_s":225.36,"text":"that exclusive resource it will be inadvertently blocked by the interrupt","speaker":null,"is_sponsor":0},{"start_s":222.84,"end_s":230.28,"text":"instigated by the medium priority task this can then cause the system to stall","speaker":null,"is_sponsor":0},{"start_s":227.76,"end_s":236.319,"text":"and time out and it's exactly what happened to the sojer Rover on Mars in","speaker":null,"is_sponsor":0},{"start_s":233.36,"end_s":240.36,"text":"1997 the Rover's low priority weather data collection task required an","speaker":null,"is_sponsor":0},{"start_s":238.36,"end_s":245.0,"text":"exclusive lock on the Rover's information bus this task was then","speaker":null,"is_sponsor":0},{"start_s":242.72,"end_s":249.959,"text":"interrupted and paused by a long duration medium priority communication","speaker":null,"is_sponsor":0},{"start_s":247.4,"end_s":255.04,"text":"task which held that exclusive lock on the information bus in place this then","speaker":null,"is_sponsor":0},{"start_s":252.64,"end_s":260.079,"text":"inadvertently blocked a high priority task from servicing the information bus","speaker":null,"is_sponsor":0},{"start_s":257.72,"end_s":264.68,"text":"the Rover system would then time out and initiate a full system reset this","speaker":null,"is_sponsor":0},{"start_s":262.759,"end_s":270.6,"text":"happened four times and was only resolved by the most remote of remote","speaker":null,"is_sponsor":0},{"start_s":267.32,"end_s":272.72,"text":"debugging NASA used a double of sojer","speaker":null,"is_sponsor":0},{"start_s":270.6,"end_s":277.4,"text":"back on Earth to test a solution and then sent the patch to the robot on Mars","speaker":null,"is_sponsor":0},{"start_s":274.96,"end_s":282.919,"text":"resolving the issue while your computer is in many ways more sophisticated than","speaker":null,"is_sponsor":0},{"start_s":279.639,"end_s":285.199,"text":"a computer from 1997 even a cool robot","speaker":null,"is_sponsor":0},{"start_s":282.919,"end_s":288.639,"text":"space computer it's still vulnerable to the Slowdown that comes with your","speaker":null,"is_sponsor":0},{"start_s":286.68,"end_s":294.16,"text":"computer spending its valuable processing power deciding what to do","speaker":null,"is_sponsor":0},{"start_s":291.199,"end_s":297.36,"text":"rather than just doing it not to mention the errors that can happen when your","speaker":null,"is_sponsor":0},{"start_s":295.56,"end_s":302.32,"text":"machine is trying to juggle several tasks at once so if you have ad8 D like","speaker":null,"is_sponsor":0},{"start_s":300.36,"end_s":306.4,"text":"me and somebody just criticizes you for your indecisiveness and procrastination","speaker":null,"is_sponsor":0},{"start_s":304.72,"end_s":311.4,"text":"just tell them you're experiencing an unfortunate priority inversion and","speaker":null,"is_sponsor":0},{"start_s":308.6,"end_s":315.24,"text":"consequent thrashing it worked for me you know what else worked for me you","speaker":null,"is_sponsor":0},{"start_s":313.0,"end_s":318.199,"text":"watching this whole video thanks so much like the video if you liked it dislike","speaker":null,"is_sponsor":1},{"start_s":316.72,"end_s":321.36,"text":"it if you disliked it check out our other videos comment below with video","speaker":null,"is_sponsor":1},{"start_s":320.0,"end_s":325.199,"text":"suggestions and don't forget to subscribe and follow after you get","speaker":null,"is_sponsor":1},{"start_s":323.12,"end_s":329.8,"text":"through the the Quee of things that you have to think about before and then do","speaker":null,"is_sponsor":1},{"start_s":327.16,"end_s":329.8,"text":"it","speaker":null,"is_sponsor":1}],"full_text":"so you've got all the best hardware CPU GPU ssds the good stuff but for some reason your rig is still slow despite having the best of the best you're experiencing noticeable stuttering and serious downtime well I'm no doctor but it's possible that your system is getting spammed by interrupt requests interrupt requests typically aren't a bad thing in fact they're essential to the basic momentto moment functioning of your computer sometimes in order order to take an action your system needs to ask the processor to interrupt code that is currently being executed if the processor accepts the request it pauses its activity saves its state and executes an interrupt Handler otherwise known as an interrupt service routine or ISR after the new task is finished the processor resumes the interrupted process but not just any task gets to burst in like the Kool-Aid man and demand to take Center Stage your computer runs BAS based on a strict hierarchy of priority essential urgent tasks come first and can interrupt any other task nonessential non-urgent tasks will either share available resources or wait in line for their turn handing over control when necessary to more important processes then there's tasks in the middle urgent enough to interrupt low priority tasks but not so urgent that they get actioned immediately over anything else we all know the feeling however however some critically important interrupt requests will come with a timeout counter that resets the system if it's unable to run its essential task before the time runs out while the system can decide when and if it will accept an interrupt request once that interrupt is accepted and its action is in progress the CPU or GPU servicing the request cannot be interacted with by the rest of the system most interrupts happen quickly and seamlessly but longer than usual interrupts or large large numbers of interrupt requests can cause stuttering or result in dropped packets and higher latency when networking longer than usual interrupts are often the result of misbehaving Hardware but some devices like Wi-Fi adapters flood the system with interrupt requests which increases the likelihood that part of the system will stall there are also times when bugs and glitches have caused the usually clear hierarchy of priority to get jumbled leading to perhaps the most severe consequence of interrupt requests a little thing called priority inversion or thrashing we'll explain what that is and how to avoid it after we say thanks to our sponsor Corsair Corsair custom lab allows you to create a gaming setup as unique as you are start with a product like their K65 plus wireless keyboard and select from a variety of different themed key caps to match your style from there you can add a mouse and a mouse pad to complete the look Corsair handles all the heavy lifting for you just make your Custom Creation and they'll build it and ship it right to you learn more at the link in the description priority inversion is a situation where the strict task priority hierarchy that allows a computer to make decisions is violated this can happen when a high priority and low priority task both need to use a resource that can only do one task at a time if the low priority task is running and it gets interrupted by a medium priority task that doesn't need the specific exclusive resource that it's using that might trigger a bug that causes the low priority task to refuse to relinquish its hold if the system then attempts to run a high priority task that requires that exclusive resource it will be inadvertently blocked by the interrupt instigated by the medium priority task this can then cause the system to stall and time out and it's exactly what happened to the sojer Rover on Mars in 1997 the Rover's low priority weather data collection task required an exclusive lock on the Rover's information bus this task was then interrupted and paused by a long duration medium priority communication task which held that exclusive lock on the information bus in place this then inadvertently blocked a high priority task from servicing the information bus the Rover system would then time out and initiate a full system reset this happened four times and was only resolved by the most remote of remote debugging NASA used a double of sojer back on Earth to test a solution and then sent the patch to the robot on Mars resolving the issue while your computer is in many ways more sophisticated than a computer from 1997 even a cool robot space computer it's still vulnerable to the Slowdown that comes with your computer spending its valuable processing power deciding what to do rather than just doing it not to mention the errors that can happen when your machine is trying to juggle several tasks at once so if you have ad8 D like me and somebody just criticizes you for your indecisiveness and procrastination just tell them you're experiencing an unfortunate priority inversion and consequent thrashing it worked for me you know what else worked for me you watching this whole video thanks so much like the video if you liked it dislike it if you disliked it check out our other videos comment below with video suggestions and don't forget to subscribe and follow after you get through the the Quee of things that you have to think about before and then do it"}