Re: [問題] nas走內網速度 vs das走usb速度?

看板Storage_Zone作者 (大怒神のスイッチ)時間2年前 (2021/09/05 22:59), 2年前編輯推噓6(6011)
留言17則, 8人參與, 2年前最新討論串3/3 (看更多)
※ 引述《j8xx (翻譯官)》之銘言: : 請問大大們, : 因為目前在決定要nas還是das, : 有一個是傳輸速度,大家是說nas傳的慢,但是如果是走內網一樣很慢嗎?跟一般外接硬 這個不好說, 跟錢有關 : 碟走usb的速度比誰比較快? : 先感謝大大們惹 : ---- : Sent from BePTT on my ASUS_I01WD 我的環境如下: ------------- NAS: QNAP TS-h1277XU-RP 32G SSD: Crucial MX-500 2TB x6 NIC: LAN-40G2SF-MLX 簡單說就是 6 顆 SSD 做 RAID-6, 透過 40GbE 的網卡傳輸 測速結果: --------- SCP root@pve2:/Internal-VMs# scp admin@172.16.50.6:/share/ZFS2_DATA/Public/ubuntu-20 ubuntu-20.04.3-desktop-amd64.iso 100% 2930MB 756.6MB/s 00:03 root@pve2:/Internal-VMs# scp admin@172.16.50.6:/share/ZFS2_DATA/Public/ubuntu-20 ubuntu-20.04.3-desktop-amd64.iso 100% 2930MB 764.5MB/s 00:03 root@pve2:/Internal-VMs# scp admin@172.16.50.6:/share/ZFS2_DATA/Public/ubuntu-20 ubuntu-20.04.3-desktop-amd64.iso 100% 2930MB 782.9MB/s 00:03 root@pve2:/Internal-VMs# scp admin@172.16.50.6:/share/ZFS2_DATA/Public/ubuntu-20 ubuntu-20.04.3-desktop-amd64.iso 100% 2930MB 766.0MB/s 00:03 root@pve2:/Internal-VMs# scp admin@172.16.50.6:/share/ZFS2_DATA/Public/ubuntu-20 ubuntu-20.04.3-desktop-amd64.iso 100% 2930MB 740.3MB/s 00:03 SMB root@pve2:/Internal-VMs# smbclient -U user%pass //172.16.50.6/public -c 'get ubu getting file \ubuntu-20.04.3-desktop-amd64.iso of size 3071934464 as ubuntu-20.04.3-desktop-amd64.iso (2172292.4 KiloBytes/sec) (average 2172292.5 KiloBytes/sec) -> 2121MB/s root@pve2:/Internal-VMs# smbclient -U user%pass //172.16.50.6/public -c 'get ubu getting file \ubuntu-20.04.3-desktop-amd64.iso of size 3071934464 as ubuntu-20.04.3-desktop-amd64.iso (2039385.3 KiloBytes/sec) (average 2039385.5 KiloBytes/sec) -> 1991MB/s root@pve2:/Internal-VMs# smbclient -U user%pass //172.16.50.6/public -c 'get ubu getting file \ubuntu-20.04.3-desktop-amd64.iso of size 3071934464 as ubuntu-20.04.3-desktop-amd64.iso (2103741.8 KiloBytes/sec) (average 2103741.9 KiloBytes/sec) -> 2054MB/s root@pve2:/Internal-VMs# smbclient -U user%pass //172.16.50.6/public -c 'get ubu getting file \ubuntu-20.04.3-desktop-amd64.iso of size 3071934464 as ubuntu-20.04.3-desktop-amd64.iso (2209083.8 KiloBytes/sec) (average 2209083.9 KiloBytes/sec) -> 2157MB/s root@pve2:/Internal-VMs# smbclient -U user%pass //172.16.50.6/public -c 'get ubu getting file \ubuntu-20.04.3-desktop-amd64.iso of size 3071934464 as ubuntu-20.04.3-desktop-amd64.iso (2096391.2 KiloBytes/sec) (average 2096391.3 KiloBytes/sec) -> 2047MB/s NFS root@pve2:/Internal-VMs# rsync --progress nfs-test/ubuntu-20.04.3-desktop-amd64. ubuntu-20.04.3-desktop-amd64.iso 3,071,934,464 100% 637.15MB/s 0:00:04 (xfr#1, to-chk=0/1) root@pve2:/Internal-VMs# rsync --progress nfs-test/ubuntu-20.04.3-desktop-amd64. ubuntu-20.04.3-desktop-amd64.iso 3,071,934,464 100% 1.48GB/s 0:00:01 (xfr#1, to-chk=0/1) root@pve2:/Internal-VMs# rsync --progress nfs-test/ubuntu-20.04.3-desktop-amd64. ubuntu-20.04.3-desktop-amd64.iso 3,071,934,464 100% 1.55GB/s 0:00:01 (xfr#1, to-chk=0/1) root@pve2:/Internal-VMs# rsync --progress nfs-test/ubuntu-20.04.3-desktop-amd64. ubuntu-20.04.3-desktop-amd64.iso 3,071,934,464 100% 1.58GB/s 0:00:01 (xfr#1, to-chk=0/1) root@pve2:/Internal-VMs# rsync --progress nfs-test/ubuntu-20.04.3-desktop-amd64. ubuntu-20.04.3-desktop-amd64.iso 3,071,934,464 100% 1.59GB/s 0:00:01 (xfr#1, to-chk=0/1) 參考看看 -- 世界越快 心則慢 網路越慢 心則快 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.134.192.129 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Storage_Zone/M.1630853997.A.60C.html

