Home | Community | Message Board

The Spore Depot
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Shop: North Spore North Spore Mushroom Grow Kits & Cultivation Supplies   Myyco.com Golden Teacher Liquid Culture For Sale   Unfolding Nature Unfolding Nature: Being in the Implicate Order

Jump to first unread post Pages: | 1 | 2  [ show all ]
Re: Quad core or Dual core? [Re: rodfarva]
    #12596092 -

so far I really dig my Asus P6X58D Premium motherboard, I recommend it for the i7


--------------------
The answer to 1984 is 1776.

Extras: Filter Print Post Top
Re: Quad core or Dual core? [Re: subiedude]
    #12596281 -

> can you explain what a "thread" is in an application please?:mushroom2:

A thread is a "path of execution" within a program.  In the old days, a CPU had one execution core, and a computer had one CPU.  All programs were single threaded.  For example, a program would execute step A followed by step B followed by step C, etc.

With the advent of multiple CPU computers, or multiple core CPUs, this resulted in a problem.  The single execution path (A->B->C->etc) path would only execute on one CPU or one core leaving the others to sit idle.  Background tasks in the OS would be able to utilize the idle CPU, but these tasks are small and don't take up much CPU resources.  The extra CPUs/cores were basically wasted.  If you ever watched the CPU utilization graphs in windows on a multi-core system, you see one CPU near 100% and the other near 0%.  They may flip back and forth, or they may both go to 50%, but you almost never see both at 100%.

A good example to use to show the difference is loading a web page.  In the single threaded model, you load the page, then you load the first image, then load the next image, etc, then finally you render the page.  In a multi-threaded model, you load the page, then you spawn a bunch of threads to load all of the images at the same time, then once all the threads are done, you render the page.

To allow programs to utilize multiple CPUs/cores at the same time, threading was invented.  A single program can now create multiple threads (execution paths) that run at the same time.  So now, you might have A->B,B,B,B,B->C,etc where B are threads that can run on any number of available CPUs or cores.  In a quake like game, B might be the code that controls how each enemy unit behaves.

Unfortunately, threaded code is very difficult to write and even harder to debug.  Because of this, most programs are still single threaded.  Some applications, such as video encoding, are very easy to thread (due to the nature of the task).  As multi-core CPUs become more common, you will start to see more and more threaded applications, limited by the complexity of writing threaded code.  (Apple came up with a very clever system to make writing threaded code extremely easy called Grand Central Dispatch that utilized run queues and 'blocks' rather than traditional threads.)

When we take the above back to dual vs quad cores... if your application is single threaded, which almost all of them are, then it doesn't matter if you have two cores or four cores, you are only going to utilize one of them.  At that point, the chip with the faster cores will win... and dual cores are always faster than quad cores, per core, at a given price point.


--------------------
Just another spore in the wind.

Extras: Filter Print Post Top
Jump to top Pages: | 1 | 2  [ show all ]

Shop: North Spore North Spore Mushroom Grow Kits & Cultivation Supplies   Myyco.com Golden Teacher Liquid Culture For Sale   Unfolding Nature Unfolding Nature: Being in the Implicate Order


Similar ThreadsPosterViewsRepliesLast post
* Intel Launches Quad Core Processors DiploidM 1,200 5 11/19/06 10:52 AM
by Bluemoondreamer
* Quad core quad core - how do games use it? desant 1,350 15 01/23/10 05:50 PM
by Seuss
* so my CPU (quad core) is running at 90c - help!
( 1 2 all )
kotik 3,760 32 01/16/08 07:49 PM
by Visionary Tools
* Intel pledges 80 cores in five years automanM 1,543 9 09/30/06 04:15 AM
by BallsDeep
* Going dual core YthanA 665 5 07/29/06 02:06 PM
by barfightlard
* What's the deal with the Core Duo processor? I'm buying a computer... HagbardCeline 1,239 19 09/19/06 06:52 AM
by Seuss
* Core i7 920 Heatsink/Water cool legallyhomeless 805 14 06/13/09 04:58 AM
by luvdemshrooms
* AMD A64 3800+ X2 Dual Core. Jared 1,097 14 11/05/05 07:48 AM
by barfightlard

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
2,205 topic views. 0 members, 47 guests and 8 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2026 Mind Media. Some rights reserved.

Generated in 0.026 seconds spending 0.008 seconds on 16 queries.