{"video_id":"dvkDKucAI1M","title":"How does Windows utilize Hyperthreaded cores? - The Workshop","channel":"Linus Tech Tips","show":"Linus Tech Tips","published_at":"2016-05-06T14:53:29Z","duration_s":449,"segments":[{"start_s":0.0,"end_s":6.96,"text":"hyperthreading is a feature that's been on high-end Intel CPUs for a long time","speaker":null,"is_sponsor":0},{"start_s":4.92,"end_s":12.519,"text":"but has often been misunderstood by the community almost as a whole today we're","speaker":null,"is_sponsor":0},{"start_s":9.92,"end_s":17.08,"text":"going to check out how actually it works on a Windows level how applications are","speaker":null,"is_sponsor":0},{"start_s":15.08,"end_s":24.839,"text":"interacting with it and what happens when you put load on actual","speaker":null,"is_sponsor":0},{"start_s":27.4,"end_s":34.0,"text":"threads the master case 5 by Cooler Master gives you the freedom to truly","speaker":null,"is_sponsor":0},{"start_s":31.519,"end_s":37.239,"text":"make your midtower PC case your own with a variety of modular parts and","speaker":null,"is_sponsor":0},{"start_s":35.76,"end_s":40.76,"text":"accessories check out the link in the video description to learn more many","speaker":null,"is_sponsor":0},{"start_s":39.48,"end_s":47.6,"text":"people are vaguely aware that hyperthreading improves performance of certain applications by making one CPU","speaker":null,"is_sponsor":0},{"start_s":44.879,"end_s":51.879,"text":"core behave as two so it can split the workload up more effectively but how","speaker":null,"is_sponsor":0},{"start_s":49.68,"end_s":55.6,"text":"does it work exactly many people seem to assume that there's a difference between","speaker":null,"is_sponsor":0},{"start_s":53.96,"end_s":60.079,"text":"real cores and hyperthreaded cores I mean it makes sense right once you get","speaker":null,"is_sponsor":0},{"start_s":57.52,"end_s":63.64,"text":"into your system Windows is going to see eight if you have eight hyperthreaded","speaker":null,"is_sponsor":0},{"start_s":62.199,"end_s":67.56,"text":"cores and then some of them will probably be weaker than others is that","speaker":null,"is_sponsor":0},{"start_s":65.479,"end_s":72.4,"text":"really how it works I mean Intel's own specs can be a bit confusing core i7s","speaker":null,"is_sponsor":0},{"start_s":69.96,"end_s":76.36,"text":"usually have four and then in Brackets eight listed as their number of cores","speaker":null,"is_sponsor":0},{"start_s":74.52,"end_s":81.04,"text":"does that mean that there are four subordinate cores or something are are","speaker":null,"is_sponsor":0},{"start_s":78.759,"end_s":84.0,"text":"are are the four extra cores weaker to start answering things instead of just","speaker":null,"is_sponsor":0},{"start_s":82.52,"end_s":88.4,"text":"repeatedly asking questions for the entire video open up toce manager on any","speaker":null,"is_sponsor":0},{"start_s":86.56,"end_s":93.52,"text":"system that has an i7 in it or a hyperthreaded CPU you'll see that all of","speaker":null,"is_sponsor":0},{"start_s":91.32,"end_s":98.72,"text":"the cores in the current case of this system the","speaker":null,"is_sponsor":0},{"start_s":94.64,"end_s":101.159,"text":"4790k it displays eight CPUs all of","speaker":null,"is_sponsor":0},{"start_s":98.72,"end_s":106.0,"text":"which show as the same thing that's because there is eight logical cores in","speaker":null,"is_sponsor":0},{"start_s":103.799,"end_s":111.719,"text":"the system when you read Intel spec sheet the four is for physical cores the","speaker":null,"is_sponsor":0},{"start_s":109.399,"end_s":116.079,"text":"eight is for what those physical cores result in which is eight logical cores","speaker":null,"is_sponsor":0},{"start_s":114.24,"end_s":119.24,"text":"that doesn't mean you have 12 cores that doesn't mean you have eight cores","speaker":null,"is_sponsor":0},{"start_s":117.84,"end_s":123.439,"text":"physically that means you have four cores physically physically and eight","speaker":null,"is_sponsor":0},{"start_s":121.0,"end_s":128.52,"text":"cores logically different things they don't add together very different things","speaker":null,"is_sponsor":0},{"start_s":126.2,"end_s":132.68,"text":"so how did these cores actually behave to find out we use unraid to set up two","speaker":null,"is_sponsor":0},{"start_s":130.44,"end_s":137.28,"text":"Windows Virtual machines we signed each VM four logical cores out of eight total","speaker":null,"is_sponsor":0},{"start_s":135.8,"end_s":142.36,"text":"then we ran some benchmarks to see if Windows actually cares whe which logical","speaker":null,"is_sponsor":0},{"start_s":140.08,"end_s":145.72,"text":"core it's using and to see if there's any preference between them if one of","speaker":null,"is_sponsor":0},{"start_s":144.0,"end_s":150.08,"text":"them is actually better than the other one some people on Forum seem to be","speaker":null,"is_sponsor":0},{"start_s":148.12,"end_s":154.8,"text":"under the impression that half of them like 0 1 2 and three in terms of cores","speaker":null,"is_sponsor":0},{"start_s":152.239,"end_s":159.68,"text":"are real cores and half of them four five six and seven are just the the","speaker":null,"is_sponsor":0},{"start_s":157.44,"end_s":166.0,"text":"extra hyperthreads so we're going to see how that works results showed virtually","speaker":null,"is_sponsor":0},{"start_s":162.48,"end_s":169.08,"text":"no difference cin bench got between 62","speaker":null,"is_sponsor":0},{"start_s":166.0,"end_s":171.28,"text":"and 625 per VM when we ran them","speaker":null,"is_sponsor":0},{"start_s":169.08,"end_s":177.56,"text":"separately when we ran them both at the same time they both got exactly","speaker":null,"is_sponsor":0},{"start_s":175.04,"end_s":181.72,"text":"383 so it looks like there's a bit of a performance hit even though the VM","speaker":null,"is_sponsor":0},{"start_s":179.319,"end_s":186.159,"text":"completely Ely separates its logical cores but at the end of the day the","speaker":null,"is_sponsor":0},{"start_s":183.959,"end_s":192.12,"text":"performance was the same similar story on City skylines which is a fairly CPU","speaker":null,"is_sponsor":0},{"start_s":188.68,"end_s":193.92,"text":"bound game both got 48 FPS when running","speaker":null,"is_sponsor":0},{"start_s":192.12,"end_s":199.64,"text":"separately with the performance dropping to 35 and 31 we ran them at the same","speaker":null,"is_sponsor":0},{"start_s":197.319,"end_s":204.799,"text":"time so there was the difference but not a huge one and due to City skylines not","speaker":null,"is_sponsor":0},{"start_s":201.84,"end_s":208.04,"text":"being our most consistent Benchmark it might come down to just slightly","speaker":null,"is_sponsor":0},{"start_s":206.2,"end_s":212.36,"text":"differences within the game we looked at it much more deeply with s zip running","speaker":null,"is_sponsor":0},{"start_s":210.36,"end_s":218.48,"text":"it simultaneously on both VMS gave nearly identical results between 11k and","speaker":null,"is_sponsor":0},{"start_s":215.519,"end_s":223.64,"text":"12K mips but when we ran it on just one it jumped to 17K to or 18K mips starting","speaker":null,"is_sponsor":0},{"start_s":222.04,"end_s":229.2,"text":"one first and then starting the other one a while later while it was running","speaker":null,"is_sponsor":0},{"start_s":226.2,"end_s":231.239,"text":"allowed us to see this balancing in real","speaker":null,"is_sponsor":0},{"start_s":229.2,"end_s":234.879,"text":"time it was interesting to watch as the processes were running the one you","speaker":null,"is_sponsor":0},{"start_s":232.959,"end_s":238.28,"text":"started first would be running faster at the beginning but over time they would","speaker":null,"is_sponsor":0},{"start_s":236.76,"end_s":241.959,"text":"start to equal out and it didn't actually take that long these results","speaker":null,"is_sponsor":0},{"start_s":240.079,"end_s":247.239,"text":"seem to make sense as hyperthreading works by sending threads to whatever the","speaker":null,"is_sponsor":0},{"start_s":244.599,"end_s":252.159,"text":"physical core actually has free to process instructions it doesn't split","speaker":null,"is_sponsor":0},{"start_s":249.959,"end_s":257.239,"text":"the physical cores into two things and leave the other half unutilized so if","speaker":null,"is_sponsor":0},{"start_s":255.0,"end_s":260.519,"text":"you have just one thing running it will perform better than if you have two","speaker":null,"is_sponsor":0},{"start_s":258.919,"end_s":265.8,"text":"running what's actually happening is that Windows can schedule two different","speaker":null,"is_sponsor":0},{"start_s":263.04,"end_s":269.72,"text":"threads on one physical core at the same time if the physical core is working on","speaker":null,"is_sponsor":0},{"start_s":267.84,"end_s":275.56,"text":"the first task but still has some resources free it can go ahead and use","speaker":null,"is_sponsor":0},{"start_s":272.479,"end_s":278.68,"text":"its remaining resources to process the","speaker":null,"is_sponsor":0},{"start_s":275.56,"end_s":281.36,"text":"second task so you won't always have a","speaker":null,"is_sponsor":0},{"start_s":278.68,"end_s":286.4,"text":"clean doubling or halfing of performance if you're running One Thing versus two","speaker":null,"is_sponsor":0},{"start_s":283.8,"end_s":290.96,"text":"but you will see substantial performance differences if you're leveraging the","speaker":null,"is_sponsor":0},{"start_s":288.759,"end_s":295.12,"text":"hyperthreading feature on a physical core but there is no real distinction to","speaker":null,"is_sponsor":0},{"start_s":292.919,"end_s":299.56,"text":"draw between The Logical cores on a hyperthreading CPU they're all the same","speaker":null,"is_sponsor":0},{"start_s":297.56,"end_s":304.12,"text":"thing both physically and how a hyper threading aware OS like Windows 10 sees","speaker":null,"is_sponsor":0},{"start_s":301.84,"end_s":307.96,"text":"them so no it's not the same thing as having eight physical cores like at all","speaker":null,"is_sponsor":0},{"start_s":306.36,"end_s":311.32,"text":"but it can be a good way to make sure your CPU Cycles don't go to waste","speaker":null,"is_sponsor":0},{"start_s":309.8,"end_s":316.28,"text":"hopefully that was interesting I'm sure there will be more questions basically","speaker":null,"is_sponsor":0},{"start_s":313.44,"end_s":321.319,"text":"the gist of it is you don't have 8 cores but you have a much more effective way","speaker":null,"is_sponsor":0},{"start_s":318.44,"end_s":326.12,"text":"to utilize the four that you do have today we're highlighting the k7xx","speaker":null,"is_sponsor":0},{"start_s":323.56,"end_s":329.919,"text":"limited edition ruby red headphones from Mast drop of course Mast drop still has","speaker":null,"is_sponsor":0},{"start_s":327.8,"end_s":333.479,"text":"a bunch of other cool products you can check out in the link in the video","speaker":null,"is_sponsor":0},{"start_s":331.4,"end_s":337.72,"text":"description also and hopefully you guys know about Mast drop by now but if not","speaker":null,"is_sponsor":0},{"start_s":335.759,"end_s":341.759,"text":"the concept is actually pretty simple the more people commit to purchase a","speaker":null,"is_sponsor":0},{"start_s":339.72,"end_s":346.28,"text":"certain product the lower the price of that product actually goes the product","speaker":null,"is_sponsor":0},{"start_s":344.44,"end_s":351.4,"text":"we're showcasing today is the same spec-wise as the k7xx headphones that","speaker":null,"is_sponsor":0},{"start_s":349.319,"end_s":356.12,"text":"lonus reviewed last year you can check that video out up here the only real","speaker":null,"is_sponsor":0},{"start_s":354.0,"end_s":360.24,"text":"difference is that this run uses red accents on the ear cups and headband","speaker":null,"is_sponsor":0},{"start_s":358.52,"end_s":364.0,"text":"remember that this is a limited drop so if you want a pair you're going to have","speaker":null,"is_sponsor":0},{"start_s":361.759,"end_s":368.12,"text":"to act uh pretty fast these headphones were configured by mass drop and","speaker":null,"is_sponsor":0},{"start_s":365.479,"end_s":372.599,"text":"manufactured by AKG they're open backed headphones with large cushiony ear cups","speaker":null,"is_sponsor":0},{"start_s":370.4,"end_s":377.24,"text":"they feature a flat wire voice coil ver motion two-layer diaphragm genuine","speaker":null,"is_sponsor":0},{"start_s":374.919,"end_s":381.72,"text":"leather headband memory foam ear pads with vure covering a 2-year warranty","speaker":null,"is_sponsor":0},{"start_s":379.56,"end_s":387.12,"text":"covered by massdrop and you can order outside the US but a $25 fee will be","speaker":null,"is_sponsor":0},{"start_s":384.4,"end_s":391.24,"text":"assessed to all International orders so if you want to check them out and grab a","speaker":null,"is_sponsor":0},{"start_s":388.52,"end_s":393.199,"text":"pair of ruby red k7xx headphones head over to the link in the video","speaker":null,"is_sponsor":0},{"start_s":392.24,"end_s":397.08,"text":"description today anyways let me know what you guys","speaker":null,"is_sponsor":0},{"start_s":395.759,"end_s":402.24,"text":"thought about it comments down below don't forget to like it if you thought I did a good job dislike it if you thought","speaker":null,"is_sponsor":0},{"start_s":400.319,"end_s":405.84,"text":"I did do a bad job but don't forget to leave the constructive criticism down","speaker":null,"is_sponsor":0},{"start_s":403.84,"end_s":410.0,"text":"below I would like to know what I can do to be better also be sure to subscribe","speaker":null,"is_sponsor":0},{"start_s":408.8,"end_s":415.599,"text":"if you want to see more of our videos use our Amazon affiliate code to buy stuff cuz like that's cool I don't know","speaker":null,"is_sponsor":0},{"start_s":413.96,"end_s":418.28,"text":"that's pretty awesome also we have shirts not this one but they're in the","speaker":null,"is_sponsor":0},{"start_s":416.96,"end_s":423.56,"text":"link in the description down below you can check out some shirts that we have those are also pretty cool and we have a","speaker":null,"is_sponsor":0},{"start_s":421.16,"end_s":426.479,"text":"forum that's like awesome and has new software on it and looks super cool and","speaker":null,"is_sponsor":0},{"start_s":425.199,"end_s":431.039,"text":"like works better and stuff and we're still making tweaks to it there's definitely some things that can still be","speaker":null,"is_sponsor":0},{"start_s":428.96,"end_s":435.12,"text":"improved the store is a little a little broken it's my bad anyways check out","speaker":null,"is_sponsor":0},{"start_s":433.4,"end_s":441.72,"text":"this video there's more information up there about like cool computer stuff I","speaker":null,"is_sponsor":0},{"start_s":437.16,"end_s":444.84,"text":"haven't picked one yet uh but it'll be","speaker":null,"is_sponsor":0},{"start_s":441.72,"end_s":450.039,"text":"cool Daren put something cool up there","speaker":null,"is_sponsor":0},{"start_s":444.84,"end_s":450.039,"text":"feel free to put your own video okay bye","speaker":null,"is_sponsor":0}],"full_text":"hyperthreading is a feature that's been on high-end Intel CPUs for a long time but has often been misunderstood by the community almost as a whole today we're going to check out how actually it works on a Windows level how applications are interacting with it and what happens when you put load on actual threads the master case 5 by Cooler Master gives you the freedom to truly make your midtower PC case your own with a variety of modular parts and accessories check out the link in the video description to learn more many people are vaguely aware that hyperthreading improves performance of certain applications by making one CPU core behave as two so it can split the workload up more effectively but how does it work exactly many people seem to assume that there's a difference between real cores and hyperthreaded cores I mean it makes sense right once you get into your system Windows is going to see eight if you have eight hyperthreaded cores and then some of them will probably be weaker than others is that really how it works I mean Intel's own specs can be a bit confusing core i7s usually have four and then in Brackets eight listed as their number of cores does that mean that there are four subordinate cores or something are are are are the four extra cores weaker to start answering things instead of just repeatedly asking questions for the entire video open up toce manager on any system that has an i7 in it or a hyperthreaded CPU you'll see that all of the cores in the current case of this system the 4790k it displays eight CPUs all of which show as the same thing that's because there is eight logical cores in the system when you read Intel spec sheet the four is for physical cores the eight is for what those physical cores result in which is eight logical cores that doesn't mean you have 12 cores that doesn't mean you have eight cores physically that means you have four cores physically physically and eight cores logically different things they don't add together very different things so how did these cores actually behave to find out we use unraid to set up two Windows Virtual machines we signed each VM four logical cores out of eight total then we ran some benchmarks to see if Windows actually cares whe which logical core it's using and to see if there's any preference between them if one of them is actually better than the other one some people on Forum seem to be under the impression that half of them like 0 1 2 and three in terms of cores are real cores and half of them four five six and seven are just the the extra hyperthreads so we're going to see how that works results showed virtually no difference cin bench got between 62 and 625 per VM when we ran them separately when we ran them both at the same time they both got exactly 383 so it looks like there's a bit of a performance hit even though the VM completely Ely separates its logical cores but at the end of the day the performance was the same similar story on City skylines which is a fairly CPU bound game both got 48 FPS when running separately with the performance dropping to 35 and 31 we ran them at the same time so there was the difference but not a huge one and due to City skylines not being our most consistent Benchmark it might come down to just slightly differences within the game we looked at it much more deeply with s zip running it simultaneously on both VMS gave nearly identical results between 11k and 12K mips but when we ran it on just one it jumped to 17K to or 18K mips starting one first and then starting the other one a while later while it was running allowed us to see this balancing in real time it was interesting to watch as the processes were running the one you started first would be running faster at the beginning but over time they would start to equal out and it didn't actually take that long these results seem to make sense as hyperthreading works by sending threads to whatever the physical core actually has free to process instructions it doesn't split the physical cores into two things and leave the other half unutilized so if you have just one thing running it will perform better than if you have two running what's actually happening is that Windows can schedule two different threads on one physical core at the same time if the physical core is working on the first task but still has some resources free it can go ahead and use its remaining resources to process the second task so you won't always have a clean doubling or halfing of performance if you're running One Thing versus two but you will see substantial performance differences if you're leveraging the hyperthreading feature on a physical core but there is no real distinction to draw between The Logical cores on a hyperthreading CPU they're all the same thing both physically and how a hyper threading aware OS like Windows 10 sees them so no it's not the same thing as having eight physical cores like at all but it can be a good way to make sure your CPU Cycles don't go to waste hopefully that was interesting I'm sure there will be more questions basically the gist of it is you don't have 8 cores but you have a much more effective way to utilize the four that you do have today we're highlighting the k7xx limited edition ruby red headphones from Mast drop of course Mast drop still has a bunch of other cool products you can check out in the link in the video description also and hopefully you guys know about Mast drop by now but if not the concept is actually pretty simple the more people commit to purchase a certain product the lower the price of that product actually goes the product we're showcasing today is the same spec-wise as the k7xx headphones that lonus reviewed last year you can check that video out up here the only real difference is that this run uses red accents on the ear cups and headband remember that this is a limited drop so if you want a pair you're going to have to act uh pretty fast these headphones were configured by mass drop and manufactured by AKG they're open backed headphones with large cushiony ear cups they feature a flat wire voice coil ver motion two-layer diaphragm genuine leather headband memory foam ear pads with vure covering a 2-year warranty covered by massdrop and you can order outside the US but a $25 fee will be assessed to all International orders so if you want to check them out and grab a pair of ruby red k7xx headphones head over to the link in the video description today anyways let me know what you guys thought about it comments down below don't forget to like it if you thought I did a good job dislike it if you thought I did do a bad job but don't forget to leave the constructive criticism down below I would like to know what I can do to be better also be sure to subscribe if you want to see more of our videos use our Amazon affiliate code to buy stuff cuz like that's cool I don't know that's pretty awesome also we have shirts not this one but they're in the link in the description down below you can check out some shirts that we have those are also pretty cool and we have a forum that's like awesome and has new software on it and looks super cool and like works better and stuff and we're still making tweaks to it there's definitely some things that can still be improved the store is a little a little broken it's my bad anyways check out this video there's more information up there about like cool computer stuff I haven't picked one yet uh but it'll be cool Daren put something cool up there feel free to put your own video okay bye"}