I understand that filesystems like ZFS/Btrfs are ideal when frequently creating/cloning new containers etc. due to features like CoW.
From what I can tell, they however perform worse for general desktop use (reading & writing data of average size and quantity).
I have some containers that hold large applications (and their environment) for many months without any cloning, snapshots or the likes. What do you think about using a directory-based storage backend on ext4 for those (leaving Btrfs for transient / microservice containers)? I know this isn’t the typical container use case, but it might give sufficient performance benefits (less overhead) to justify it.
I am a new LXD user and I have a similar doubt. I am intending to use LXD to setup a development environment on top of my main Ubuntu installation. As I would not like to mess up my main system, I would like to setup a sort of VM. I do not have space for any additional partition. Therefore, I am limited to loop device or dir.
Please, could someone advise on the recommended LXD setup for a development environment (mainly for developing and compiling of applications)?