Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Speed Connection With my FreeNAS...

Joined
May 19, 2012
Messages
9
Salam everyone,
I'm new with freeNAS and I read a lot about it and take god idea about it..
My problem is slowness
I have this specification in my FreeNAS..
HP Dual Core 3.4
8 G Ram
1 TB x 3 HDD
and network card with the HP pc.
I configure freenas with ZFS volume. and do the sharing...

the problem is when I try to copy files to my share foder, it is very slow about 200KB/s.
the scenario was Connect FreeNAS to Modem with cable, and my pc to the modem with cable, but very slow,
so I connect my pc direct to the FreeNAS and the same thing...

please help me???
 
Joined
May 19, 2012
Messages
9
Hi everyone...

I find that the reading speed from FreeNAS is ~ 8 MB/S, thats mean the problem in the writing only....
 

Joshua Parker Ruehlig

FreeNAS Expert
Joined
Dec 5, 2011
Messages
5,952
Did you benchmark local connection with dd? Is your slowest connection 100mb/s or 1000mb/s?
 

survive

Behold the Wumpus
Moderator
Joined
May 28, 2011
Messages
867
Hi za3tar,

Ssh into your filer and run:

dd if=/dev/zero of=/mnt/<poolname>/tmp.000 bs=2048k count=50k

Adjust <poolname> to reflect your pool name & "50k" to the size of the testfile you want (50k makes a 100GB file) . That specific command will write out 100GB of zeros to a file (turn off compression on your pool for valid results) as fast as the system can and should give us an idea of how fast your pool really is. Once the file is written you can read the file back with this command:

dd if=/mnt/<poolname>/tmp.000 of=/dev/null bs=2048k count=50k

FreeNAS includes a tool called "iperf" that will blast data across your network to another box running iperf. Google iperf for instructions, find a client for one of your client boxes & see how fast the network is.

-Will
 
Joined
May 19, 2012
Messages
9
salam Joshua,

I don't know what is "dd" command as I'm not famous in CLI for freenas...
My network speed it 100 mb/s

thanks
 
Joined
May 19, 2012
Messages
9
salam survive...

I will try and I will inform you... the problem is how to configure ssh in freenas???


thanks
 
Joined
May 19, 2012
Messages
9
Dears,

If you would like I can give you access to my freenas with dyndns, to check the setting for me...

thanks
 

Joshua Parker Ruehlig

FreeNAS Expert
Joined
Dec 5, 2011
Messages
5,952
8MB/s = 64Mb/s, this is 64% of your theoretical maximum connection. turn ssh on in services, then ssh in with an ssh program like putty. username=root, password='password on you webgui'
hope that helps
 
Joined
May 19, 2012
Messages
9
Hi survive,

I do ssh with putty, and I execute this command:
dd if=/dev/zero of=/mnt/AllHDD/Videos/tmp.000 bs=2048k count=50k , depending on my pool.
I find that 1 GB take about 10 min to create it by refresh the folder in explorer.
I think it will take the hole day to create this 100G.

something else, I can't copy or move some files from freenas after I write to it????

you can see this messages in GUI footer:

