On TV.com: Confession: I Like THE BIG BANG THEORY
BNET Business Network:
BNET
TechRepublic
ZDNet
TalkBack 36 of 116:
Next »
« Previous
more about threads . . .
"Now lets for the purposes of this discussion say I have more than 2 cores and open a multi threaded program that handles itself in a more parallel fashion. Its threads could end up on the same core in silly orders."

Possibly, although you can set the affinity and the OS will usually honor it.

"And yes if you want to take advantage of parallelism you halve to share resources and shoot info every which way."

I disagree. Many tasks don't need to share resources - and those that do share a lot of resource may not be as suited for parallelism as you think they are, and may be better left as a single thread or divided at a different level.

Let's say I'm applying an effect to an image. I can have each core handle a different part of the image - if I have two cores, for example, one core can work on the top half, while the other core works on the bottom half. Since they are never reading or writing to the same pixels, they don't need to worry about all of that communication stuff.

Now I understand that it's not that easy for a lot of tasks, but my point is that not all tasks require such heavy communication.

"The more my program takes advantage of thread in a manner threads weren't ever designed to be used, the more wacky windows can get with the logistics."

Well the solution for that is simple: Don't use threads in ways they're not designed for! Keep it a single thread if it's too complex to multi thread - chances are it didn't need to be multi threaded anyways.

"Whats the point of having eight cores if your just "Time slicing" Your time slicing 8 times as fast yes, but thats not parallel processing. Its not even really multitasking."

I don't know the details of how Windows manages time slices and multiple cores - but I imagine the engineers at Microsoft are not so stupid they'd give only one application a piece of time when there are multiple cores. I imagine that scheduler is intelligent enough to detect multiple cores, and allows multiple threads to have a slice of time given they are on separate cores - or something similar.
Posted by: CobraA1   Posted on: 12/20/07 You are currently: a Guest | Members login | Terms of Use
Reply to Story No further replies to this post will be accepted.

Alert moderator to an offensive message

Subscribe to this discussion via Email or RSS

