# \[0.8 Onward\] Increased CPU usage after Sleeping

**URL:** <https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626>\
**Category:** The Garage\
**Created:** [October 22, 2013, 11:42pm UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626 "2013-10-22T23:42:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![EkarusRyndren](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ekarusryndren/32/80_2.png) [@EkarusRyndren](https://discourse.cataclysmdda.org/u/EkarusRyndren)\
**Post date:** [October 22, 2013, 11:42pm UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/1 "2013-10-22T23:42:20Z")

</div>

[ul][li]Vista (32 Bit)[/li]  
[li]2 GB RAM[/li]  
[li]1.6 GHz Intel Pentium Dual Core[/li]  
[li]Currently running the 0.8-1685-gf48f63e bleeding edge build but problem has existed (and gotten worse) since the 0.8 release[/li][/ul]

I’ve noticed since the official 0.8 release that CPU usage seems to spike (About 10%) after sleeping, for most people this isn’t a problem (Because most of you have decent PCs, had to switch to ym PoS laptop since my desktop died…) but it gets more than a little annoying, at first the game slows down a little but after a few seconds there’s about a two second delay between pressing a button and the action happening. Restarting the game fixes it but it’s annoying to have to sit though the save and load process (Which at a size 20,000+ Map on a PoS laptop is fairly long, especially while the CPU is maxed out.)

It seems to react poorly with Skype as well, I don’t know if that’s related but the CPU usage on Skype seems to spike at the same time. (To 50%)

---

<div class="post-metadata">

**Author:** ![Luissen](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/luissen/32/1025_2.png) [@Luissen](https://discourse.cataclysmdda.org/u/Luissen)\
**Post date:** [October 23, 2013, 12:45am UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/2 "2013-10-23T00:45:19Z")

</div>

Ubuntu 13/ Win 7 X64\_86 Dual, (Curses/Cygwin Ncurses)  
16 GB RAM  
FX8350 8 core@ 4.2

Running 0.8-1685-gf48f63e as well.

Getting the same problems, but as spikes, not loss of interactivity.  
Occurs when sleeping, or performing large movementcost/turncost actions  
Issue escalates as number of threads or cores devoted to terminal are decreased.

Its annoying, but I can see where lower end computers suffer. I’ll test it on my Laptop as well (expecting similar results)

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [October 23, 2013, 9:20am UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/3 "2013-10-23T09:20:26Z")

</div>

Getting small hang-ups while sleeping for a looong time. Definitely since 0.8.

Win 7 64 bit  
4 GB RAM  
Intel Core i5 @2.3 Ghz (IIRC it’s 2-cores)

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [October 23, 2013, 5:11pm UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/4 "2013-10-23T17:11:00Z")

</div>

I’ll definitely have to take a close look at performance before next release.  
Thanks for reporting the issue and the variety of symptoms.

---

<div class="post-metadata">

**Author:** ![EkarusRyndren](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ekarusryndren/32/80_2.png) [@EkarusRyndren](https://discourse.cataclysmdda.org/u/EkarusRyndren)\
**Post date:** [October 23, 2013, 5:23pm UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/5 "2013-10-23T17:23:01Z")

</div>

[quote=“Kevin Granade, post:4, topic:3626”]I’ll definitely have to take a close look at performance before next release.  
Thanks for reporting the issue and the variety of symptoms.[/quote]

I know Dwarf Fortress has a tendency to react poorly with Flash-based stuff. Is it possible CDDA is reacting poorly with Skype or Netflix (Silveright)? Anyone else running either of these two? (Or Chrome with an assortment of tabs open?)

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [October 23, 2013, 6:02pm UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/6 "2013-10-23T18:02:37Z")

</div>

Possibly,Skype and Flash both have a tendency to do lots and lots of small updates, which makes it difficult for heavy number crunching programs like df and cata\* to get things done. The good news is it’s probably just something getting out of whack or something that needs caching, so fixing it will just smooth things out.

\*I’m not kidding, the numbers, they get crunched, a lot.

---

<div class="post-metadata">

**Author:** ![Luissen](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/luissen/32/1025_2.png) [@Luissen](https://discourse.cataclysmdda.org/u/Luissen)\
**Post date:** [October 23, 2013, 10:51pm UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/7 "2013-10-23T22:51:29Z")

</div>

> [@Kevin Granade](#):
>
> \*I’m not kidding, the numbers, they get crunched, a lot.

_coughScent and trackingcough_

I’m not running Skype, or much of anything for that matter… just a few typical background processes and daemons intrinsic to Ubuntu and Win7 respectively.

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [October 24, 2013, 7:37am UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/8 "2013-10-24T07:37:24Z")

</div>

I’m usually not running anything else when playing Cata. And even if I do have Firefox open, I’m never playing other games, and besides, it doesn’t matter for the minute hangups.

---

<div class="post-metadata">

**Author:** ![matew](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@matew](https://discourse.cataclysmdda.org/u/matew)\
**Post date:** [October 24, 2013, 9:03pm UTC](https://discourse.cataclysmdda.org/t/0-8-onward-increased-cpu-usage-after-sleeping/3626/9 "2013-10-24T21:03:32Z")

</div>

same here - CPU performance increases while sleeping, using crafting menus or waiting
