# Block cache might be too small

**URL:** <https://discuss.dgraph.io/t/block-cache-might-be-too-small/15443>\
**Category:** Dgraph\
**Tags:** kind:bug\
**Created:** [August 31, 2021, 11:47am UTC](https://discuss.dgraph.io/t/block-cache-might-be-too-small/15443 "2021-08-31T11:47:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reddy.nandikonda](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/reddy.nandikonda/32/8788_2.png) [@reddy.nandikonda](https://discuss.dgraph.io/u/reddy.nandikonda)\
**Post date:** [August 31, 2021, 11:47am UTC](https://discuss.dgraph.io/t/block-cache-might-be-too-small/15443/1 "2021-08-31T11:47:06Z")

</div>

## What I want to do

I need to configure Block cache in the latest Dgraph .  
Can you please explain what are the 3 parameters in the percentage option ?

## What I did

I have started the alpha with below commands  
op1 : nohup dgraph alpha --my=192.180.66.41:7080 --zero=192.180.66.41:5080 --cache size-mb=1024 --cache percentage=50,30,20 --security whitelist=0.0.0.0/0 &

or  
op 2 :

nohup dgraph alpha --my=192.180.66.41:7080 --zero=192.180.66.41:5080 --cache size-mb=1024 --cache percentage=0,70,30 --security whitelist=0.0.0.0/0 &

## Dgraph metadata

Dgraph version : v21.03.2  
Dgraph codename : rocket-2  
Dgraph SHA-256 : 00a53ef6d874e376d5a53740341be9b822ef1721a4980e6e2fcb60986b3abfbf  
Commit SHA-1 : b17395d33  
Commit timestamp : 2021-08-26 01:11:38 -0700  
Branch : HEAD  
Go version : go1.16.2  
jemalloc enabled : true

For Dgraph official documentation, visit [Overview - Dgraph](https://dgraph.io/docs).  
For discussions about Dgraph , visit [http://discuss.hypermode.com](http://discuss.hypermode.com).  
For fully-managed Dgraph Cloud , visit [Overview - Dgraph](https://dgraph.io/cloud).

Licensed variously under the Apache Public License 2.0 and Dgraph Community License.  
Copyright 2015-2021 Dgraph Labs, Inc.
