# How to decrease the number of disk writes to a minimum of the supervisor?

**URL:** <https://forums.balena.io/t/how-to-decrease-the-number-of-disk-writes-to-a-minimum-of-the-supervisor/156182>\
**Category:** balenaEngine\
**Created:** [July 17, 2020, 7:01am UTC](https://forums.balena.io/t/how-to-decrease-the-number-of-disk-writes-to-a-minimum-of-the-supervisor/156182 "2020-07-17T07:01:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgirotto](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@tgirotto](https://forums.balena.io/u/tgirotto)\
**Post date:** [July 17, 2020, 7:01am UTC](https://forums.balena.io/t/how-to-decrease-the-number-of-disk-writes-to-a-minimum-of-the-supervisor/156182/1 "2020-07-17T07:01:55Z")

</div>

Given the relatively short lifespan of the SD card that comes with the RPI, I am trying to decrease the number of IO writes to a minimum. In order to do that, I am using balena-engine stats to detect the read/writes of the different containers. Although the supervisor is not writing much, I would still be interested in understanding whether it is possible to limit how much it is writing to the fs. Any advice?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![kaisoz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/kaisoz/32/3570_2.png) [@kaisoz](https://forums.balena.io/u/kaisoz)\
**Post date:** [July 17, 2020, 8:42am UTC](https://forums.balena.io/t/how-to-decrease-the-number-of-disk-writes-to-a-minimum-of-the-supervisor/156182/5 "2020-07-17T08:42:43Z")

</div>

Hi!

The supervisor only writes to the fs if you change the configuration or make a new release. So the writing is pretty optimized already and I’m afraid cannot be optimized more at the moment.

---

<div class="post-metadata">

**Author:** ![tgirotto](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@tgirotto](https://forums.balena.io/u/tgirotto)\
**Post date:** [July 17, 2020, 8:48am UTC](https://forums.balena.io/t/how-to-decrease-the-number-of-disk-writes-to-a-minimum-of-the-supervisor/156182/7 "2020-07-17T08:48:46Z")

</div>

Good to know. Thanks a lot!