As my rep says, 2008 will be great!!!!  Mike Cox | 12/18/07
Heh...  techboy_z | 12/18/07
9.95 -  Wolfie2K3 | 12/19/07
Bell  professordnm | 12/19/07
10!!!  JLHenry | 12/19/07
When will Bill's big fear come true?  FlatAffect | 12/20/07
Say again Commi?  waldens1 | 08/13/09
way off  itchy8me | 07/31/09
Microsoft Will Hail The Launch Of Its Most Successful OS To Date  itanalyst | 12/18/07
They also pointed out that the iPhone  GuidingLight | 12/18/07
I don't know if I could  Michael Kelly | 12/18/07
I am in agreement with you there  GuidingLight | 12/18/07
I don't know if Ubuntu Fiesty Fawn came out in 2007, but OLPC did (just)  stevey_d | 12/31/07
Jesus  usmcdvldg@... | 12/18/07
Wish I could talk  Blogsworth | 12/18/07
ReactOS is coming along well  stevey_d | 12/31/07
Right on the mark!  ba943@... | 12/19/07
My predictions.  No_Ax_to_Grind | 12/18/07
Re: #8 & #9  Michael Kelly | 12/18/07
Further thoughts...  No_Ax_to_Grind | 12/18/07
Those who don't want to be "evangelists"  Confused by religion | 12/18/07
Is that true?  No_Ax_to_Grind | 12/18/07
I agree that a number of overseas MVPs were not re-awarded this year  Confused by religion | 12/18/07
Not too accurate  dfolk | 12/18/07
Shows how little you know about the MVPs  Confused by religion | 12/19/07
Word is the Head of the MVP program gave his notice  No_Ax_to_Grind | 12/20/07
MVP defined  devlin_X | 12/31/07
Agree some, disagree some.  CobraA1 | 12/18/07
Yes and no...  No_Ax_to_Grind | 12/18/07
Ah yes, that's the applications . . .  CobraA1 | 12/18/07
No  usmcdvldg@... | 12/19/07
It's a bit more complex than that . . .  CobraA1 | 12/19/07
YES YES  usmcdvldg@... | 12/19/07
hmmm . . ..  CobraA1 | 12/19/07
hmm  usmcdvldg@... | 12/20/07
more about threads . . .  CobraA1 | 12/20/07
WOW!  lag1980 | 12/19/07
Okay, smart guy: How does Vista NOT take advantage of multiple cores? (nt)  CobraA1 | 12/19/07
Ok, so here is my point...  lag1980 | 12/19/07
In other words, nothing revolutionary  CobraA1 | 12/19/07
OMG  usmcdvldg@... | 12/19/07
A fact of life  usmcdvldg@... | 12/19/07
Re: Number 9  Confused by religion | 12/18/07
You misunderstand Milly  No_Ax_to_Grind | 12/18/07
I understand perfectly  Confused by religion | 12/18/07
Care to publish said code of conduct  No_Ax_to_Grind | 12/18/07
re: Care to publish said code of conduct  MowGreen | 12/19/07
Re: Re: Number 9  none none | 12/18/07
Hmmm  HypnoToad72 | 12/18/07
Yikes  DarkPhoenixFF4 | 12/18/07
Huh?  El Tonto con Suerte | 12/19/07
Half and half  usmcdvldg@... | 12/19/07
language standard  stevey_d | 12/31/07
Wrong!  Ole Man | 12/19/07
Gawd help us ALL if Hilary wins!  jbaviera@... | 12/20/07
Well thought out  stevey_d | 12/31/07
What's with ZDNet and wanting the iPhone to enter the Enterprise?  CobraA1 | 12/18/07
Because it has potential  Michael Kelly | 12/18/07
LONG Laundry List...  Wolfie2K3 | 12/19/07
Edit Office docs on an iPhone? Who cares!  Fred Fredrickson | 12/24/07
good point  stevey_d | 12/31/07
Why do you need that?  Bruizer | 01/06/08
What's with ZDNet?  grail@... | 12/19/07
windows 7: 2008  Raiker | 12/18/07
here is my prediction  Linux Geek | 12/18/07
In that spirit  Michael Kelly | 12/18/07
ROTFL! (nt)  GuidingLight | 12/18/07
On the contrary...  techboy_z | 12/18/07
Well, No evil per say  usmcdvldg@... | 12/18/07
Or better yet  usmcdvldg@... | 12/18/07
There speaks the man  Blogsworth | 12/18/07
Poor baby  usmcdvldg@... | 12/19/07
naturally occuring doesn't mean good  voska1 | 12/19/07
Actaully he is about dead on  Linux User 147560 | 12/19/07
using *any* oil is the problem  stevey_d | 12/31/07
Raise you  stevey_d | 12/31/07
Here is a better prediction  GuidingLight | 12/18/07
...  DarkPhoenixFF4 | 12/18/07
Well now, if you bothered to poke around a bit  GuidingLight | 12/18/07
'nuff said  lag1980 | 12/19/07
And my follow up...  No_Ax_to_Grind | 12/18/07
owch  usmcdvldg@... | 12/18/07
How about this prediction  usmcdvldg@... | 12/18/07
Haven't you got  Blogsworth | 12/18/07
LOL  usmcdvldg@... | 12/19/07
If it theirs, then its theirs.  No_Ax_to_Grind | 12/19/07
I say its not  usmcdvldg@... | 12/19/07
And listen  usmcdvldg@... | 12/19/07
You aren't a judge...  No_Ax_to_Grind | 12/20/07
Ok  usmcdvldg@... | 12/20/07
Cute  Michael Kelly | 12/18/07
RE: Cute  bfilipiak@... | 12/19/07
One IMPORTANT thing missing ....  kd5auq | 12/18/07
Can't happen unless.....  jeffdickey | 12/24/07
Look for Vista Lite!  TripleII | 12/18/07
windows xp second edition?  aesirloke@... | 12/18/07
Why tarnish the XP name...  mrOSX | 12/19/07
RE: Windows XP second edition  bfilipiak@... | 12/19/07
The difference is  Michael Kelly | 12/19/07
I dunno . . .  JLHenry | 12/19/07
Message has been deleted.  i8thecat | 12/19/07
RE: The real predictions (#5)  bfilipiak@... | 12/19/07
BE carefull  usmcdvldg@... | 12/19/07
Microsoft release Longhorn in 2010  Randalllind | 12/19/07
RE: Microsoft Predictions for 2008: Games group housecleaning continues (Microsoft in 2008: 10 Predictions)  zeusx64@... | 12/19/07
RE: Microsoft Predictions for 2008: Games group housecleaning continues (Microsoft in 2008: 10 Predictions)  zeusx64@... | 12/19/07
RE: Microsoft Predictions for 2008: Games group housecleaning continues (Microsoft in 2008: 10 Predictions)  zeusx64@... | 12/19/07
iPhone & ActtiveSync  Ethical_Loner | 12/19/07
Yawn  Bearcat_z | 12/19/07
I Predict Not ONE No_Ax Prediction Will Come True  itanalyst | 12/19/07
Except  usmcdvldg@... | 12/19/07
My rep sais...  sykandtyed | 12/19/07
Vista Home Premium v Fiji  ben.rattigan | 12/20/07
I'll Give It A 6.5 = IPhone Home E.T.  michaelleo@... | 12/20/07
Head of the MVP program  Bitzie | 01/02/08
RE: Microsoft Predictions for 2008: Games group housecleaning continues (Microsoft in 2008: 10 Predictions)  soooosweeet | 04/14/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Meet Doc

  • Here to help you with your Document Management Needs
  • Doc is an enigma. Born to a Russian ballerina and a German electrical engineer, he grew up in various locations in the United States. He’s seen the insides of more brands, versions, and generations of printer and printer-related hardware than almost anyone.
  • To learn more about this mysterious figure check out his blog on ZDNet and his Workspace on TechRepublic. You’ll be glad you did.
  • Produced by
    ZDNet and