# Making use of added storage volumes

**URL:** <https://meta.discourse.org/t/making-use-of-added-storage-volumes/51060>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [Outubro 4, 2016, 8:48am UTC](https://meta.discourse.org/t/making-use-of-added-storage-volumes/51060 "2016-10-04T08:48:57Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)\
**Post date:** [Agosto 25, 2017, 1:09pm UTC](https://meta.discourse.org/t/making-use-of-added-storage-volumes/51060/11 "2017-08-25T13:09:52Z")

</div>

The difference is much worse. `dd` is not a good tool to measure performance if you want the results to be anything near what is happening in real life. `dd` performs a long sequential write, and that is not what your Discourse server is doing.

We use `fio` for benchmarking stuff like this.  
See this article: [https://www.binarylane.com.au/support/solutions/articles/1000055889-how-to-benchmark-disk-i-o](https://www.binarylane.com.au/support/solutions/articles/1000055889-how-to-benchmark-disk-i-o)

The base SSD disk is around 9 times faster than the add-on volume.

Base disk:

```
Jobs: 1 (f=1): [m] [-.-% done] [115.8M/39880K /s] [29.7K/9970 iops] [eta 00m:00s]
   READ: io=307668KB, aggrb=127346KB/s, minb=127346KB/s, maxb=127346KB/s, mint=2416msec, maxt=2416msec
  WRITE: io=101932KB, aggrb=42190KB/s, minb=42190KB/s, maxb=42190KB/s, mint=2416msec, maxt=2416msec

```

Add-on volume:

```
Jobs: 1 (f=1): [m] [100.0% done] [11484K/3904K /s] [2871 /976 iops] [eta 00m:00s]
READ: io=306676KB, aggrb=14174KB/s, minb=14174KB/s, maxb=14174KB/s, mint=21635msec, maxt=21635msec
WRITE: io=102924KB, aggrb=4757KB/s, minb=4757KB/s, maxb=4757KB/s, mint=21635msec, maxt=21635msec

```

On the other hand, don’t overestimate the impact of a not so fast disk: if you use the add on disk only for files (`public/uploads` ) then nginx caching and kernel filesystem caching will save your day and you’ll still have a pretty decent performance.

---

_[View the full topic](https://meta.discourse.org/t/making-use-of-added-storage-volumes/51060)._
