# How to configure a deployment use more disk resource?

**URL:** <https://discuss.elastic.co/t/how-to-configure-a-deployment-use-more-disk-resource/177559>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [April 19, 2019, 2:50am UTC](https://discuss.elastic.co/t/how-to-configure-a-deployment-use-more-disk-resource/177559 "2019-04-19T02:50:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rockybean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rockybean/32/11443_2.png) [@rockybean](https://discuss.elastic.co/u/rockybean)\
**Post date:** [April 19, 2019, 2:50am UTC](https://discuss.elastic.co/t/how-to-configure-a-deployment-use-more-disk-resource/177559/1 "2019-04-19T02:50:08Z")

</div>

Hi,  
As I know, we can boost cpu share by changing some settings as below.

> [@Need some advice on cpu core number vs memory for ece allocator](https://discuss.elastic.co/t/need-some-advice-on-cpu-core-number-vs-memory-for-ece-allocator/169242/2):
>
> In general we recommend trying to keep the cpu:mem ratio in the 1:8 range (that's a typical ratio you'll see in standard AWS hardware) and we have observed issues with smaller clusters not being able to load with 1:11 or worse (the temp fix is described below and there's a full fix coming in 2.2 or 2.3) There's a few workarounds: As you point out you can artificially restrain the allocator capacity .... this makes most sense if you have no control over how the capacity will be used, since in …

And ece use blk\_io.weight to limit disk resource for container.

> [@How does ece limit disk iops for es node?](https://discuss.elastic.co/t/how-does-ece-limit-disk-iops-for-es-node/174899):
>
> Hi, As we know, docker provides capability to limit disk iops by using 'blkio-weight' parameter. I notice ece set different 'blkio-weight' for different size es node. What is the strategy behind this? Thanks!

I wonder if there is a similar setting for disk like cpu share setting to allow a deployment use more disk resource.

thanks!

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [April 19, 2019, 12:49pm UTC](https://discuss.elastic.co/t/how-to-configure-a-deployment-use-more-disk-resource/177559/2 "2019-04-19T12:49:07Z")

</div>

You can always use as much disk resource as available, the `blk-weight` only kicks in if the disk is over-provisioned to manage sharing between different instances on the same allocator

It uses the same weighting as the CPU (ie changing one cluster's CPU weight will also increase its IO weight as discussed [here](https://discuss.elastic.co/t/ece-ram-to-storage-ratio/101878/10))

Alex

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 3, 2019, 12:49pm UTC](https://discuss.elastic.co/t/how-to-configure-a-deployment-use-more-disk-resource/177559/3 "2019-05-03T12:49:08Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
