GitHub user akrasnov-drv closed a discussion: Raw local disks for CS VMs
Hi, This is kind of follow up to https://github.com/apache/cloudstack/discussions/10468 Initially I had layered disks with shared base layer. On suggestion from @rajujith I set disk offering to fat, and that made my VM disks independent. That helped to improve performance, still I have issues, e.g. fragmentation. I'd want to use local raw pre-allocated disks, but so far have not found if it's possible with CS. I tried providing template in raw format, nevertheless VMs get their disks in the same compressed qcow format. If there is no way to use raw, maybe at least we can influence on other qcow options? Our standard VMs have disks with ``` file format: qcow2 virtual size: 70 GiB (75161927680 bytes) disk size: 66.5 GiB cluster_size: 65536 Format specific information: compat: 0.10 compression type: zlib refcount bits: 16 ``` but CS disks get ``` file format: qcow2 virtual size: 70 GiB (75161927680 bytes) disk size: 6.02 GiB cluster_size: 65536 Format specific information: compat: 1.1 compression type: zlib lazy refcounts: false refcount bits: 16 corrupt: false extended l2: false ``` with the same (I believe) load CS disk gets fragmented 10 times more than our non-CS VMs, and our original disk performance is a lot higher (compilation/linking is significantly faster) Then is it possible to change compat and lazy refcounts? Maybe some other parameters? The only ugly attempt to "inflate" the disk I have in mind is to create large file inside VM and then to remove it. Not sure if it helps at all, but I'd prefer even not to try, if there are other options. Any other suggestions are welcomed. Thanks, Alex. GitHub link: https://github.com/apache/cloudstack/discussions/10579 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org