09/05 23:25, 2年前 , 1F
猜:6xx~7xxMB/s 才是真正的 I/O 速度,1.xGB/s 是
09/05 23:25, 1F

09/05 23:25, 2年前 , 2F
吃到 page cache 的速度。
09/05 23:25, 2F
samba 是真實速度,scp 是加密造成的減速

09/06 00:34, 2年前 , 3F
infiniband跟系統調校應該有很大關係 反正數字有到
09/06 00:34, 3F

09/06 00:34, 2年前 , 4F
就好
09/06 00:34, 4F

09/06 09:34, 2年前 , 5F
請問switch是用哪一台?
09/06 09:34, 5F

09/06 17:18, 2年前 , 6F
infiniband的switch不敢想像 應該是對接的吧
09/06 17:18, 6F
對接無誤

09/06 18:59, 2年前 , 7F
對接吧 那switch貴死了XDDD
09/06 18:59, 7F
※ 編輯: tacovirus (39.8.99.190 臺灣), 09/06/2021 20:01:01 ※ 編輯: tacovirus (39.8.99.190 臺灣), 09/06/2021 20:02:00

09/06 20:18, 2年前 , 8F
原來是對接啊 那我還是繼續用10gbe骨幹好了
09/06 20:18, 8F

09/06 21:58, 2年前 , 9F
我raid5 das 速度800-900MB/s就一條TB3,省錢,NAS
09/06 21:58, 9F

09/06 21:58, 2年前 , 10F
要跑到這個速度,成本相對高。看你做什麼用
09/06 21:58, 10F

09/06 22:05, 2年前 , 11F
不過 NFS 第一次也是 6xxMB/s,所以我才猜是 page
09/06 22:05, 11F

09/06 22:05, 2年前 , 12F
cache 的影響。
09/06 22:05, 12F

09/06 22:06, 2年前 , 13F
不過也是,scp 都到 7xxMB/s 了,也該撞到 CPU
09/06 22:06, 13F

09/06 22:06, 2年前 , 14F
bound 了。
09/06 22:06, 14F

09/06 22:19, 2年前 , 15F
錢=速度
09/06 22:19, 15F

09/07 12:14, 2年前 , 16F
錢=速度 +1
09/07 12:14, 16F

09/08 15:31, 2年前 , 17F
請拿>32GB檔案來測,不然都是讀快取 zpool沒有io的
09/08 15:31, 17F
文章代碼(AID): #1XDDjjOC (Storage_Zone)
文章代碼(AID): #1XDDjjOC (Storage_Zone)