Dwarf Fortress

Dwarf Fortress

[+DG+] Sir_Castic Jun 28, 2023 @ 12:52pm
multithreading
they said it couldn't be done
they HATED jesus, because he spoke the truth
< >
Showing 1-15 of 28 comments
AmesNFire Jun 28, 2023 @ 12:54pm 
If only you actually knew what multi-threading and multi-core usage actually meant.
[+DG+] Sir_Castic Jun 28, 2023 @ 1:17pm 
Originally posted by vitokin:
Originally posted by +DG+ Sir_Castic:
they said it couldn't be done
they HATED jesus, because he spoke the truth
Jesus isn't real tho...he's from an old comic book peasants had nothing to do when out labour
no he's not
[+DG+] Sir_Castic Jun 28, 2023 @ 1:17pm 
Originally posted by AmesNFire:
If only you actually knew what multi-threading and multi-core usage actually meant.
???? it's LITERALLY in the game
Fletch Jun 28, 2023 @ 1:24pm 
Originally posted by AmesNFire:
If only you actually knew what multi-threading and multi-core usage actually meant.

Seeing as how single-core processors are legacy components that haven't been manufactured in over a decade (even every smartphone created since 2012 has multicore processors), I'm glad the devs now know what multi-threading and multi-core actually is.

Seeing a CPU-bound game, stuck at 8 FPS and 100% maxing out a single core (with the other XX cores sitting idle) should make it readily apparent to anyone why the game must (and now will be) multi-threaded going forward -- especially because the devs intend to add even more features to the game.
t.tv/HasanAbi Jun 28, 2023 @ 1:59pm 
Multithreading is cool until you hit the amdahl's law. Singlethreaded micro optimizations should be above multithreading
Fletch Jun 28, 2023 @ 2:49pm 
Originally posted by t.tv/HasanAbi:
Multithreading is cool until you hit the amdahl's law. Singlethreaded micro optimizations should be above multithreading

100% agree with that. Optimize the single-threaded algorithms to make them as efficient as you can given the time constraints, then throw hardware at the problem (utilize more cores) for the rest. This is exactly what Putnam did for the line-of-sight calculations (optimizations released back in January, then the multi-threading came later / released to prod today).
Royal Mummy Jun 28, 2023 @ 3:58pm 
my god they actually did it
AmesNFire Jun 28, 2023 @ 4:21pm 
Originally posted by t.tv/HasanAbi:
Multithreading is cool until you hit the amdahl's law. Singlethreaded micro optimizations should be above multithreading

That's what I was getting at. It's honestly ridiculous how many people demand multithreading instead of basic optimization the single threads first.

More often than not, they'll cherry-pick specific moments in a stream with some player going out of their way to build a massive FPS-sucking monstrosity and act as if the other 99.9% of players will ever bother to reach that.

We all know multithreading was coming, nobody said it wasn't unless they were similarly ignorant to the people acting like it's some sort of "Better Game" button.
[+DG+] Sir_Castic Jun 28, 2023 @ 5:56pm 
Originally posted by AmesNFire:
Originally posted by t.tv/HasanAbi:
Multithreading is cool until you hit the amdahl's law. Singlethreaded micro optimizations should be above multithreading

That's what I was getting at. It's honestly ridiculous how many people demand multithreading instead of basic optimization the single threads first.

More often than not, they'll cherry-pick specific moments in a stream with some player going out of their way to build a massive FPS-sucking monstrosity and act as if the other 99.9% of players will ever bother to reach that.

We all know multithreading was coming, nobody said it wasn't unless they were similarly ignorant to the people acting like it's some sort of "Better Game" button.
idk who you're speaking for, "we all knew multithreading was coming". until about a month ago everyone agreed it was little more than a pipe dream. toady didn't even know how to implement it.
Tikigod Jun 28, 2023 @ 6:46pm 
Originally posted by +DG+ Sir_Castic:
they said it couldn't be done
they HATED jesus, because he spoke the truth

Except, you know.... Dwarf Fortress has been multi-threaded for years now. Various different parts of Dwarf Fortress have been handled across different threads for a long time now.

Just some people are ignorant to that and still talk about how it isn't because performance is bad and of course everyone knows if a application is multi-threaded then performance is good..... just ask anyone on Reddit.... *rolls eyes*


For those still catching up on things, the issue has never been that Dwarf Fortress isn't able to leverage multi-threads. It can and has been for various things for quite some time now.

The issue has been that only certain things make sense to be handled in such a way as it stops isolated data in one set of work off-loaded to one thread from being accessible by a workload in another thread.

This means if a crucial calculation needs information being retained elsewhere, at worse if not well coded it can cause crashes and errors, and at best the calculation will pause and sit there waiting for the work being done on the other thread to conclude and for what it needs to be accessible again..... and your 'Improved performance, because Multi-threading' ends up being a reduction in performance.
Last edited by Tikigod; Jun 28, 2023 @ 6:53pm
[+DG+] Sir_Castic Jun 28, 2023 @ 8:07pm 
Originally posted by Tikigod:
Originally posted by +DG+ Sir_Castic:
they said it couldn't be done
they HATED jesus, because he spoke the truth

