393
submitted 11 months ago by kinther@lemmy.world to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Nighed@sffa.community 26 points 11 months ago

There is only so much that can be multi-threaded, beyond that the overhead just slows things down (and can cause bugs)

More simulation type games (city skylines etc) can multithread more (generally) while your standard shooter has much less that it can do (unless you have AI bots etc)

[-] Blackmist@feddit.uk 25 points 11 months ago

Plus it only takes one unthreadable task to bottleneck the whole thing anyway.

[-] deleted@lemmy.world 1 points 10 months ago

My point here is the developer managed to split the load evenly between 8 threads. How come they cannot do it for 16?

The keyword, evenly, means all 8 threads are at 100% while other 8 threads are at 1-2%.

[-] throwwyacc@lemmy.world 8 points 10 months ago

You'd need to look at the actual implementation, it's hard to speculate from a tiny amount of data. What game are you referencing?

And as someone who has done multi threaded programming I can tell you that for games it is unlikely that they can just add more cores. You need work that truly can be split up, meaning that each core doesn't needs work to do that doesn't rely on the results from another core

Graphics rendering is easy for this and it's why gpus have a crazy number of cores. But you aren't going to do graphics compute on the cpu

[-] jlh@lemmy.jlh.name 1 points 10 months ago

For that number to be 8 though suggests that there's just a "number of workers" variable hard-coded somewhere.

[-] throwwyacc@lemmy.world 1 points 10 months ago

Potentially suggests, but does not prove And I'm quite skeptical they they truly have an example of a game that is running 100% on all 8 cores, high maybe but 100%?

[-] deleted@lemmy.world 1 points 10 months ago

That was long time ago. I believe the game was BF1.

I know it’s hard to speculate but 100% cpu usage for solid 5~7 seconds only for 8 cores cannot be separate workload (single threaded). A spike is understandable tho.

The game play wasn’t impacted to be honest.

this post was submitted on 02 Jan 2024
393 points (98.5% liked)

Technology

59674 readers
3222 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS