[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

All else being equal, which is faster? A. 2 core CPU at 4GHz

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 23
Thread images: 5

All else being equal, which is faster?

A. 2 core CPU at 4GHz
B. 4 core CPU at 2GHz
>>
>>60865878
The 2 core CPU is faster, obviously.
>>
>>60865878
>Which is a faster way to move people, a Ferrari or a bus?
>>
>>60865878
Depends on the task.
>>
>>60865878
2 cores because Amdahl's law and Hitler Threading.
>>
>>60866115
>muh ahmder lerr
You bring this up in literally every thread. Amdahl's law only applies to a single task being performed. If all you do is crunch numbers in Prime 95 all day, you might have a point. Except you STILL don't, because Prime 95 avoids your "law" by simply running multiple instances of the same algorithm.
>>
File: 1456174754200.jpg (87KB, 1280x720px) Image search: [Google]
1456174754200.jpg
87KB, 1280x720px
2 core at single threaded applications
4 at multithreaded applications
>>
>>60865878
define faster
>>
Increasing the core count scales better than increasing the core speed for most applications
>>
>>60865878
More cores let you perform more tasks at the same speend. Less cores let you perform fewer tasks, but faster...
>>
File: 1496729450309.jpg (31KB, 480x480px) Image search: [Google]
1496729450309.jpg
31KB, 480x480px
>>60865878
The 2-core is better for most applications, but the 4-core is better at heavily multithreaded applications (8+ threads probably, due to SMT overhead), and is also more power efficient, as voltage scales with clocks, but power scales quadractically with voltage.
>>
>>60865878
A, assuming you are not being bottle necked by cache misses. It would be always be A if you said 2 cores with 2x cache per core
>>
>>60866172
If you're running multiple tasks you're still limited by how fast a single task runs, hence Amdahl's law holds.
>>
>>60865906
Ferrari can move 2 people 200 miles in one hour
for a total of 400 person-miles moved in one hour
a bus can move 60 people 60 miles in one hour
for a total of 3600 person-miles moved in one hour
>>
>>60866727
Indeed, the question is unclear about that. If you only have to move two people and not more then you get the job done faster with a Ferrari, but how likely would that be? Are we moving one, two, three or twenty people? If a bus can move up to 60 people then it's more likely to be the better option, but in a very specific scenario it will be significantly slower.
>>
>>60865878
you must be gnu
>>
>>60865878
4 core has 4 L1 caches
>>
>>60866115
Hitler threading should be a thing
>>
>>60865878
Depends entirely on the task.
>>
>>60865878
Highly dependent on architecture and number of execution threads.
E.g. if you only have 1 or 2 threads, the 2-core will obviously be faster, but if you have 4 identical threads, the 4-core will be faster since context switching is not a free operation. Then there's cache, which complicates things since it comes in several levels with per-core and shared varieties with different sharing algorithms. Etc.
>>
>>60866727
And then you discover that the bus only has 1 narrow door so it takes 20 minutes to load and unload people, and Ferrari has netburst
>>
File: cw23b.png (301KB, 1444x1705px) Image search: [Google]
cw23b.png
301KB, 1444x1705px
>>
File: 1494458445864.jpg (18KB, 207x222px) Image search: [Google]
1494458445864.jpg
18KB, 207x222px
>>60867941
Thread posts: 23
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.