dousikuai5417 2018-11-20 21:23 采纳率: 0%
浏览 108

在EFS共享上复制文件的奇怪瓶颈

A bit of a weird problem that has popped up out of nowhere and will little to no information. I work in support of a PHP (Laravel) application that stores asset files for our users. The application runs on across a few EC2 instances, and the assets are stored in EFS mounts.

The other day, one of our core routes which is responsible for triggering the server to copy a directory from A to B began to take a significant amount of time (from 5s to 90s) with no changes to the contents or application code.

I was able to isolate the delay to an xcopy call that moves 1 folder on the EFS to another folder in the same EFS. When I reached out to Amazon for assistance looking at the EFS metrics in CloudWatch, they indicated that everything looked strong, but they noted the fall off. Throughput is provisioned at 10Mb/s, and I've only spiked at 4-5Mb/s in the past few days.

Using NetData, I'm able to observe performance of RAM, CPU, NFS Client calls, and much more. From what I can tell, the NFS client is taking its sweet time. When testing locally without the EFS, the call is very speedy. I tried to modify the app code so that rather than a PHP copy, it would perform a system call to cp. This didn't seem to work.

Has anyone else experienced random latency issues like this before when using EFS? Does anyone have any recommendations on debugging techniques to see why this might be happening?

Thank you for reading and information you can offer up.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 Vue3 大型图片数据拖动排序
    • ¥15 划分vlan后不通了
    • ¥15 GDI处理通道视频时总是带有白色锯齿
    • ¥20 用雷电模拟器安装百达屋apk一直闪退
    • ¥15 算能科技20240506咨询(拒绝大模型回答)
    • ¥15 自适应 AR 模型 参数估计Matlab程序
    • ¥100 角动量包络面如何用MATLAB绘制
    • ¥15 merge函数占用内存过大
    • ¥15 使用EMD去噪处理RML2016数据集时候的原理
    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大