Except, you know.... Dwarf Fortress has been multi-threaded for years now. Various different parts of Dwarf Fortress have been handled across different threads for a long time now.

Just some people are ignorant to that and still talk about how it isn't because performance is bad and of course everyone knows if a application is multi-threaded then performance is good..... just ask anyone on Reddit.... *rolls eyes*


For those still catching up on things, the issue has never been that Dwarf Fortress isn't able to leverage multi-threads. It can and has been for various things for quite some time now.

The issue has been that only certain things make sense to be handled in such a way as it stops isolated data in one set of work off-loaded to one thread from being accessible by a workload in another thread.

This means if a crucial calculation needs information being retained elsewhere, at worse if not well coded it can cause crashes and errors, and at best the calculation will pause and sit there waiting for the work being done on the other thread to conclude and for what it needs to be accessible again..... and your 'Improved performance, because Multi-threading' ends up being a reduction in performance.
you're a terrible christian
AmesNFire Jun 28, 2023 @ 8:16pm 
Originally posted by Tikigod:
Originally posted by +DG+ Sir_Castic:
they said it couldn't be done
they HATED jesus, because he spoke the truth

Except, you know.... Dwarf Fortress has been multi-threaded for years now. Various different parts of Dwarf Fortress have been handled across different threads for a long time now.

Just some people are ignorant to that and still talk about how it isn't because performance is bad and of course everyone knows if a application is multi-threaded then performance is good..... just ask anyone on Reddit.... *rolls eyes*


For those still catching up on things, the issue has never been that Dwarf Fortress isn't able to leverage multi-threads. It can and has been for various things for quite some time now.

The issue has been that only certain things make sense to be handled in such a way as it stops isolated data in one set of work off-loaded to one thread from being accessible by a workload in another thread.

This means if a crucial calculation needs information being retained elsewhere, at worse if not well coded it can cause crashes and errors, and at best the calculation will pause and sit there waiting for the work being done on the other thread to conclude and for what it needs to be accessible again..... and your 'Improved performance, because Multi-threading' ends up being a reduction in performance.

I like that their response is never something relevant to the conversation and instead just insults people who point out what is actually going on.
Seems to happen a whole lot from some people on here, who apparently don't get flagged for their activity either.
Last edited by AmesNFire; Jun 28, 2023 @ 8:16pm
[+DG+] Sir_Castic Jun 28, 2023 @ 10:01pm 
Originally posted by AmesNFire:
Originally posted by Tikigod:

Except, you know.... Dwarf Fortress has been multi-threaded for years now. Various different parts of Dwarf Fortress have been handled across different threads for a long time now.

Just some people are ignorant to that and still talk about how it isn't because performance is bad and of course everyone knows if a application is multi-threaded then performance is good..... just ask anyone on Reddit.... *rolls eyes*


For those still catching up on things, the issue has never been that Dwarf Fortress isn't able to leverage multi-threads. It can and has been for various things for quite some time now.

The issue has been that only certain things make sense to be handled in such a way as it stops isolated data in one set of work off-loaded to one thread from being accessible by a workload in another thread.

This means if a crucial calculation needs information being retained elsewhere, at worse if not well coded it can cause crashes and errors, and at best the calculation will pause and sit there waiting for the work being done on the other thread to conclude and for what it needs to be accessible again..... and your 'Improved performance, because Multi-threading' ends up being a reduction in performance.

I like that their response is never something relevant to the conversation and instead just insults people who point out what is actually going on.
Seems to happen a whole lot from some people on here, who apparently don't get flagged for their activity either.
everything i write is relevant because it is my thread
maybe take a closer look at the OP and reevaluate what the tone is
edit: nerd
Last edited by [+DG+] Sir_Castic; Jun 28, 2023 @ 10:02pm
CaptObvious Jun 30, 2023 @ 12:27am 
Multithreading is still marked as experimental for a reason - it completely broke smelters for me. Smelters wouldn't find ore or fuel until I disabled multithreading (which doesn't even require a game restart - kudos!).
Ralph_Rodriguez Jul 1, 2023 @ 8:49am 
295 dorf fort with over 50 animals, all cavern layers exposed bar the circus, and i was getting 15 FPS prior to the multi-thread patch, now i'm getting a solid 45 FPS with this patch so it's worked wonders for me.

I assume my FPS gain was so great because my stairs weren't optimal and i prefer large rooms, so the gains i'm getting are definitely in relation to the LOS improvements with multi-threading - loving it so far :D
< >
Showing 1-15 of 28 comments
Per page: 1530 50

Date Posted: Jun 28, 2023 @ 12:52pm
Posts: 28