We should support configure the capacity values in a more semantic way, for example using "1 GiB" to reprsent the capacity. [bytesize](https://docs.rs/bytesize/latest/bytesize/) can be a choice.