Jump to content

Is the same speed with more cores/threads better?

Go to solution Solved by Mira Yurizaki,
2 minutes ago, zdemigod said:

So I'm a software engineering student and I just heard my teacher say

"If I have a 2 core procesor that is 2ghz speed, it means each core have 1 ghz for itself"

 

Is this true? I thought each core had 2 ghz available for speed.

No. Each core runs at 2GHz. There's no "pool" of speed that's shared.

2 minutes ago, zdemigod said:

And... Do pc activities consume "cores" or "threads" in multiple threaded applications. But I also heard of "multi core compilation" this uses cores then (counted in pair of threads if the procesor have 8c/16t?)

It depends on what the application is doing and what it wants. An application creates threads to handle some tasks. A web browser for instance spawns threads for handling network traffic, handling the GUI, rendering the HTML, running the JavaScript, and other things. If these threads have things to run, then the OS will put them on cores that are not working on anything at that moment.

2 minutes ago, zdemigod said:

Is there any difference in using cores instead of threads? 

When people talk about "threads" in a processor, what they mean is how many threads from an application that can run on the processor at once. So when you see something like a 4 core/8 thread processor, it means it has 4 physical cores, but the entire processor can handle 8 threads in total (split across 2 threads per core).

 

However the way a core can service two threads at once is that if one thread isn't using all of the execution resources in the core, then the core will see if another thread can use others. So if you have one thread that's doing some simple number crunching with integer numbers, that only takes up some execution resources, leaving the parts that can do floating point with nothing to do. The core then sees if another thread that can use those execution resources is available to run.

 

In short, for the same number of cores, more threads is better. For the same number of threads, more cores is better. So a 4C/8T processor will do better than a 4C/4T processor, but a 8C/8T processor will do better than a 4C/8T processor.

So I'm a software engineering student and I just heard my teacher say

"If I have a 2 core procesor that is 2ghz speed, it means each core have 1 ghz for itself"

 

Is this true? I thought each core had 2 ghz available for speed.

 

And... Do pc activities consume "cores" or "threads" in multiple threaded applications. But I also heard of "multi core compilation" this uses cores then (counted in pair of threads if the procesor have 8c/16t?)

 

Is there any difference in using cores instead of threads? 

 

Sorry if this is a dumb question and thx for the answers.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, zdemigod said:

I just heard my teacher say

Is this a public school, K-12 or a technical college?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Canada EH said:

Is this a public school, K-12 or a technical college?

Is that important? Its a college.

Link to comment
Share on other sites

Link to post
Share on other sites

Because if a professor said that, well, he probably doesn't belong in the teaching position. If 2 core processor is 2Ghz, All cores run a 2Ghz. If 16 core threadripper advertises to run at 3Ghz, all cores run at 3Ghz, not 3/16 Ghz.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, zdemigod said:

So I'm a software engineering student and I just heard my teacher say

"If I have a 2 core procesor that is 2ghz speed, it means each core have 1 ghz for itself"

 

Is this true? I thought each core had 2 ghz available for speed.

No. Each core runs at 2GHz. There's no "pool" of speed that's shared.

2 minutes ago, zdemigod said:

And... Do pc activities consume "cores" or "threads" in multiple threaded applications. But I also heard of "multi core compilation" this uses cores then (counted in pair of threads if the procesor have 8c/16t?)

It depends on what the application is doing and what it wants. An application creates threads to handle some tasks. A web browser for instance spawns threads for handling network traffic, handling the GUI, rendering the HTML, running the JavaScript, and other things. If these threads have things to run, then the OS will put them on cores that are not working on anything at that moment.

2 minutes ago, zdemigod said:

Is there any difference in using cores instead of threads? 

When people talk about "threads" in a processor, what they mean is how many threads from an application that can run on the processor at once. So when you see something like a 4 core/8 thread processor, it means it has 4 physical cores, but the entire processor can handle 8 threads in total (split across 2 threads per core).

 

However the way a core can service two threads at once is that if one thread isn't using all of the execution resources in the core, then the core will see if another thread can use others. So if you have one thread that's doing some simple number crunching with integer numbers, that only takes up some execution resources, leaving the parts that can do floating point with nothing to do. The core then sees if another thread that can use those execution resources is available to run.

 

