{"video_id":"uoJKwTkN-6c","title":"What's Inside A CPU Core?","channel":"Techquickie","show":"Techquickie","published_at":"2022-05-05T14:58:16Z","duration_s":261,"segments":[{"start_s":0.08,"end_s":5.44,"text":"we've gotten used to throwing around the term CPU core the part of your processor","speaker":null,"is_sponsor":0},{"start_s":4.0,"end_s":10.0,"text":"that does the actual you know processing we understand that","speaker":null,"is_sponsor":0},{"start_s":7.919,"end_s":14.719,"text":"more cores are usually better especially for applications like video editing but","speaker":null,"is_sponsor":0},{"start_s":12.08,"end_s":19.68,"text":"what exactly makes a core different from the rest of the CPU and how exactly do","speaker":null,"is_sponsor":0},{"start_s":17.279,"end_s":24.72,"text":"they work it's probably useful to first define what a core is not","speaker":null,"is_sponsor":0},{"start_s":22.08,"end_s":28.8,"text":"cores don't handle io or input output from the rest of the system as there's a","speaker":null,"is_sponsor":0},{"start_s":26.88,"end_s":33.04,"text":"separate part of the CPU die that deals with that nor do they provide you with","speaker":null,"is_sponsor":0},{"start_s":31.039,"end_s":37.68,"text":"the graphics that is the responsibility of an integrated GPU which also sits on","speaker":null,"is_sponsor":0},{"start_s":35.52,"end_s":42.239,"text":"a different part of the die so now let's look at what a core does do by talking","speaker":null,"is_sponsor":0},{"start_s":39.92,"end_s":46.64,"text":"about the different parts of a core let's start out with the alu or","speaker":null,"is_sponsor":0},{"start_s":44.239,"end_s":49.92,"text":"arithmetic logic unit the alu does exactly what it sounds like it's the","speaker":null,"is_sponsor":0},{"start_s":48.079,"end_s":54.16,"text":"part of your computer that does the thinking more specifically it handles","speaker":null,"is_sponsor":0},{"start_s":52.239,"end_s":58.239,"text":"mathematical operations and also carries out logical operations such as comparing","speaker":null,"is_sponsor":0},{"start_s":56.399,"end_s":61.84,"text":"different values although this might make the alu sound like a fancy","speaker":null,"is_sponsor":0},{"start_s":60.0,"end_s":66.24,"text":"calculator the programming languages that enable everything you do on your","speaker":null,"is_sponsor":0},{"start_s":63.44,"end_s":71.04,"text":"computer rely on math and formal logic that the alu can understand cores often","speaker":null,"is_sponsor":0},{"start_s":68.96,"end_s":75.36,"text":"also have a floating point unit which is similar to an alu but deals with number","speaker":null,"is_sponsor":0},{"start_s":73.439,"end_s":78.24,"text":"sets that have their decimal points in different places and you can learn more","speaker":null,"is_sponsor":0},{"start_s":76.96,"end_s":83.36,"text":"about what this means and why it's important in this video right up here","speaker":null,"is_sponsor":0},{"start_s":80.72,"end_s":88.72,"text":"but how do the alu and the fpu know what to work on well data is fed to","speaker":null,"is_sponsor":0},{"start_s":86.24,"end_s":93.68,"text":"these units by registers these are temporary holding places for whatever","speaker":null,"is_sponsor":0},{"start_s":90.72,"end_s":97.759,"text":"the CPU core has to process next one type of register called an input","speaker":null,"is_sponsor":0},{"start_s":95.6,"end_s":102.079,"text":"register holds the data that the CPU needs to process while another type of","speaker":null,"is_sponsor":0},{"start_s":99.68,"end_s":106.96,"text":"register called an instruction register tells the CPU what to do with that data","speaker":null,"is_sponsor":0},{"start_s":104.96,"end_s":111.439,"text":"so if the system needs to multiply six and three it will place six and three","speaker":null,"is_sponsor":0},{"start_s":109.04,"end_s":115.04,"text":"into the input registers and a multiply instruction into the instruction","speaker":null,"is_sponsor":0},{"start_s":112.96,"end_s":118.96,"text":"register we'll tell you more after this message from our sponsor secret lab","speaker":null,"is_sponsor":0},{"start_s":117.119,"end_s":123.36,"text":"secret lab chairs are engineered to keep you incredibly comfortable for long","speaker":null,"is_sponsor":0},{"start_s":120.56,"end_s":127.68,"text":"hours at work or play their new titan evo 2022 chair keeps you feeling","speaker":null,"is_sponsor":0},{"start_s":125.759,"end_s":132.16,"text":"comfortable for longer hours with their 4-way lumbar support ultra-comfortable","speaker":null,"is_sponsor":0},{"start_s":130.08,"end_s":135.92,"text":"line of different seat material and more all chairs come with an up to 5-year","speaker":null,"is_sponsor":0},{"start_s":133.76,"end_s":139.04,"text":"extended warranty and 49-day return policy head to the link in the","speaker":null,"is_sponsor":0},{"start_s":137.2,"end_s":144.08,"text":"description and check out secret lab today the alu will then figure out the","speaker":null,"is_sponsor":0},{"start_s":141.599,"end_s":148.72,"text":"product 18 in this case and send the result to yet another part of the core","speaker":null,"is_sponsor":0},{"start_s":146.319,"end_s":153.2,"text":"called an accumulator the accumulator then sends the result to","speaker":null,"is_sponsor":0},{"start_s":151.2,"end_s":156.879,"text":"the cash which is a small amount of extremely fast memory built into each","speaker":null,"is_sponsor":0},{"start_s":156.0,"end_s":162.879,"text":"core this data can then be read by the program that requests it and by the way","speaker":null,"is_sponsor":0},{"start_s":160.72,"end_s":166.48,"text":"the cache sends data the other direction as well specifically it holds the data","speaker":null,"is_sponsor":0},{"start_s":164.959,"end_s":170.64,"text":"and the instruction the CPU has to process and execute before that data","speaker":null,"is_sponsor":0},{"start_s":168.72,"end_s":174.879,"text":"enters the alu now at the beginning of all this the data is initially fetched","speaker":null,"is_sponsor":0},{"start_s":172.56,"end_s":179.76,"text":"from your main system RAM but having it in the cache before the cores need to","speaker":null,"is_sponsor":0},{"start_s":176.72,"end_s":181.76,"text":"process it makes your pc run much faster","speaker":null,"is_sponsor":0},{"start_s":179.76,"end_s":185.92,"text":"once the CPU core finishes working on one instruction it of course has to move","speaker":null,"is_sponsor":0},{"start_s":183.599,"end_s":190.08,"text":"on to the next one so another part of the core is called the instruction","speaker":null,"is_sponsor":0},{"start_s":187.92,"end_s":193.76,"text":"pointer it contains the location in memory where the CPU should load the","speaker":null,"is_sponsor":0},{"start_s":192.08,"end_s":197.92,"text":"next instruction from but what ties all of it together","speaker":null,"is_sponsor":0},{"start_s":196.56,"end_s":203.36,"text":"to find the answer out we actually have to go outside the cores themselves the","speaker":null,"is_sponsor":0},{"start_s":200.72,"end_s":208.4,"text":"CPU features a memory management unit or mmu that's separate from the cores that","speaker":null,"is_sponsor":0},{"start_s":205.92,"end_s":213.44,"text":"directs the data that flows between RAM and the CPU cores kind of like a traffic","speaker":null,"is_sponsor":0},{"start_s":210.48,"end_s":216.879,"text":"cop and the CPU die also has a control unit that manages the cores by","speaker":null,"is_sponsor":0},{"start_s":215.12,"end_s":222.0,"text":"synchronizing their different parts so that they work together fluidly to do so","speaker":null,"is_sponsor":0},{"start_s":219.68,"end_s":226.799,"text":"the control unit uses a clock signal that runs at a specific clock rate that","speaker":null,"is_sponsor":0},{"start_s":224.56,"end_s":231.44,"text":"same number you see on your CPU or computer's label given in gigahertz or","speaker":null,"is_sponsor":0},{"start_s":229.12,"end_s":234.72,"text":"billions of clock cycles per second fast enough to help you watch this video","speaker":null,"is_sponsor":0},{"start_s":233.28,"end_s":238.48,"text":"so hopefully now you understand the difference between a CPU core and the","speaker":null,"is_sponsor":0},{"start_s":236.72,"end_s":243.68,"text":"other parts of your processor and we know this is a very simplified high","speaker":null,"is_sponsor":0},{"start_s":240.4,"end_s":246.239,"text":"level overview of a very complicated","speaker":null,"is_sponsor":0},{"start_s":243.68,"end_s":249.599,"text":"device like a CPU we don't exactly have time to get into a whole phd","speaker":null,"is_sponsor":0},{"start_s":247.599,"end_s":252.72,"text":"dissertation here on techwiki but maybe you'll find one of those down","speaker":null,"is_sponsor":0},{"start_s":251.12,"end_s":256.4,"text":"in the comments so thanks for watching guys if you like this video hit like hit","speaker":null,"is_sponsor":0},{"start_s":254.239,"end_s":261.84,"text":"subscribe and hit us up in the comments with your suggestions for topics that we","speaker":null,"is_sponsor":0},{"start_s":258.479,"end_s":261.84,"text":"should cover in the future","speaker":null,"is_sponsor":0}],"full_text":"we've gotten used to throwing around the term CPU core the part of your processor that does the actual you know processing we understand that more cores are usually better especially for applications like video editing but what exactly makes a core different from the rest of the CPU and how exactly do they work it's probably useful to first define what a core is not cores don't handle io or input output from the rest of the system as there's a separate part of the CPU die that deals with that nor do they provide you with the graphics that is the responsibility of an integrated GPU which also sits on a different part of the die so now let's look at what a core does do by talking about the different parts of a core let's start out with the alu or arithmetic logic unit the alu does exactly what it sounds like it's the part of your computer that does the thinking more specifically it handles mathematical operations and also carries out logical operations such as comparing different values although this might make the alu sound like a fancy calculator the programming languages that enable everything you do on your computer rely on math and formal logic that the alu can understand cores often also have a floating point unit which is similar to an alu but deals with number sets that have their decimal points in different places and you can learn more about what this means and why it's important in this video right up here but how do the alu and the fpu know what to work on well data is fed to these units by registers these are temporary holding places for whatever the CPU core has to process next one type of register called an input register holds the data that the CPU needs to process while another type of register called an instruction register tells the CPU what to do with that data so if the system needs to multiply six and three it will place six and three into the input registers and a multiply instruction into the instruction register we'll tell you more after this message from our sponsor secret lab secret lab chairs are engineered to keep you incredibly comfortable for long hours at work or play their new titan evo 2022 chair keeps you feeling comfortable for longer hours with their 4-way lumbar support ultra-comfortable line of different seat material and more all chairs come with an up to 5-year extended warranty and 49-day return policy head to the link in the description and check out secret lab today the alu will then figure out the product 18 in this case and send the result to yet another part of the core called an accumulator the accumulator then sends the result to the cash which is a small amount of extremely fast memory built into each core this data can then be read by the program that requests it and by the way the cache sends data the other direction as well specifically it holds the data and the instruction the CPU has to process and execute before that data enters the alu now at the beginning of all this the data is initially fetched from your main system RAM but having it in the cache before the cores need to process it makes your pc run much faster once the CPU core finishes working on one instruction it of course has to move on to the next one so another part of the core is called the instruction pointer it contains the location in memory where the CPU should load the next instruction from but what ties all of it together to find the answer out we actually have to go outside the cores themselves the CPU features a memory management unit or mmu that's separate from the cores that directs the data that flows between RAM and the CPU cores kind of like a traffic cop and the CPU die also has a control unit that manages the cores by synchronizing their different parts so that they work together fluidly to do so the control unit uses a clock signal that runs at a specific clock rate that same number you see on your CPU or computer's label given in gigahertz or billions of clock cycles per second fast enough to help you watch this video so hopefully now you understand the difference between a CPU core and the other parts of your processor and we know this is a very simplified high level overview of a very complicated device like a CPU we don't exactly have time to get into a whole phd dissertation here on techwiki but maybe you'll find one of those down in the comments so thanks for watching guys if you like this video hit like hit subscribe and hit us up in the comments with your suggestions for topics that we should cover in the future"}