vic icon indicating copy to clipboard operation
vic copied to clipboard

Add volume create option to specify thick provisioning for performance

Open corrieb opened this issue 7 years ago • 1 comments

Hal Rosenburg's recent performance testing has shown that write performance is impacted by our use of thin provisioning of volumes.

See http://rickardnobel.se/eager-thick-vs-lazy-thick-disk-performance/ also.

This absolutely makes sense as the default, given that we don't want to be efficient about datastore usage, but we should provide the option for thick provisioning if you want maximum throughput in production.

From a policy standpoint, it might be better to characterize it as "lazy or eager".

Implementation would simply be docker volume create --opt Provision=[thin|lazythick|eagerthick] myVol

corrieb avatar Sep 14 '17 10:09 corrieb

I have WIP code for this rolled up in a disk-opts branch however that branch currently includes work towards raw disk support as well (no filesystem).

We should split out my changes and address this directly, with raw disk support being added in a separate issue. I'm also going to make this depend on #7397 as the re-organisation makes these changes less scattered.

hickeng avatar May 08 '18 19:05 hickeng