Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Has anyone run Dwarf Fortress on a CPU with Intel's new 128mb lv4 cache?  (Read 1872 times)

fasquardon

  • Bay Watcher
    • View Profile

So I've read that the main bottleneck on Dwarf Fortress performance is the insane RAM needs of the program, and that a massive (256mb+) cache on the CPU should make Dwarf Fortress run much better.  I was curious if anyone had run Dwarf Fortress on one of the [non-mobile] CPUs with Iris Pro onboard graphics and the 128mb LV4 cache those chips have and if Dwarf Fortress runs better on those CPUs?

fasquardon
« Last Edit: June 15, 2016, 03:29:43 am by fasquardon »
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Has anyone run Dwarf Fortress on a CPU with Iris Pro?
« Reply #1 on: June 14, 2016, 07:17:13 pm »

Well, I ran it on my Ivy Bridge i3 and integrated graphics, it worked fine though it eventually started to wear out the graphics portion so I finally got a replacement for my old dead GPU.

The L4 cache helps naturally, the more cache between CPU and RAM the better really.
Logged

fasquardon

  • Bay Watcher
    • View Profile
Re: Has anyone run Dwarf Fortress on a CPU with Iris Pro?
« Reply #2 on: June 14, 2016, 08:23:54 pm »

Well, I ran it on my Ivy Bridge i3 and integrated graphics, it worked fine though it eventually started to wear out the graphics portion so I finally got a replacement for my old dead GPU.

The L4 cache helps naturally, the more cache between CPU and RAM the better really.

It wore out part of the chip?  I didn't think that was even possible unless feeding the chips non-stock voltages somehow...

fasquardon
Logged

jecowa

  • Bay Watcher
    • View Profile
Re: Has anyone run Dwarf Fortress on a CPU with Iris Pro?
« Reply #3 on: June 15, 2016, 12:30:43 am »

I think Iris Pro is only available on laptop processors, isn't it? I think you'd be better off with a high-end desktop i5.

I don't think the cache on the CPU will solve the RAM problem. Dwarf Fortress' problem with RAM is that it can only use up to 2GB while larger worlds can need a bit more than that. Once Dwarf Fortress is a 64-bit app, it will be able to use more than 2GB RAM.
Logged

fasquardon

  • Bay Watcher
    • View Profile
Re: Has anyone run Dwarf Fortress on a CPU with Iris Pro?
« Reply #4 on: June 15, 2016, 01:28:45 am »

I think Iris Pro is only available on laptop processors, isn't it? I think you'd be better off with a high-end desktop i5.

I don't think the cache on the CPU will solve the RAM problem. Dwarf Fortress' problem with RAM is that it can only use up to 2GB while larger worlds can need a bit more than that. Once Dwarf Fortress is a 64-bit app, it will be able to use more than 2GB RAM.

No, Iris Pro is available on a selection of desktop i5s and i7s and xeons.  So there are plenty of high-end chips with the 128mb lv4 cache on them.

And, while Science! on system bottlenecks while running Dwarf Fortress is rather lacking, from searching these forums and on reddit, I've found a couple analyses that point at to the main bottleneck being to do with how fast a system fetches and carries data between the CPU and RAM.  (For example, Dwarf Fortress appears to give exactly no figs about memory bandwidth, but cares greatly about memory latency, which is very unusual.)  Apparently, this may at least partly due to the amount of cache misses Dwarf Fortress generates - the large cache on chips with Iris Pro graphics on them should greatly help with that.  But I've not seen any Science! done on this question since chips with Iris Pro came out in 2013.  Hence my question.

And while worldgen uses alot of RAM, normal fortresses don't seem to use much at all.  I've never heard of anyone using more than a gb on fortress mode.

fasquardon
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Has anyone run Dwarf Fortress on a CPU with Iris Pro?
« Reply #5 on: June 15, 2016, 02:58:03 am »

Well, I ran it on my Ivy Bridge i3 and integrated graphics, it worked fine though it eventually started to wear out the graphics portion so I finally got a replacement for my old dead GPU.

The L4 cache helps naturally, the more cache between CPU and RAM the better really.

It wore out part of the chip?  I didn't think that was even possible unless feeding the chips non-stock voltages somehow...

fasquardon
Well, I was only playing df and using two monitors, and the integrated GPU isn't the main chip.

It just started giving graphical glitches and whatnot after a while, stopped once I switched to a new card.
Logged

fasquardon

  • Bay Watcher
    • View Profile
Re: Has anyone run Dwarf Fortress on a CPU with Iris Pro?
« Reply #6 on: June 15, 2016, 03:28:13 am »

Well, I ran it on my Ivy Bridge i3 and integrated graphics, it worked fine though it eventually started to wear out the graphics portion so I finally got a replacement for my old dead GPU.

The L4 cache helps naturally, the more cache between CPU and RAM the better really.

It wore out part of the chip?  I didn't think that was even possible unless feeding the chips non-stock voltages somehow...

fasquardon
Well, I was only playing df and using two monitors, and the integrated GPU isn't the main chip.

It just started giving graphical glitches and whatnot after a while, stopped once I switched to a new card.

Huh.  Interesting...

I think Iris Pro is only available on laptop processors, isn't it? I think you'd be better off with a high-end desktop i5.

So as far as I can find, the versions of Iris Pro on mobile processors does not have the 128mb lv4 cache.  Which also means I gave this thread a misleading title, since when I started it, I thought all chips with Iris Pro also had the lv4 cache.

Derp.

I've now edited the thread title to be more accurate.

fasquardon
« Last Edit: June 15, 2016, 03:30:46 am by fasquardon »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Has anyone run Dwarf Fortress on a CPU with Iris Pro?
« Reply #7 on: June 15, 2016, 05:36:52 pm »

Dwarf Fortress' problem with RAM is that it can only use up to 2GB while larger worlds can need a bit more than that. Once Dwarf Fortress is a 64-bit app, it will be able to use more than 2GB RAM.

No, not at all. DF's problem is that RAM is unbelievably slow relative to CPU cache speeds and DF shunts a lot of memory around. I can't read assembly very well, but I know what moving memory around in it looks like, and some profiling tells me that cache misses are a ridiculous amount of CPU time for DF.