Very slow Azure File volume mount on Azure Container Instance

Matthias Denu 1 Reputation point

We are using an ARM template to deploy a container instance that has a file share as a volume mount.

We have a process that runs on the container that makes many file operations to the mounted share. We have noticed that the performance of this process has decreased significantly since changing it to use the file share, rather than doing it locally, in volatile memory that will be deleted with the container instance. We want to use the Azure file share so that we have persistent storage, even after the container instance is deleted, but we would like to reduce the performance hit.

I've looked at but wasn't able to solve the problem.

It does not appear that we can change the options sent to the mount command for the container image through the ARM template

Attached is a screen shot of some metrics.


Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
778 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
460 questions
No comments
{count} votes