Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4 5

Author Topic: Hope is on the horizon - one day FPS drops might be a thing of the past!  (Read 8273 times)

King Kitteh

  • Bay Watcher
  • [SAVAGE][CRAZED]
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #15 on: September 18, 2016, 07:30:04 pm »

I hear that the future in computers is for decentralized computing. That is, your device is only an input and output device, and all the calculations are done by a powerful computer connected wirelessly.

They already do the same thing with online banking and such. Send your data and they do all the calculations. Wasn't always like that.
Logged
goodnight, speep tighht, don't let the bedbugs bite

Evaris

  • Bay Watcher
  • Random Bored Kitsune
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #16 on: September 18, 2016, 07:35:47 pm »

I hear that the future in computers is for decentralized computing. That is, your device is only an input and output device, and all the calculations are done by a powerful computer connected wirelessly.

They already do the same thing with online banking and such. Send your data and they do all the calculations. Wasn't always like that.

Unfortunately distance means crap for latency, so I somewhat doubt it will ever be a across the board thing for latency-dependent games like DF, or first person shooters.  High performance personal computers will continue to have their place. 
Logged
Orichalcum Dwarf Fortress: An expansion mod giving extra realistic options to many un-and-underused materials in game.  [currently out of date, may be revived in the future]

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #17 on: September 18, 2016, 07:43:29 pm »

the shared resource nature of big iron is partly why it fell out of favor in the 60s.

guess everything old becomes new again if you wait long enough.

not really looking forward to a revival of big iron, personally.
Logged

jecowa

  • Bay Watcher
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #18 on: September 18, 2016, 07:50:33 pm »

The centralized computing idea was from over ten years ago. With mobile processors being so fast and power efficient now, there's not much demand for that. When more mobile processing power is needed, we have stuff like screen sharing and Dwarf Fortress Remote to help.

Maybe in a future where quantum internet is commonplace and quantum computers are prohibitedly expensive to purchase for individual use, then decentralized computing could take off. Decentralized computing isn't going to be helpful to many people with the current silicon-based computing, though.

Edit: fixed link
« Last Edit: September 18, 2016, 08:14:00 pm by jecowa »
Logged

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #19 on: September 18, 2016, 08:01:54 pm »

Tablets running on intel chips are already able to run DF, and do so about as well as the chromebook I am running right now. (similar class of hardware, actually.)

I would presume that phones with intel chips running android are in the same boat, other than needing something like Linux Deploy to start a chroot to run the game in. (still not emulation, just gives a context for a real linux usermode with the android kernel. Crouton does similar on my chromebook.  Got the userspace from ubuntu Xenial running right beside chromeOS, on the chromeOS kernel. The major difference being a real X11 server driving the display directly on the chromebook, vs having to use a vnc connection over the localhost like you usually have to do with an android chroot.)

Modern mobile devices have enough "oomph" to run DF as long as you arent doing megaprojects.

Logged

jecowa

  • Bay Watcher
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #20 on: September 18, 2016, 08:21:02 pm »

Even though it works, I'd be worried about running Dwarf Fortress directly on a tablet. Dwarf Fortress is pretty stressful on a desktop computer. A tablet might have trouble staying cool while running it. And doing something that requires so much power might wear down the battery life a little faster. I don't like to play much games on my laptop for this reason.
Logged

Evans

  • Bay Watcher
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #21 on: September 19, 2016, 01:47:33 am »

So!

Having that many informed tech specialists on the forum, let me ask a meaningful question:

What would be the best, most optimal FPS wise consumer product or configuration for running Dwarf Fortress?
Lets forget about prices for the moment and focus only on efficiency.
Logged
getlost.lua # How to get rid of tavern guests
function getlost ()
   local unit = dfhack.gui.getSelectedUnit (true)
   unit.flags1.forest = true
end
getlost ()

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #22 on: September 19, 2016, 01:48:39 am »

Solid state drive, fast RAM, CPU with good single-core performance (latest intel processors right now) and a good deal of cache

jecowa

  • Bay Watcher
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #23 on: September 19, 2016, 08:10:45 am »

