Applicable products
- TS-462A with QTS 5.2.6.3170 Build 20250620
Overview
iSCSI and Samba (SMB/CIFS) are two protocols for accessing storage on a QNAP NAS. iSCSI provides block-level access, allowing the NAS to appear as a local disk to the connected computer, while Samba offers file-level network sharing, enabling multiple users to access folders over the network. Performance can vary depending on the access protocol, file size, and workload.
Analysis
A benchmark was performed on a QNAP TS-462A running over a 2.5GbE network. The results below compare iSCSI and SMB performance for large and small file transfers.
Large file transfers (32GB x 1 single file)
- SMB: Upload: 295 MB/s | Download: 296 MB/s
- iSCSI: Upload: 266 MB/s | Download: 265 MB/s
- Result: SMB was approximately 11–12% faster than iSCSI for large file transfers.
Small file transfers (1MB x 32,768 files)
- SMB: Upload: 98.5 MB/s | Download: 119 MB/s
- iSCSI: Upload: 293 MB/s | Download: 167 MB/s
- Result: For small file transfers, SMB was approximately 29% to 66% slower than iSCSI.
Actual performance may vary depending on NAS hardware, network setup, and configuration. These results are from one configuration (TS-462A, QTS 5.2.6.3170 Build 20250620, 2.5GbE).
Recommendation
For most users, Samba (SMB) is recommended for cross-platform file sharing as it is widely supported by Windows, macOS, and Linux. SMB is generally faster for large file transfers and best suited for multi-user or cross-system environments.
iSCSI can provide higher performance for small file transfers and is ideal when a single computer requires block-level access, such as for virtualization or databases. If your use case involves optimizing small file transfer performance to a single device, consider iSCSI.
Overall, SMB remains the preferred choice for most scenarios.
적용되는 제품
- TS-462A with QTS 5.2.6.3170 Build 20250620
개요
iSCSI 및SAMBA (SMB/CIFS)는 QNAP NAS에서스토리지에 액세스하기 위한 두 가지 프로토콜입니다. iSCSI는 블록 수준의 액세스를 제공하여 NAS를 연결된 컴퓨터의 로컬 디스크처럼 보이게 하며, SAMBA은 파일 수준의 네트워크 공유를 제공하여 여러 사용자가 네트워크를 통해 폴더에 액세스할 수 있도록 합니다. 성능은 액세스 프로토콜, 파일 크기 및 작업량에 따라 달라질 수 있습니다.
분석
QNAP TS-462A에서 2.5GbE 네트워크를 통해 벤치마크가 수행되었습니다. 아래 결과는 대용량 및 소용량 파일 전송에 대한 iSCSI와 SMB 성능을 비교합니다.
대용량 파일 전송 (32GB x 1 단일 파일)
- SMB:업로드: 295 MB/s | 다운로드: 296 MB/s
- iSCSI:업로드: 266 MB/s | 다운로드: 265 MB/s
- 결과:대용량 파일 전송에서 SMB는 iSCSI보다 약 11~12% 더 빨랐습니다.
소용량 파일 전송 (1MB x 32,768 파일)
- SMB:업로드: 98.5 MB/s | 다운로드: 119 MB/s
- iSCSI:업로드: 293 MB/s | 다운로드: 167 MB/s
- 결과:소용량 파일 전송에서는 SMB가 iSCSI보다 약 29%에서 66% 더 느렸습니다.
실제 성능은 NAS 하드웨어, 네트워크 설정 및 구성에 따라 달라질 수 있습니다. 이 결과는 하나의 구성(TS-462A, QTS 5.2.6.3170 Build 20250620, 2.5GbE)에서 나온 것입니다.
권장 사항
대부분의 사용자에게는,SAMBA (SMB)는 Windows, macOS 및 Linux에서 널리 지원되므로 크로스 플랫폼 파일 공유에 권장됩니다. SMB는 일반적으로 대용량 파일 전송에 더 빠르며 다중 사용자 또는 크로스 시스템 환경에 가장 적합합니다.
iSCSI는 소용량 파일 전송에 대해 더 높은 성능을 제공할 수 있으며, 가상화 또는 데이터베이스와 같이 단일 컴퓨터가 블록 수준의 액세스를 필요로 할 때 이상적입니다. 소용량 파일 전송 성능을 단일 장치로 최적화하려는 경우 iSCSI를 고려하십시오.
전반적으로, 대부분의 시나리오에서 SMB가 선호되는 선택입니다.