laitimes

A must-see for enterprises: Raysync teaches you how to test the efficiency and stability of intranet file transfer

author:raysync

In modern business operations, the efficiency and stability of internal file transfer is extremely important for data management and business processes. Whether you're working remotely or collaborating in a team, efficient file transfer can dramatically boost productivity. Today, Raysync will teach you how to test the efficiency and stability of intranet file transfer.

A must-see for enterprises: Raysync teaches you how to test the efficiency and stability of intranet file transfer

1. Disk performance, that is, the read and write speed of the hard disk, is mainly determined by the speed of the hard disk and the size of the cache. High-performance disks can speed up file transfers and reduce transfer times.

2. Network bandwidth refers to the maximum transmission speed of the network, which determines the transmission capacity of data on the network. High bandwidth can reduce the time required for file transfers.

A key factor in intranet file transfer

In intranet file transfers, disk performance and network bandwidth are the two main factors that affect the transfer speed. Testing disk performance and network rates is critical to ensuring the efficiency and stability of file transfers. Here is an example of the test method of Raysync (privatized deployment solution, which can also be connected to the public cloud, and enterprise and social organization users can apply for a free trial):

Disk performance test method

A must-see for enterprises: Raysync teaches you how to test the efficiency and stability of intranet file transfer

Disk performance testing mainly depends on the speed of the disk and the size of the cache, which directly affects the read and write rate of files. The dd command is a powerful tool in the Linux environment for testing the read and write performance of disks.

  • Test the read performance of the disk:
    time dd if=test.file of=/dev/null bs=2048 count=500000 iflag=direct      
  • Test the write performance of the disk:
    time dd of=test.file if=/dev/zero bs=2048 count=500000 oflag=direct      

Disk test parameters

  • if: specifies the path of the file to be read.
  • of: specifies the file path of the output.
  • bs: The size of each block of data transferred.
  • count: the number of data blocks transferred.
  • iflag=direct或oflag=direct:测试时不使用缓存,直接读写磁盘。

Network rate test

A must-see for enterprises: Raysync teaches you how to test the efficiency and stability of intranet file transfer

Network bandwidth is a key indicator to measure the network transmission capacity in intranet file transfer.

  • Test environment preparation: Two devices are required, one as a server and one as a client.
  • Start the service: Run the iperf3 -s command on the server to start the iperf service.
  • TCP uplink test:
    iperf3 -c 192.168.0.112 -i 1 -l 64B -t 10      
  • TCP Downlink Test:
    iperf3 -c 192.168.0.112 -i 1 -l 64B -t 10 -R      
  • UDP uplink test:
    iperf3 -u -c 192.168.0.112 -b 1000M -i 1 -t 10      
  • UDP Downlink Test:
    iperf3 -u -c 192.168.0.112 -l 64B -i 1 -t 10 -R      

summary

Through the test of disk performance and network rate, we can obtain the transfer speed information of disk and network, and then evaluate the efficiency and stability of intranet file transfer. These test methods are suitable for any scenario that needs to evaluate the performance of intranet transmission, and regular testing can help identify and solve potential performance bottlenecks in a timely manner, ensuring the efficiency and stability of enterprise data transmission.

Read on