Peter Jakab
Dabbler
- Joined
- Jun 18, 2015
- Messages
- 37
Hi All,
I spend lot of my time with performance test, but I can jump out from this problem. I have multiple systems invited in this test at home see below:
1.Old NAS called (not recommended compliant I know)
HW as in my signature below.
NIC: motherboard was msk0 but I purchased Intel PRO/1000 CT as I use today as em0
2. New one called DemoNAS (because just demonstrate 9.3 how will works with 24TB)
New NAS 9.3 latest version (mean FreeNAS-9.3-STABLE-201508250051)
Supermicro X9SRH-7F motherboard
Intel Xeon E5-1620 V2
one modul 16GB Low Volt RDIMM 1600MHz (M393B2G70QH0-YK0 a is recommended list)
Jails and initial datasets:
1*ST3120026AS (120GB old 7200.7) and 1*ST3250310AS (250GB old 7200.10) in stripe stolen from my very old desktops:)
For speed tests zpools raidz2:
4*Seagate Constellation ES 500GB ST500NM0011 in raidz2 just purchased for z2pool killing tests from ebay
3.Main PC
Win7x64 official latest patches
ASUS P8-Z68VPRO (mainboard with
I7-2600K
16GB RAM (as horrible big since 2011)
NIC: in past I use Intel 82579V Gigabit but I also purchased Intel PRO/1000 CT as I use today
Lot of disks (128SSD OCZ Vertex3 for OS and more Seagate for data: 1TB ST1000DM003, 2TB ST2000NM0011, old 2*320GB ST3320620AS etc.)
4.Dell PC
I purchased for low cost on corporate selling days. "Why not PC" for any testing.
Dell Optiplex 755MT
NIC: built in
HDD is rest of what is not used else where 1*ST3120026AS (120GB old 7200.7), 1 Seagate 80GB SATA and 64GB OCZ Vertex3
Dual OS boot Uhbuntu (SSD) and Win7x32(on 120GB)
5.Netgear switch GS108E
My problem I unable go over 40-50Mbyte/sec (MB/s) speeed limit.
What I made in past:
1. checked all of the related threads about "samba/SMB/CIFS" and "performance" but not help me.
2. I first realized my old NAS and Main PC have speed limitation about 40MByte/sec. I think this is known issue due msk0 NIC on NAS and also just 8GB RAM (non ECC I know).
3. So I plan and buy my new NAS for bigger and faster system. Bigger is true but I not able reach faster.
4. Because I have still have 40Mbyte/sec max throughput and iperf also show 350-450Mbit/s (Mbps) speed between MainPC-DemoNAS and OldNAS-DemoNAS I buy 2 qty of Intel PRO/1000 CT NIC cards.
5. So funny the shop send me Intel PRO/1000 GT (PCI not PCIe) so I can confirm same speed limits valid for PCI limited GT series. My measurement 300-350Mbit/sec. So I sent back and ask for PCIe cards.
----------------------------------------------------------------------------------------
Actually:
6. I don't know interrupt sharing could impact performance but in desktop/gaming (not server) motherboards not easy get PCIe slot without any sharing.
MainPC PCIe interupt sharing
have PCIe 2.0 x1_1 slot used. Shared with PCI1:empty, SATAController: here is the most of the HDD except 1TB which on different Marvell PCIe 6.0Gb/s controller). PCIeX1_2 not usefully due behind dual slot video card:) only alternative option PCIe X16_3 (in 1X mode) used by my old PATA controller this is also shared with PCIeX1_2, USB3 and 1394 controller)
OldNAS interupt sharing
the only PCIeX1_1 used due the other PCIEX16_2 disabled by primary passive cooling video card. Shared with USB3 and USB2.0_2 and SATA controller 2 (which I unable determine also have controller 1 and SATA363 in sharing table meawhile 6 SATA ports on motherboard).
7. Main PC to DemoNAS
Samba share on zpool2, max protocol SMB2, with socket options = IPTOS_LOWDELAY TCP_NODELAY.
Direction DemoNAS z2pool>Netgear>Win7x64 1TB disk (latest Intel NIC driver 12.7.28.0 2015.05.26)
stable 46-48MByte/sec (showed by TeraCopy) for 27.18Gbyte m2ts video file (ARC size 11.87GB). Windows Resource monitor show maximal about 50,568,000B/sec (nothing for this disk internal copy about 120MByte/sec). So this is 384Mbps (Megabit/sec) not good Looooong time. In second copy (until ARC) goes up to 56MB/s which is mean 448Mbps but after cache out drop down to 46MB/s again.
Stats:
"systat -vmstat" show the zpool 4 disk just have stable 64KB/t, 204tps, 12-13.66MByte/second 20-24% busy disk for da0-da3
Under verify Resource monitor show read peak from 1TB disk 196,804,000B/sec. Could you believe it 187Mbyte/sec peak?
top -P show smbd process WCPU is around 20.36%. And the CPU threads show 3.1% user on random thread for smbd and 21% for interupt on one stable other thread
No CPU and HDD bottleneck on DemoNAS
Win7x64 have CPU1 is 73-91% all other thread empty (99Mhz x 38 so runs on 3.8Ghz).
8. DemoNAS to Main PC
Reverse direction as before. I make same free space on Demo NAS z2test volume used 538.9GiB(29%) and 1.3TiB free. z2winshare used for this test is 259.1GiB(37%) used and 440.9GiB free. Inherit lz4 compression and I not configured for any encryption.
77-79MB/s
Terra copy 77-81MB/s
Vmstat (at begining of transfer higher numbers)
64-84KB/t
204-551tps
13.23-44.22MB/s
17-50%busy
top-P
WCPU 34.38% smbd
14.79-33.5% interrupt on CPU1
2.4-3.9% user on different CPU
So from 2 test above the read from NAS is 46-56MB/s and write 77-81MB/s
3. DemoNAS iperf server and MainPC jperf (could java limited?)
with dual option
They show my limitations.
You can put up questions about what is the bottleneck (NetGear, cabling etc.) until you not see my next post. About I tested:
- direct LAN cross cable (Systimax Cat5e) between the two system (netgear not impact performance) same samba speeds.
- boot from Uhbuntu USB stick on MainPC
iperf show 947Mbps one-direction and dual 400+700Mbps so I have same problem in win7.
But samba file transfer also limited below 50MByte/sec for him on same hardware.
- Disable ESET Smart Security 4 Firewall and Antivirus same speeds.
- Old FreeNAS directly connected DemoNAS via Systimax Cat5e cross cable iperf show for them also 9xxMbps. But samba same speeds
- Uhbuntu to DemoNAS
with socket options = IPTOS_LOWDELAY TCP_NODELAY
Uhbuntu samba copy from 31MB/s changed to 61MB/s. But this is not Intel PRO/1000 CT NIC card
Dear community:
I would like see over 100MByte/sec samba copy on my screen with my recommended HW:)
Sorry If I long. My problem also long story,
Jackson
I spend lot of my time with performance test, but I can jump out from this problem. I have multiple systems invited in this test at home see below:
1.Old NAS called (not recommended compliant I know)
HW as in my signature below.
NIC: motherboard was msk0 but I purchased Intel PRO/1000 CT as I use today as em0
2. New one called DemoNAS (because just demonstrate 9.3 how will works with 24TB)
New NAS 9.3 latest version (mean FreeNAS-9.3-STABLE-201508250051)
Supermicro X9SRH-7F motherboard
Intel Xeon E5-1620 V2
one modul 16GB Low Volt RDIMM 1600MHz (M393B2G70QH0-YK0 a is recommended list)
Jails and initial datasets:
1*ST3120026AS (120GB old 7200.7) and 1*ST3250310AS (250GB old 7200.10) in stripe stolen from my very old desktops:)
For speed tests zpools raidz2:
4*Seagate Constellation ES 500GB ST500NM0011 in raidz2 just purchased for z2pool killing tests from ebay
3.Main PC
Win7x64 official latest patches
ASUS P8-Z68VPRO (mainboard with
I7-2600K
16GB RAM (as horrible big since 2011)
NIC: in past I use Intel 82579V Gigabit but I also purchased Intel PRO/1000 CT as I use today
Lot of disks (128SSD OCZ Vertex3 for OS and more Seagate for data: 1TB ST1000DM003, 2TB ST2000NM0011, old 2*320GB ST3320620AS etc.)
4.Dell PC
I purchased for low cost on corporate selling days. "Why not PC" for any testing.
Dell Optiplex 755MT
NIC: built in
HDD is rest of what is not used else where 1*ST3120026AS (120GB old 7200.7), 1 Seagate 80GB SATA and 64GB OCZ Vertex3
Dual OS boot Uhbuntu (SSD) and Win7x32(on 120GB)
5.Netgear switch GS108E
My problem I unable go over 40-50Mbyte/sec (MB/s) speeed limit.
What I made in past:
1. checked all of the related threads about "samba/SMB/CIFS" and "performance" but not help me.
2. I first realized my old NAS and Main PC have speed limitation about 40MByte/sec. I think this is known issue due msk0 NIC on NAS and also just 8GB RAM (non ECC I know).
3. So I plan and buy my new NAS for bigger and faster system. Bigger is true but I not able reach faster.
4. Because I have still have 40Mbyte/sec max throughput and iperf also show 350-450Mbit/s (Mbps) speed between MainPC-DemoNAS and OldNAS-DemoNAS I buy 2 qty of Intel PRO/1000 CT NIC cards.
5. So funny the shop send me Intel PRO/1000 GT (PCI not PCIe) so I can confirm same speed limits valid for PCI limited GT series. My measurement 300-350Mbit/sec. So I sent back and ask for PCIe cards.
----------------------------------------------------------------------------------------
Actually:
6. I don't know interrupt sharing could impact performance but in desktop/gaming (not server) motherboards not easy get PCIe slot without any sharing.
MainPC PCIe interupt sharing
have PCIe 2.0 x1_1 slot used. Shared with PCI1:empty, SATAController: here is the most of the HDD except 1TB which on different Marvell PCIe 6.0Gb/s controller). PCIeX1_2 not usefully due behind dual slot video card:) only alternative option PCIe X16_3 (in 1X mode) used by my old PATA controller this is also shared with PCIeX1_2, USB3 and 1394 controller)
OldNAS interupt sharing
the only PCIeX1_1 used due the other PCIEX16_2 disabled by primary passive cooling video card. Shared with USB3 and USB2.0_2 and SATA controller 2 (which I unable determine also have controller 1 and SATA363 in sharing table meawhile 6 SATA ports on motherboard).
7. Main PC to DemoNAS
Samba share on zpool2, max protocol SMB2, with socket options = IPTOS_LOWDELAY TCP_NODELAY.
Direction DemoNAS z2pool>Netgear>Win7x64 1TB disk (latest Intel NIC driver 12.7.28.0 2015.05.26)
stable 46-48MByte/sec (showed by TeraCopy) for 27.18Gbyte m2ts video file (ARC size 11.87GB). Windows Resource monitor show maximal about 50,568,000B/sec (nothing for this disk internal copy about 120MByte/sec). So this is 384Mbps (Megabit/sec) not good Looooong time. In second copy (until ARC) goes up to 56MB/s which is mean 448Mbps but after cache out drop down to 46MB/s again.
Stats:
"systat -vmstat" show the zpool 4 disk just have stable 64KB/t, 204tps, 12-13.66MByte/second 20-24% busy disk for da0-da3
Under verify Resource monitor show read peak from 1TB disk 196,804,000B/sec. Could you believe it 187Mbyte/sec peak?
top -P show smbd process WCPU is around 20.36%. And the CPU threads show 3.1% user on random thread for smbd and 21% for interupt on one stable other thread
No CPU and HDD bottleneck on DemoNAS
Win7x64 have CPU1 is 73-91% all other thread empty (99Mhz x 38 so runs on 3.8Ghz).
8. DemoNAS to Main PC
Reverse direction as before. I make same free space on Demo NAS z2test volume used 538.9GiB(29%) and 1.3TiB free. z2winshare used for this test is 259.1GiB(37%) used and 440.9GiB free. Inherit lz4 compression and I not configured for any encryption.
77-79MB/s
Terra copy 77-81MB/s
Vmstat (at begining of transfer higher numbers)
64-84KB/t
204-551tps
13.23-44.22MB/s
17-50%busy
top-P
WCPU 34.38% smbd
14.79-33.5% interrupt on CPU1
2.4-3.9% user on different CPU
So from 2 test above the read from NAS is 46-56MB/s and write 77-81MB/s
3. DemoNAS iperf server and MainPC jperf (could java limited?)
Code:
bin/iperf.exe -c 192.168.10.34 -P 1 -i 1 -p 5001 -f m -t 10 ------------------------------------------------------------ Client connecting to 192.168.10.34, TCP port 5001 TCP window size: 0.01 MByte (default) ------------------------------------------------------------ [156] local 192.168.10.9 port 56714 connected with 192.168.10.34 port 5001 [ ID] Interval Transfer Bandwidth [156] 0.0- 1.0 sec 45.8 MBytes 384 Mbits/sec [156] 1.0- 2.0 sec 45.8 MBytes 384 Mbits/sec [156] 2.0- 3.0 sec 45.8 MBytes 384 Mbits/sec [156] 3.0- 4.0 sec 46.3 MBytes 389 Mbits/sec [156] 4.0- 5.0 sec 46.5 MBytes 390 Mbits/sec [156] 5.0- 6.0 sec 45.9 MBytes 385 Mbits/sec [156] 6.0- 7.0 sec 46.4 MBytes 389 Mbits/sec [156] 7.0- 8.0 sec 45.4 MBytes 381 Mbits/sec [156] 8.0- 9.0 sec 46.2 MBytes 387 Mbits/sec [156] 9.0-10.0 sec 45.8 MBytes 384 Mbits/sec [156] 0.0-10.0 sec 460 MBytes 385 Mbits/sec Done.
with dual option
Code:
------------------------------------------------------------ Client connecting to 192.168.10.34, TCP port 5001 TCP window size: 0.01 MByte (default) ------------------------------------------------------------ [176] local 192.168.10.9 port 56736 connected with 192.168.10.34 port 5001 [192] local 192.168.10.9 port 5001 connected with 192.168.10.34 port 55377 [ ID] Interval Transfer Bandwidth [176] 0.0- 1.0 sec 12.1 MBytes 101 Mbits/sec [192] 0.0- 1.0 sec 62.7 MBytes 526 Mbits/sec [176] 1.0- 2.0 sec 10.3 MBytes 86.7 Mbits/sec [192] 1.0- 2.0 sec 65.1 MBytes 546 Mbits/sec [176] 2.0- 3.0 sec 10.7 MBytes 90.0 Mbits/sec [192] 2.0- 3.0 sec 59.7 MBytes 501 Mbits/sec [176] 3.0- 4.0 sec 11.8 MBytes 98.8 Mbits/sec [192] 3.0- 4.0 sec 64.7 MBytes 542 Mbits/sec [192] 4.0- 5.0 sec 58.0 MBytes 487 Mbits/sec [176] 4.0- 5.0 sec 11.3 MBytes 95.0 Mbits/sec [176] 5.0- 6.0 sec 11.4 MBytes 95.9 Mbits/sec [192] 5.0- 6.0 sec 64.1 MBytes 538 Mbits/sec [176] 6.0- 7.0 sec 11.2 MBytes 93.7 Mbits/sec [192] 6.0- 7.0 sec 63.9 MBytes 536 Mbits/sec [176] 7.0- 8.0 sec 10.8 MBytes 90.6 Mbits/sec [192] 7.0- 8.0 sec 64.0 MBytes 537 Mbits/sec [192] 8.0- 9.0 sec 64.1 MBytes 537 Mbits/sec [176] 8.0- 9.0 sec 11.1 MBytes 93.3 Mbits/sec [176] 9.0-10.0 sec 11.4 MBytes 95.2 Mbits/sec [192] 9.0-10.0 sec 63.3 MBytes 531 Mbits/sec [ ID] Interval Transfer Bandwidth [192] 0.0-10.0 sec 630 MBytes 528 Mbits/sec [176] 0.0-10.0 sec 112 MBytes 93.9 Mbits/sec Done.
They show my limitations.
You can put up questions about what is the bottleneck (NetGear, cabling etc.) until you not see my next post. About I tested:
- direct LAN cross cable (Systimax Cat5e) between the two system (netgear not impact performance) same samba speeds.
- boot from Uhbuntu USB stick on MainPC
iperf show 947Mbps one-direction and dual 400+700Mbps so I have same problem in win7.
But samba file transfer also limited below 50MByte/sec for him on same hardware.
- Disable ESET Smart Security 4 Firewall and Antivirus same speeds.
- Old FreeNAS directly connected DemoNAS via Systimax Cat5e cross cable iperf show for them also 9xxMbps. But samba same speeds
- Uhbuntu to DemoNAS
with socket options = IPTOS_LOWDELAY TCP_NODELAY
Uhbuntu samba copy from 31MB/s changed to 61MB/s. But this is not Intel PRO/1000 CT NIC card
Dear community:
I would like see over 100MByte/sec samba copy on my screen with my recommended HW:)
Sorry If I long. My problem also long story,
Jackson