Muhammad Yousuf Khan
Dabbler
- Joined
- Dec 23, 2014
- Messages
- 17
I have asked this question lately in the same forum and i am asking it again but this time my testings are bit different. so please do not mind to start it again.
here is my freenas system Hardware details.
HDD 1TBx2 black and green , 64MB cache both.
32GB ECC RAM.
1 SSD for IO testing.
Intel 4x1GB LANcard.
CPU 3.2x2 Ghz Processors.
16GB 2.0 Kingston USB for Freenas boot iso.
system : Dell 490 Workstation
second system is linux base and have same hardware specs but RAM is 12GB ECC.
actually the problem is i can not come to a conclusion why network output is not reaching 1GB LAN limit.
i have seen videos of freeNAS where they are almost hitting near 10G with the help of L2Arch and Cache.. with almost same hardware specs however i agree they must be using SAS instead of SATA.
here you can see the results.
But yes in light of my above settings i believe i must at least saturate 1Gb ethernet link which is connected VIA crossover cable. here are some test results.
On my FreeNAS server i have 2 ZFS pools.
1 is on Mirrored SATA drives as mantioned above.
and
1 SSD drive for SATA vs SSD Ethernet through put testing.
here is my SATA Test via dd command
[root@freenas] /mnt/sata/sata# dd if=/dev/zero of=largefile1 bs=512K count=2096
2096+0 records in
2096+0 records out
1098907648 bytes transferred in 1.002915 secs (1095713485 bytes/sec)
[root@freenas] /mnt/sata/sata# dd if=/dev/zero of=largefile2 bs=512K count=4096
4096+0 records in
4096+0 records out
2147483648 bytes transferred in 2.865263 secs (749489195 bytes/sec)
[root@freenas] /mnt/sata/sata# dd if=/dev/zero of=largefile3 bs=512K count=8096
8096+0 records in
8096+0 records out
4244635648 bytes transferred in 50.883219 secs (83419165 bytes/sec)
[root@freenas] /mnt/sata/sata# dd if=/dev/zero of=largefile3 bs=512K count=16096
16096+0 records in
16096+0 records out
8438939648 bytes transferred in 91.452580 secs (92276671 bytes/sec)
you guys can see i have a write speed of 8GB file in 91 Seconds. which is cool.
however read test is a bit confusing for me. in linux we use hdparm for read test in freebsd i dont know.
so just by googling i found the workaroud by DD. which is below
dd if=largefile6 of=/dev/zero bs=512k count=16096
4096+0 records in
4096+0 records out
2147483648 bytes transferred in 0.897553 secs (2392598239 bytes/sec)
now this is insainly fast. i dont know why.......... anyways if we stuck up to writing speed which is almost 90MB per second. while i am writing anything on the drives VIA NFS. (please note as i mentioned above both systems are strong in hardware perspective) it bumps around 30 to 49 MB.
my client end is linux base machine and here is my hdparm stats.
root@bull:/ssd# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 366 MB in 3.00 seconds = 121.84 MB/sec
when i am copying any huge data like 8GB or so. it shows like this (let me give you guys my rsync example).
root@bull:/tmp# rsync --progress largefile2 /sata/
largefile2
4244635648 100% 44.88MB/s 0:01:30 (xfer#1, to-check=0/1)
you guys can see my disk IOs on both sides are above 100MB almost but it is giving me 45MB only on 4GB file transfer.
now please can you guys tell me what i am doing wrong or where is the problem in my case.
Thanks,
yousuf
here is my freenas system Hardware details.
HDD 1TBx2 black and green , 64MB cache both.
32GB ECC RAM.
1 SSD for IO testing.
Intel 4x1GB LANcard.
CPU 3.2x2 Ghz Processors.
16GB 2.0 Kingston USB for Freenas boot iso.
system : Dell 490 Workstation
second system is linux base and have same hardware specs but RAM is 12GB ECC.
actually the problem is i can not come to a conclusion why network output is not reaching 1GB LAN limit.
i have seen videos of freeNAS where they are almost hitting near 10G with the help of L2Arch and Cache.. with almost same hardware specs however i agree they must be using SAS instead of SATA.
here you can see the results.
But yes in light of my above settings i believe i must at least saturate 1Gb ethernet link which is connected VIA crossover cable. here are some test results.
On my FreeNAS server i have 2 ZFS pools.
1 is on Mirrored SATA drives as mantioned above.
and
1 SSD drive for SATA vs SSD Ethernet through put testing.
here is my SATA Test via dd command
[root@freenas] /mnt/sata/sata# dd if=/dev/zero of=largefile1 bs=512K count=2096
2096+0 records in
2096+0 records out
1098907648 bytes transferred in 1.002915 secs (1095713485 bytes/sec)
[root@freenas] /mnt/sata/sata# dd if=/dev/zero of=largefile2 bs=512K count=4096
4096+0 records in
4096+0 records out
2147483648 bytes transferred in 2.865263 secs (749489195 bytes/sec)
[root@freenas] /mnt/sata/sata# dd if=/dev/zero of=largefile3 bs=512K count=8096
8096+0 records in
8096+0 records out
4244635648 bytes transferred in 50.883219 secs (83419165 bytes/sec)
[root@freenas] /mnt/sata/sata# dd if=/dev/zero of=largefile3 bs=512K count=16096
16096+0 records in
16096+0 records out
8438939648 bytes transferred in 91.452580 secs (92276671 bytes/sec)
you guys can see i have a write speed of 8GB file in 91 Seconds. which is cool.
however read test is a bit confusing for me. in linux we use hdparm for read test in freebsd i dont know.
so just by googling i found the workaroud by DD. which is below
dd if=largefile6 of=/dev/zero bs=512k count=16096
4096+0 records in
4096+0 records out
2147483648 bytes transferred in 0.897553 secs (2392598239 bytes/sec)
now this is insainly fast. i dont know why.......... anyways if we stuck up to writing speed which is almost 90MB per second. while i am writing anything on the drives VIA NFS. (please note as i mentioned above both systems are strong in hardware perspective) it bumps around 30 to 49 MB.
my client end is linux base machine and here is my hdparm stats.
root@bull:/ssd# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 366 MB in 3.00 seconds = 121.84 MB/sec
when i am copying any huge data like 8GB or so. it shows like this (let me give you guys my rsync example).
root@bull:/tmp# rsync --progress largefile2 /sata/
largefile2
4244635648 100% 44.88MB/s 0:01:30 (xfer#1, to-check=0/1)
you guys can see my disk IOs on both sides are above 100MB almost but it is giving me 45MB only on 4GB file transfer.
now please can you guys tell me what i am doing wrong or where is the problem in my case.
Thanks,
yousuf