Help Center/ Scalable File Service/ Troubleshooting/ File System Performance Is Poor
Updated on 2024-06-27 GMT+08:00

File System Performance Is Poor

Symptom

Data is written slowly to the file system, the file system performance cannot meet service requirements, or file transfer is slow.

Troubleshooting

Possible causes are sequenced based on their occurrence probability.

If the fault persists after you have ruled out one cause, move on to the next one in the list.

Figure 1 Troubleshooting
Table 1 Troubleshooting

Possible Causes

Solution

The file system and the servers where the file system is mounted are not in the same AZ.

Create a file system in the same AZ as the servers, migrate the data from the original file system to the new file system, and mount the new file system to the servers.

The application scenario does not match the file system type.

Select an appropriate file system type based on your workloads. For details, see File System Types.

The capacity of the SFS Capacity-Oriented file system is small.

The performance of an SFS Capacity-Oriented is related to its capacity. The ratio of the file system bandwidth to the file system capacity is 20 MB/s to 1 TB. The maximum bandwidth of a file system with 100 TB capacity is 2 GB/s. If a higher bandwidth is required, purchase a file system with larger capacity. To obtain higher performance, submit a service ticket.

The number of concurrent requests is too large or too small.

When the number of concurrent requests is too large or too small, the file system performance may deteriorate. Submit a service ticket.

The log file path contains variables.

If it takes a long time to write logs to the file system using Nginx, do as follows:

  • Delete variables from the access_log directive and use a fixed path to store log files.
  • Set the log file descriptor cache using the open_log_file_cache command, which improves the performance of the log path containing variables.

The local network is faulty.

Rectify the network fault.

Submitting a Service Ticket

If the problem persists, submit a service ticket.