Home  >  Article  >  Which one is faster, nfs or smb?

Which one is faster, nfs or smb?

(*-*)浩
(*-*)浩Original
2019-07-30 13:12:3666461browse

NFS (Network File System)The Network File System is one of the file systems supported by FreeBSD, which allows resources to be shared between computers on the network. In NFS applications, local NFS client applications can transparently read and write files located on the remote NFS server, just like accessing local files.

Which one is faster, nfs or smb?

This is the copy speed after nfs protocol mapping

The following are the most obvious benefits of NFS:

1. Save local storage space. Store commonly used data on an NFS server and access it through the network. Then the local terminal can reduce the use of its own storage space.

2. Users do not need to create a Home directory on every machine in the network. The Home directory can be placed on the NFS server and can be accessed on the network.

3. Some storage devices such as floppy drives, CDROMs and Zip (a high storage density disk drive and disk) can be used by other machines on the network. This can reduce the number of removable media devices on the entire network.

SMB (full name is Server Message Block) is a protocol name, which can be used for Web connections and information communication between the client and the server. SMB was originally developed by Barry Feigenbaum of IBM. Its purpose was to transform the local file interface "Interrupt 13" in the DOS operating system into a network file system.

Which one is faster, nfs or smb?This is the copy speed after SNB protocol mapping

Later, Microsoft made major changes to this development, and this changed version is also the most common version . Microsoft integrated the SMB protocol with the network management program it developed with 3Com, and continued to add new features in Windows for Workgroups and later versions of Windows.

Due to the importance of the SMB protocol for communicating with the dominant Microsoft Windows platform, and the SMB protocol currently used by this platform has undergone significant changes compared to the initial version, the Samba project was created. Reverse engineering to provide a free software compatible with SMB software so that non-Microsoft operating systems can use it.

Under the same environment, two nas use the smb protocol and the nfs protocol to compare the speed of transferring a single large file using mapping. The speed of nfs is faster.

The above is the detailed content of Which one is faster, nfs or smb?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn