Click here to Skip to main content
15,901,001 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Holy Hyperthreading Batman Pin
kalberts28-Jun-18 6:39
kalberts28-Jun-18 6:39 
GeneralRe: Holy Hyperthreading Batman Pin
Joe Woodbury28-Jun-18 9:28
professionalJoe Woodbury28-Jun-18 9:28 
GeneralRe: Holy Hyperthreading Batman Pin
dandy7229-Jun-18 4:04
dandy7229-Jun-18 4:04 
GeneralRe: Holy Hyperthreading Batman Pin
Rick York28-Jun-18 13:26
mveRick York28-Jun-18 13:26 
QuestionRe: Holy Hyperthreading Batman Pin
Randor 28-Jun-18 8:17
professional Randor 28-Jun-18 8:17 
AnswerRe: Holy Hyperthreading Batman Pin
CodeWraith28-Jun-18 8:49
CodeWraith28-Jun-18 8:49 
AnswerRe: Holy Hyperthreading Batman Pin
Rick York28-Jun-18 13:30
mveRick York28-Jun-18 13:30 
AnswerRe: Holy Hyperthreading Batman Pin
dandy7229-Jun-18 4:23
dandy7229-Jun-18 4:23 
Randor wrote:
Are you are actually trying to implement a single process with 80 threads... ? If so... why?


It all depends on what these threads are doing. Here's a real-world example:

I have a tiny utility sitting in my system tray that runs many small WMI queries across my LAN to refresh hardware configuration data from remote machines at startup. The payload is very small, so the LAN can take it, but WMI queries are inherently very slow, so it made sense here to dedicate not only one thread per machine, but one thread per query (each machine runs maybe a dozen WMI queries). Multiply that by a dozen machines, and it very quick adds up.

What used to be a queued set of queries that took 10+ minutes to complete is now a bunch of threads starting in parallel and all completing within 30 seconds.

[Edit]

Of course this doesn't imply I need an 80-core machine to run this. Smile | :) Just saying it's not all that unreasonable to spawn this many threads, even if just for a limited time.

modified 29-Jun-18 10:36am.

GeneralRe: Holy Hyperthreading Batman Pin
Dave Kreskowiak28-Jun-18 13:58
mveDave Kreskowiak28-Jun-18 13:58 
GeneralRe: Holy Hyperthreading Batman Pin
Rick York28-Jun-18 14:25
mveRick York28-Jun-18 14:25 
GeneralRe: Holy Hyperthreading Batman Pin
harold aptroot28-Jun-18 15:08
harold aptroot28-Jun-18 15:08 
GeneralRe: Holy Hyperthreading Batman Pin
dandy7229-Jun-18 4:40
dandy7229-Jun-18 4:40 
GeneralRe: Holy Hyperthreading Batman Pin
Dave Kreskowiak29-Jun-18 5:13
mveDave Kreskowiak29-Jun-18 5:13 
GeneralRe: Holy Hyperthreading Batman Pin
Richard MacCutchan28-Jun-18 21:07
mveRichard MacCutchan28-Jun-18 21:07 
GeneralRe: Holy Hyperthreading Batman Pin
Worried Brown Eyes28-Jun-18 21:15
Worried Brown Eyes28-Jun-18 21:15 
GeneralRe: Holy Hyperthreading Batman Pin
Richard MacCutchan28-Jun-18 21:42
mveRichard MacCutchan28-Jun-18 21:42 
GeneralThought of the Day Pin
OriginalGriff28-Jun-18 5:02
mveOriginalGriff28-Jun-18 5:02 
GeneralRe: Thought of the Day Pin
R. Giskard Reventlov28-Jun-18 5:03
R. Giskard Reventlov28-Jun-18 5:03 
GeneralRe: Thought of the Day Pin
Rick York28-Jun-18 5:07
mveRick York28-Jun-18 5:07 
GeneralRe: Thought of the Day Pin
Eric Lynch28-Jun-18 5:23
Eric Lynch28-Jun-18 5:23 
GeneralRe: Thought of the Day Pin
W Balboos, GHB28-Jun-18 5:29
W Balboos, GHB28-Jun-18 5:29 
GeneralRe: Thought of the Day Pin
DRHuff28-Jun-18 5:36
DRHuff28-Jun-18 5:36 
GeneralRe: Thought of the Day Pin
PeejayAdams28-Jun-18 5:55
PeejayAdams28-Jun-18 5:55 
GeneralRe: Thought of the Day Pin
megaadam28-Jun-18 6:01
professionalmegaadam28-Jun-18 6:01 
PraiseRe: Thought of the Day Pin
Gary Wheeler28-Jun-18 6:43
Gary Wheeler28-Jun-18 6:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   499 votes