Jun 27 00:08:02 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada1p2 offset=82472013824 size=65536
Jun 27 00:08:02 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada2p2 offset=82472013824 size=65536
Jun 27 00:08:02 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada0p2 offset=82472017920 size=65536
Jun 27 00:08:02 freenas root: ZFS: zpool I/O failure, zpool=AllHDD error=86
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada1p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada2p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada0p2 offset=82472017920 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada1p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada2p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada0p2 offset=82472017920 size=65536
Jun 27 00:08:03 freenas root: ZFS: zpool I/O failure, zpool=AllHDD error=86
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada1p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada2p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada0p2 offset=82472017920 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada1p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada2p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada0p2 offset=82472017920 size=65536
Jun 27 00:08:03 freenas root: ZFS: zpool I/O failure, zpool=AllHDD error=86
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada1p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada2p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada0p2 offset=82472017920 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada1p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada2p2 offset=82472013824 size=65536
Jun 27 00:08:03 freenas root: ZFS: checksum mismatch, zpool=AllHDD path=/dev/ada0p2 offset=82472017920 size=65536
Jun 27 00:08:03 freenas root: ZFS: zpool I/O failure, zpool=AllHDD error=86
Jun 27 00:08:39 freenas INADYN[2010]: INADYN:IP: Error '0x0' resolving host name 'checkip.dyndns.org'
Jun 27 00:08:39 freenas INADYN[2010]: W: DYNDNS: Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12) when talking to IP server
Jun 27 00:08:39 freenas INADYN[2010]: W:'RC_IP_INVALID_REMOTE_ADDR' (0x12) updating the IPs. (it 0)
Jun 27 00:09:30 freenas freenas[1938]: Popen()ing: /sbin/zfs list -H -o name,volsize -t volume -r AllHDD
Jun 27 00:10:41 freenas INADYN[2010]: INADYN:IP: Error '0x0' resolving host name 'checkip.dyndns.org'
Jun 27 00:10:41 freenas INADYN[2010]: W: DYNDNS: Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12) when talking to IP server
Jun 27 00:10:41 freenas INADYN[2010]: W:'RC_IP_INVALID_REMOTE_ADDR' (0x12) updating the IPs. (it 0)
Jun 27 00:12:42 freenas INADYN[2010]: INADYN:IP: Error '0x0' resolving host name 'checkip.dyndns.org'
Jun 27 00:12:42 freenas INADYN[2010]: W: DYNDNS: Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12) when talking to IP server
Jun 27 00:12:42 freenas INADYN[2010]: W:'RC_IP_INVALID_REMOTE_ADDR' (0x12) updating the IPs. (it 0)
Jun 27 00:14:43 freenas INADYN[2010]: INADYN:IP: Error '0x0' resolving host name 'checkip.dyndns.org'
Jun 27 00:14:43 freenas INADYN[2010]: W: DYNDNS: Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12) when talking to IP server
Jun 27 00:14:43 freenas INADYN[2010]: W:'RC_IP_INVALID_REMOTE_ADDR' (0x12) updating the IPs. (it 0)
Jun 27 00:16:43 freenas INADYN[2010]: INADYN:IP: Error '0x0' resolving host name 'checkip.dyndns.org'
Jun 27 00:16:43 freenas INADYN[2010]: W: DYNDNS: Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12) when talking to IP server
Jun 27 00:16:43 freenas INADYN[2010]: W:'RC_IP_INVALID_REMOTE_ADDR' (0x12) updating the IPs. (it 0)
Jun 27 00:17:59 freenas freenas[1938]: Executing: /usr/sbin/service ix-inadyn quietstart
Jun 27 00:17:59 freenas freenas[1938]: Executing: /usr/sbin/service inadyn restart
Jun 27 00:17:59 freenas freenas: Stopping inadyn.
Jun 27 00:17:59 freenas freenas: Will not 'start' inadyn because inadyn_enable is NO.
Jun 27 00:18:00 freenas freenas[1938]: Executing: /bin/pgrep inadyn

I need this files, how to recover it?

thanks for helping me
P.S. Again, I can give you access to my Freenas to see the configuration.
 

Joshua Parker Ruehlig

FreeNAS Expert
Joined
Dec 5, 2011
Messages
5,952
what is slow? network, disk, system. you want to break your problem into parts and see what your limiting factor is.

Commandline for FreeNAS is freebsd 8.2, which is unix.
 
Joined
May 19, 2012
Messages
9
Hi Joshua,

I don't know what is slow... when I try to backup some files to Freenas, writing speed about 200KB/s, when I read the files, reading speed is 10MB/s.

when I execute the command you sent it, it seems the slow in the disk writing...

I don't know where is the problem..

thanks..
 
Top