通过SMB即windows共享访问Synology NAS非常慢,到所有文件显示要几分钟时间,同时文件上传也变慢,打开Resource Monitor显示Volume Utilization几乎一直处于100%的状态,网络多方查找无解,问了Synology Support,他们说这个高使用率只说明机器一直有读写而不代表影响性能。
Why is volume utilization always so high in Resource Monitor?
A high percentage of volume utilization does not necessarily represent a problem. The value refers to the percentage of access rate within a designated time frame.
For instance, if a volume is accessed for five seconds within 10 seconds, its volume utilization would be 50%. If it is accessed throughout the entire 10 seconds, the percentage would be 100%.
This simply indicates processing data I/O rather than heavy loading on your Synology NAS.
自己闷着头查了几天,看到27TB的磁盘容量也只用了不到4T而已,然后脑子闪过一个场面:莫非跟之前linux服务器一样,是因为小文件太多导致 inode空间不足继而使服务器运行变慢?目前NAS的存储的小文件达到千万级别,再联系这个NAS后台也是Linux,我估计极有可能,于是尝试将文件转移,花了几天时间,然后再观察这个volume utilization, 终于变回正常了。看来对我的情况,磁盘空间不是问题,小文件数量巨大才是问题,因此需要把文件存储方式做出修改,我需要把读写分离才行。