1
00:00:00,080 --> 00:00:05,440
we've gotten used to throwing around the term CPU core the part of your processor

2
00:00:04,000 --> 00:00:10,000
that does the actual you know processing we understand that

3
00:00:07,919 --> 00:00:14,719
more cores are usually better especially for applications like video editing but

4
00:00:12,080 --> 00:00:19,680
what exactly makes a core different from the rest of the CPU and how exactly do

5
00:00:17,279 --> 00:00:24,720
they work it's probably useful to first define what a core is not

6
00:00:22,080 --> 00:00:28,800
cores don't handle io or input output from the rest of the system as there's a

7
00:00:26,880 --> 00:00:33,040
separate part of the CPU die that deals with that nor do they provide you with

8
00:00:31,039 --> 00:00:37,680
the graphics that is the responsibility of an integrated GPU which also sits on

9
00:00:35,520 --> 00:00:42,239
a different part of the die so now let's look at what a core does do by talking

10
00:00:39,920 --> 00:00:46,640
about the different parts of a core let's start out with the alu or

11
00:00:44,239 --> 00:00:49,920
arithmetic logic unit the alu does exactly what it sounds like it's the

12
00:00:48,079 --> 00:00:54,160
part of your computer that does the thinking more specifically it handles

13
00:00:52,239 --> 00:00:58,239
mathematical operations and also carries out logical operations such as comparing

14
00:00:56,399 --> 00:01:01,840
different values although this might make the alu sound like a fancy

15
00:01:00,000 --> 00:01:06,240
calculator the programming languages that enable everything you do on your

16
00:01:03,440 --> 00:01:11,040
computer rely on math and formal logic that the alu can understand cores often

17
00:01:08,960 --> 00:01:15,360
also have a floating point unit which is similar to an alu but deals with number

18
00:01:13,439 --> 00:01:18,240
sets that have their decimal points in different places and you can learn more

19
00:01:16,960 --> 00:01:23,360
about what this means and why it's important in this video right up here

20
00:01:20,720 --> 00:01:28,720
but how do the alu and the fpu know what to work on well data is fed to

21
00:01:26,240 --> 00:01:33,680
these units by registers these are temporary holding places for whatever

22
00:01:30,720 --> 00:01:37,759
the CPU core has to process next one type of register called an input

23
00:01:35,600 --> 00:01:42,079
register holds the data that the CPU needs to process while another type of

24
00:01:39,680 --> 00:01:46,960
register called an instruction register tells the CPU what to do with that data

25
00:01:44,960 --> 00:01:51,439
so if the system needs to multiply six and three it will place six and three

26
00:01:49,040 --> 00:01:55,040
into the input registers and a multiply instruction into the instruction

27
00:01:52,960 --> 00:01:58,960
register we'll tell you more after this message from our sponsor secret lab

28
00:01:57,119 --> 00:02:03,360
secret lab chairs are engineered to keep you incredibly comfortable for long

29
00:02:00,560 --> 00:02:07,680
hours at work or play their new titan evo 2022 chair keeps you feeling

30
00:02:05,759 --> 00:02:12,160
comfortable for longer hours with their 4-way lumbar support ultra-comfortable

31
00:02:10,080 --> 00:02:15,920
line of different seat material and more all chairs come with an up to 5-year

32
00:02:13,760 --> 00:02:19,040
extended warranty and 49-day return policy head to the link in the

33
00:02:17,200 --> 00:02:24,080
description and check out secret lab today the alu will then figure out the

34
00:02:21,599 --> 00:02:28,720
product 18 in this case and send the result to yet another part of the core

35
00:02:26,319 --> 00:02:33,200
called an accumulator the accumulator then sends the result to

36
00:02:31,200 --> 00:02:36,879
the cash which is a small amount of extremely fast memory built into each

37
00:02:36,000 --> 00:02:42,879
core this data can then be read by the program that requests it and by the way

38
00:02:40,720 --> 00:02:46,480
the cache sends data the other direction as well specifically it holds the data

39
00:02:44,959 --> 00:02:50,640
and the instruction the CPU has to process and execute before that data

40
00:02:48,720 --> 00:02:54,879
enters the alu now at the beginning of all this the data is initially fetched

41
00:02:52,560 --> 00:02:59,760
from your main system RAM but having it in the cache before the cores need to

42
00:02:56,720 --> 00:03:01,760
process it makes your pc run much faster

43
00:02:59,760 --> 00:03:05,920
once the CPU core finishes working on one instruction it of course has to move

44
00:03:03,599 --> 00:03:10,080
on to the next one so another part of the core is called the instruction

45
00:03:07,920 --> 00:03:13,760
pointer it contains the location in memory where the CPU should load the

46
00:03:12,080 --> 00:03:17,920
next instruction from but what ties all of it together

47
00:03:16,560 --> 00:03:23,360
to find the answer out we actually have to go outside the cores themselves the

48
00:03:20,720 --> 00:03:28,400
CPU features a memory management unit or mmu that's separate from the cores that

49
00:03:25,920 --> 00:03:33,440
directs the data that flows between RAM and the CPU cores kind of like a traffic

50
00:03:30,480 --> 00:03:36,879
cop and the CPU die also has a control unit that manages the cores by

51
00:03:35,120 --> 00:03:42,000
synchronizing their different parts so that they work together fluidly to do so

52
00:03:39,680 --> 00:03:46,799
the control unit uses a clock signal that runs at a specific clock rate that

53
00:03:44,560 --> 00:03:51,440
same number you see on your CPU or computer's label given in gigahertz or

54
00:03:49,120 --> 00:03:54,720
billions of clock cycles per second fast enough to help you watch this video

55
00:03:53,280 --> 00:03:58,480
so hopefully now you understand the difference between a CPU core and the

56
00:03:56,720 --> 00:04:03,680
other parts of your processor and we know this is a very simplified high

57
00:04:00,400 --> 00:04:06,239
level overview of a very complicated

58
00:04:03,680 --> 00:04:09,599
device like a CPU we don't exactly have time to get into a whole phd

59
00:04:07,599 --> 00:04:12,720
dissertation here on techwiki but maybe you'll find one of those down

60
00:04:11,120 --> 00:04:16,400
in the comments so thanks for watching guys if you like this video hit like hit

61
00:04:14,239 --> 00:04:21,840
subscribe and hit us up in the comments with your suggestions for topics that we

62
00:04:18,479 --> 00:04:21,840
should cover in the future