In short, for the same number of cores, more threads is better. For the same number of threads, more cores is better. So a 4C/8T processor will do better than a 4C/4T processor, but a 8C/8T processor will do better than a 4C/8T processor.

Link to comment
Share on other sites

Link to post
Share on other sites

28 minutes ago, zdemigod said:

If I have a 2 core procesor that is 2ghz speed, it means each core have 1 ghz for itself"

 

More like a 1GHz dual core CPU can do the same amount of work as a 2GHz single core CPU, theoretically.

 

 

CPU: i7-2600K 4751MHz 1.44V (software) --> 1.47V at the back of the socket Motherboard: Asrock Z77 Extreme4 (BCLK: 103.3MHz) CPU Cooler: Noctua NH-D15 RAM: Adata XPG 2x8GB DDR3 (XMP: 2133MHz 10-11-11-30 CR2, custom: 2203MHz 10-11-10-26 CR1 tRFC:230 tREFI:14000) GPU: Asus GTX 1070 Dual (Super Jetstream vbios, +70(2025-2088MHz)/+400(8.8Gbps)) SSD: Samsung 840 Pro 256GB (main boot drive), Transcend SSD370 128GB PSU: Seasonic X-660 80+ Gold Case: Antec P110 Silent, 5 intakes 1 exhaust Monitor: AOC G2460PF 1080p 144Hz (150Hz max w/ DP, 121Hz max w/ HDMI) TN panel Keyboard: Logitech G610 Orion (Cherry MX Blue) with SteelSeries Apex M260 keycaps Mouse: BenQ Zowie FK1

 

Model: HP Omen 17 17-an110ca CPU: i7-8750H (0.125V core & cache, 50mV SA undervolt) GPU: GTX 1060 6GB Mobile (+80/+450, 1650MHz~1750MHz 0.78V~0.85V) RAM: 8+8GB DDR4-2400 18-17-17-39 2T Storage: HP EX920 1TB PCIe x4 M.2 SSD + Crucial MX500 1TB 2.5" SATA SSD, 128GB Toshiba PCIe x2 M.2 SSD (KBG30ZMV128G) gone cooking externally, 1TB Seagate 7200RPM 2.5" HDD (ST1000LM049-2GH172) left outside Monitor: 1080p 126Hz IPS G-sync

 

Desktop benching:

Cinebench R15 Single thread:168 Multi-thread: 833 

SuperPi (v1.5 from Techpowerup, PI value output) 16K: 0.100s 1M: 8.255s 32M: 7m 45.93s

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Jurrunio said:

More like a 1GHz dual core CPU can do the same amount of work as a 2GHz single core CPU, theoretically.

That's true only under the most narrow of circumstances: when everything can be split up evenly and have the same completion time. Otherwise, not accounting for context switching overhead, a single core 2 GHz processor will be higher performing on average than a dual-core 1GHz processor.

 

A case in point, if you have two tasks that take 1 second (@ 1GHz) to complete, both processors will be done at the same time. However, if one of the tasks takes 2 seconds (@ 1GHz) to complete, then the 2GHz processor will be faster ( (1 + 2)/2 = 1.5 seconds).

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, M.Yurizaki said:

That's true only under the most narrow of circumstances: when everything can be split up evenly and have the same completion time. Otherwise, not accounting for context switching overhead, a single core 2 GHz processor will be higher performing on average than a dual-core 1GHz processor.

 

A case in point, if you have two tasks that take 1 second (@ 1GHz) to complete, both processors will be done at the same time. However, if one of the tasks takes 2 seconds (@ 1GHz) to complete, then the 2GHz processor will be faster ( (1 + 2)/2 = 1.5 seconds).

That was "theoretically" so I wouldn't be so harsh on it :)

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, M.Yurizaki said:

That's true only under the most narrow of circumstances: when everything can be split up evenly and have the same completion time. Otherwise, not accounting for context switching overhead, a single core 2 GHz processor will be higher performing on average than a dual-core 1GHz processor.

 

