Azure: azurefile shared pvc ReadWriteMany slow read and especially slow write speed

Marc Jansen 11 Reputation points
2021-09-24T09:00:00.457+00:00

Hello there,

we're running a webserver in an AKS and the files for our cms (content management system) are located in a shared pvc (since the cms runs with a replica count of 3). The performance we get is bad. Not bearable bad.

The cms isn't huge, 7mb. Archived the transfer is almost instantly but when a lot of small files get transferred the speed drops dramatically. Same 7mb but it took almost 2 minutes on a 128gb azurefile-premium volume to transfer the files from the pod itself to the mounted pvc. The performance is also identically bad while the pvc is mounted to only 1 pod.

Is there any solution to this problem where azurefile storage performs really bad on a lot of small files?

Kind regards

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,156 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,848 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Marc Jansen 11 Reputation points
    2022-02-24T09:12:59.517+00:00

    Is there any solution/answer yet? This problem still continuous after 6 months.

    1 person found this answer helpful.
    0 comments No comments

  2. FG 6 Reputation points
    2022-03-02T09:44:40.52+00:00

    We would also appreciate an answer to this issue.

    We are also using kubernetes with a shared pvc but not utilizing anything related to azure.
    The read write performance for all kinds of files on the pvc is bad. Reading files from the local pod system is fast.
    Maybe this issue is related to how-to-improve-very-poor-file-read-performance-wit.html and the problem is not related azure but the file access from c# inside kubernetes.

    Our target framework is net5.0.

    Any help would be great.
    Tanks

    1 person found this answer helpful.
    0 comments No comments