# \[0.8-2054-g0eaaafd\] Large vehicles cause CPU usage increase

**URL:** <https://discourse.cataclysmdda.org/t/0-8-2054-g0eaaafd-large-vehicles-cause-cpu-usage-increase/3679>\
**Category:** The Garage\
**Created:** [October 27, 2013, 6:03pm UTC](https://discourse.cataclysmdda.org/t/0-8-2054-g0eaaafd-large-vehicles-cause-cpu-usage-increase/3679 "2013-10-27T18:03:54Z")\
**Posts on this page:** 6\
**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 27, 2013, 6:03pm UTC](https://discourse.cataclysmdda.org/t/0-8-2054-g0eaaafd-large-vehicles-cause-cpu-usage-increase/3679/1 "2013-10-27T18:03:54Z")

</div>

Not sure if there’s any way to fix this (Other than making a smaller vehicle) but I thought I’d throw that out there. Sadly, until then the RMCC is gonna have to be retired. My poor glorified calculator can’t handle it. XDD

---

<div class="post-metadata">

**Author:** ![Ian\_Strachan](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ian_strachan/32/1003_2.png) [@Ian\_Strachan](https://discourse.cataclysmdda.org/u/Ian_Strachan)\
**Post date:** [October 27, 2013, 6:07pm UTC](https://discourse.cataclysmdda.org/t/0-8-2054-g0eaaafd-large-vehicles-cause-cpu-usage-increase/3679/2 "2013-10-27T18:07:05Z")

</div>

While doing what, specifically? Driving around? Installing parts? Collisions? All of the above?

Also, is it console or tiles?

Most stuff involving vehicles scales linearly (every part added causes a fixed extra number of steps) but one particularly costly thing is a breadth-first-search done when trying to remove parts to ensure you’re not going to shear the vehicle in half.

---

<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 27, 2013, 6:13pm UTC](https://discourse.cataclysmdda.org/t/0-8-2054-g0eaaafd-large-vehicles-cause-cpu-usage-increase/3679/3 "2013-10-27T18:13:54Z")

</div>

It varies, in order of most CPU usage increase to least:

Driving (Or the vehicle moving at all)  
Fueling/charging (There’s over 40 tanks for gas alone)  
Repairing/Modifying  
Accessing Cargo  
Idle

Any time the vehicle is on screen there’s a noticeable frame rate loss and a CPU usage increase of almost 10% on my shitty laptop. (1.6 Intel Pentium GHz Dual Core) Is CDDA built with multi-core in mind? I know DF isn’t and it actually runs worse on multi-core systems (though it’s negligible on higher-end multi-core systems).

---

<div class="post-metadata">

**Author:** ![AtomicDryad](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/atomicdryad/32/85_2.png) [@AtomicDryad](https://discourse.cataclysmdda.org/u/AtomicDryad)\
**Post date:** [November 1, 2013, 1:42am UTC](https://discourse.cataclysmdda.org/t/0-8-2054-g0eaaafd-large-vehicles-cause-cpu-usage-increase/3679/4 "2013-11-01T01:42:40Z")

</div>

Can you zip up your save dir and send?

---

<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:** [November 1, 2013, 1:52am UTC](https://discourse.cataclysmdda.org/t/0-8-2054-g0eaaafd-large-vehicles-cause-cpu-usage-increase/3679/5 "2013-11-01T01:52:05Z")

</div>

> [@AtomicDryad](#):
>
> Can you zip up your save dir and send?

…Not anymore, I can try to rebuild it in the newer version but it will take some time.

I’m about seven (in-game) days into the build, it’s not even half done but my crap laptop is getting worse. It’s not CDDA, it’s the System Interrupts, that said there is a noticeable increase in CPU usage in what’s just there. [Save Folder](https://dl.dropboxusercontent.com/u/1605589/Misc%20Long-Term%20Files/RMCC.rar)

---

<div class="post-metadata">

**Author:** ![AtomicDryad](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/atomicdryad/32/85_2.png) [@AtomicDryad](https://discourse.cataclysmdda.org/u/AtomicDryad)\
**Post date:** [November 2, 2013, 12:30pm UTC](https://discourse.cataclysmdda.org/t/0-8-2054-g0eaaafd-large-vehicles-cause-cpu-usage-increase/3679/6 "2013-11-02T12:30:21Z")

</div>

Keep that save handy, I’m optimizing and should be done soon. Can either of you compile from git?