A case in point, if you have two tasks that take 1 second (@ 1GHz) to complete, both processors will be done at the same time. However, if one of the tasks takes 2 seconds (@ 1GHz) to complete, then the 2GHz processor will be faster ( (1 + 2)/2 = 1.5 seconds).

Which is also only true if you are comparing cores of identical design. I can show you a 3.5Ghz quad core that will completely destroy a 5Ghz 8-core in every performance test. Processor performance is so much more complex than a simple reductionist equation using frequency and core/thread count.

Primary PC-

CPU: Intel i7-6800k @ 4.2-4.4Ghz   CPU COOLER: Bequiet Dark Rock Pro 4   MOBO: MSI X99A SLI Plus   RAM: 32GB Corsair Vengeance LPX quad-channel DDR4-2800  GPU: EVGA GTX 1080 SC2 iCX   PSU: Corsair RM1000i   CASE: Corsair 750D Obsidian   SSDs: 500GB Samsung 960 Evo + 256GB Samsung 850 Pro   HDDs: Toshiba 3TB + Seagate 1TB   Monitors: Acer Predator XB271HUC 27" 2560x1440 (165Hz G-Sync)  +  LG 29UM57 29" 2560x1080   OS: Windows 10 Pro

Album

Other Systems:

Spoiler

Home HTPC/NAS-

CPU: AMD FX-8320 @ 4.4Ghz  MOBO: Gigabyte 990FXA-UD3   RAM: 16GB dual-channel DDR3-1600  GPU: Gigabyte GTX 760 OC   PSU: Rosewill 750W   CASE: Antec Gaming One   SSD: 120GB PNY CS1311   HDDs: WD Red 3TB + WD 320GB   Monitor: Samsung SyncMaster 2693HM 26" 1920x1200 -or- Steam Link to Vizio M43C1 43" 4K TV  OS: Windows 10 Pro

 

Offsite NAS/VM Server-

CPU: 2x Xeon E5645 (12-core)  Model: Dell PowerEdge T610  RAM: 16GB DDR3-1333  PSUs: 2x 570W  SSDs: 8GB Kingston Boot FD + 32GB Sandisk Cache SSD   HDDs: WD Red 4TB + Seagate 2TB + Seagate 320GB   OS: FreeNAS 11+

 

Laptop-

CPU: Intel i7-3520M   Model: Dell Latitude E6530   RAM: 8GB dual-channel DDR3-1600  GPU: Nvidia NVS 5200M   SSD: 240GB TeamGroup L5   HDD: WD Black 320GB   Monitor: Samsung SyncMaster 2693HM 26" 1920x1200   OS: Windows 10 Pro

Having issues with a Corsair AIO? Possible fix here:

Spoiler

Are you getting weird fan behavior, speed fluctuations, and/or other issues with Link?

Are you running AIDA64, HWinfo, CAM, or HWmonitor? (ASUS suite & other monitoring software often have the same issue.)

Corsair Link has problems with some monitoring software so you may have to change some settings to get them to work smoothly.

-For AIDA64: First make sure you have the newest update installed, then, go to Preferences>Stability and make sure the "Corsair Link sensor support" box is checked and make sure the "Asetek LC sensor support" box is UNchecked.

-For HWinfo: manually disable all monitoring of the AIO sensors/components.

-For others: Disable any monitoring of Corsair AIO sensors.

That should fix the fan issue for some Corsair AIOs (H80i GT/v2, H110i GTX/H115i, H100i GTX and others made by Asetek). The problem is bad coding in Link that fights for AIO control with other programs. You can test if this worked by setting the fan speed in Link to 100%, if it doesn't fluctuate you are set and can change the curve to whatever. If that doesn't work or you're still having other issues then you probably still have a monitoring software interfering with the AIO/Link communications, find what it is and disable it.

Link to comment
Share on other sites

Link to post
Share on other sites

The speed just refers to the frequency of the central clock circuit. Every core runs at that speed .

AMD Ryzen R7 1700 (3.8ghz) w/ NH-D14, EVGA RTX 2080 XC (stock), 4*4GB DDR4 3000MT/s RAM, Gigabyte AB350-Gaming-3 MB, CX750M PSU, 1.5TB SDD + 7TB HDD, Phanteks enthoo pro case

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×