I'm not sure what the best CPU for the job is, but I think it would either be the Broadwell i7-5775C or the Broadwell Xeon E5 2699v4. The i7 has 128 MB of L4 cache, while the Xeon has 55 MB of L3 cache. (L3 cache is something like 4 times faster than L4 cache.) The Xeon also supports DDR4-2400 RAM while the i7 only supports up to DDR3-1600, which would give the Xeon maybe 10-15% faster RAM latency. I'd like to see some Dwarf Fortress benchmarking done with these two setups.
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #24 on: September 19, 2016, 11:55:51 am »

Recently saw this PassMark CPU Benchmarks - Single Thread Performance

Though that obviously doesn't explicitly include the cache size or RAM.

I wonder if ultrathin 1x1 embark on 1x1 world in 80x25 screen size (small screen can increase FPS quite a bit) could get DF below 120 MB total.

exdeath

  • Bay Watcher
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #25 on: September 19, 2016, 02:14:29 pm »

Not all tasks correlate well with quantum computing.  Massively parallelizable tasks work well, but serialized tasks do not.

Take for instance, asking the computer to find all the factor pairs for 45382937977283222.
The quantum computer can fire off a shitload of parallel factoral comparisons, and get the answer "instantly."
In contrast, a classical computer must try each possible set of factors until it exhausts the problem space.

The quantum computer wins hands down.  This is exactly why quantum computing is interesting for cryptography.

However, what about a complex logic chain, that makes decisions based on the outputs of prior decisions?  Say, computing the damage a dwarf takes from falling onto a spike trap?

The computer must first compute how fast the dwarf is falling, by evaluating how far they have already fallen. It must then make a decision about how the dwarf's stats factor into its ability to dodge, and also how the mass of the object it is landing on influences the impact energy, and then finally, compute how gibbtastic the dwarf will be after the fall's energy is distributed onto their body. 

It make each subdecision based on data in memory, stores the intermediate results in memory, and each decision is fundamentally tied to the output of the prior decision.

The quantum computer cannot evaluate this chain any faster than the classical computer can.
Congratulations for explaining this, better than all websites out there that tries to explain this issue.
Logged

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #26 on: September 19, 2016, 03:26:20 pm »

Dwarf giblets make everything so much clearer!

Not sure what point trying to fit the whole of DF in CPU cache would be, especially with some of your OS also sitting there. Such a tiny, simple fort will run pretty quick in any case. Unless you want to run a it at a couple thousand FPS, maybe as some sort of timelapse mod testing routine?

In any case I wouldn't overstate the value of the on-cpu cache too much, you'll never fit a more complex and demanding fort in there and the bigger said fort gets, the less significant that cache becomes.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #27 on: September 19, 2016, 03:50:33 pm »

Better is to remove cache contention using a board with discrete CPUs, And giving DF a CPU all to itself.

tyan makes a few, as does msi. 

multicore chips share the on die cache, where discrete cpus do not. (for obvious reasons)

science is needed.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #28 on: September 19, 2016, 04:30:49 pm »

Dwarf giblets make everything so much clearer!

Not sure what point trying to fit the whole of DF in CPU cache would be, especially with some of your OS also sitting there. Such a tiny, simple fort will run pretty quick in any case. Unless you want to run a it at a couple thousand FPS, maybe as some sort of timelapse mod testing routine?

In any case I wouldn't overstate the value of the on-cpu cache too much, you'll never fit a more complex and demanding fort in there and the bigger said fort gets, the less significant that cache becomes.
It's probably possible to run an older version of DF entirely within the cache (hell, you can run Doom on a modern printer's LCD panel).  But getting DF running a "decent-sized" map entirely in the L3 or L4 cache of a CPU roughly the same vintage is probably never going to be cost-effective.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

BorkBorkGoesTheCode

  • Bay Watcher
    • View Profile
Re: Hope is on the horizon - one day FPS drops might be a thing of the past!
« Reply #29 on: September 19, 2016, 04:32:39 pm »

I hear that the future in computers is for decentralized computing. That is, your device is only an input and output device, and all the calculations are done by a powerful computer connected wirelessly.

They already do the same thing with online banking and such. Send your data and they do all the calculations. Wasn't always like that.
How is that decentralized? And how is that new, apart from the wireless part?
Logged
https://en.wikipedia.org/wiki/The_Treachery_of_Images

Believe nothing you hear. Or everything. Have fun. Love when?

I frequently use PMs to contact people if I think they would miss a post in the deluge.
Pages: 1 [2] 3 4 5