Answer the question
In order to leave comments, you need to log in
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
all characteristics are the same, except for the ratio of cores and threads:
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.
Considering that the threads share the resources of the physical core - in most cases 4/4 will be better than 2/4.
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 questionAsk a Question
731 491 924 answers to any question