S
S
speedvm2022-02-21 14:56:24
Processors
speedvm, 2022-02-21 14:56:24

What is better 4 cores with one thread or 2 cores with two threads?

Good people, enlighten as much as you can.
There are two abstract processors in the vacuum, which respectively have all the same characteristics, except for the ratio of cores and threads:
- 4 Cores - 1 Thread;
- 2 Cores -- 2 Threads.
I sit, I'm dumb.
The performance verdict will generally be unambiguous: is 4 single-threaded cores better than 2 dual-threaded ones?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
P
paran0id, 2022-02-21
@paran0id

Better than 4 cores and 1 thread.

A
Adamos, 2022-02-21
@Adamos

all characteristics are the same, except for the ratio of cores and threads:

Including cache size? on the NUCLEUS? or TOTAL?
The practical difference, in fact, is this.

S
Saboteur, 2022-02-21
@saboteur_kiev

You can't say that. Depends on the code.
A multiprocessor configuration
* is more robust, as a failure on one processor does not affect the others.
* Eats more power
* All processors can be used at 100% and they are the same
* May miss more traffic if unrelated tasks are running (not a multi-threaded application, just different applications)
Multi-core configuration
* For multi-threaded applications will be faster due to more efficient use of the cache ( less traffic) if a single multi-threaded application is running
* Eats less power, which means it's cheaper to run. Yes, and buying.
* Cores can be different, operate at different frequencies. Here you can not take abstraction in a vacuum, you need to read the datasheet.
In general, the multiprocessor configuration is now rarely used, since there are fewer tasks where it will be more profitable than vice versa.

T
twobomb, 2022-02-21
@twobomb

Cores or threads: find out what is more important for the processor

M
Michael, 2022-02-21
@Akela_wolf

Considering that the threads share the resources of the physical core - in most cases 4/4 will be better than 2/4.

V
Vasily Bannikov, 2022-02-21
@vabka

If you do not have a TDP limit, (4 physical cores will consume more than two similar ones), then 4 cores and 4 threads are better than 2 cores and 4 threads, all other things being equal

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question