Poor transfer speeds < 1mb/s

Status
Not open for further replies.

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
i have a freenas system with 3 2tb drives running in a zfs raid, 8gb ram, intel gigabit nic, and intel g3220 procesor. The freenas system is running off of a 2gb usb stick.

i am running freenas 9.1

i have trouble with getting good transfer speeds. i cannot get read or write to get over 1 mb/s

when running ifconfig i see that the speed is gigabit and im using cat5e and cat6 cables and a gigabit switch and router.

im using cifs shares.

how can i identify what is causing the problem?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
It "should" be a 4GB to be safe. But normally if a 2GB won't work the system has errors and all sorts of problems besides just "slow performance".

Post the output of these commands:

zpool status
camcontrol devlist
ifconfig
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
zpool status
Code:
  pool: Vitamin                                                             
state: ONLINE                                                               
  scan: scrub repaired 0 in 3h46m with 0 errors on Sun Nov 17 03:46:20 2013 
config:                                                                     
                                                                             
        NAME                                            STATE    READ WRITE CKS
UM                                                                           
        Vitamin                                        ONLINE      0    0 
0                                                                           
          raidz1-0                                      ONLINE      0    0 
0                                                                           
            gptid/ec488bc1-0f9d-11e3-b6ba-b8975a2fa2ed  ONLINE      0    0 
0                                                                           
            gptid/eccb9f48-0f9d-11e3-b6ba-b8975a2fa2ed  ONLINE      0    0 
0                                                                           
            gptid/ed507fd7-0f9d-11e3-b6ba-b8975a2fa2ed  ONLINE      0    0 
0                                                                           
                                                                             
errors: No known data errors  

cam control
Code:
[root@freenas ~]# camcontrol devlist                                           
<WDC WD20EFRX-68AX9N0 80.00A80>    at scbus0 target 0 lun 0 (ada0,pass0)       
<WDC WD20EFRX-68AX9N0 80.00A80>    at scbus1 target 0 lun 0 (ada1,pass1)       
<WDC WD20EFRX-68AX9N0 80.00A80>    at scbus2 target 0 lun 0 (ada2,pass2)       
<SanDisk Cruzer 7.01>              at scbus3 target 0 lun 0 (pass3,da0)       
<SanDisk Cruzer 7.01>              at scbus3 target 0 lun 1 (pass4,cd0) 



ifconfig
Code:
[root@freenas ~]# ifconfig                                                     
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500     
        options=4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLA
N_HWTSO>                                                                       
        ether bc:5f:f4:cf:01:8a                                               
        inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255         
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>                   
        media: Ethernet autoselect (1000baseTX <full-duplex>)                   
        status: active                                                         
ipfw0: flags=8800<SIMPLEX,MULTICAST> metric 0 mtu 65536                       
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>                   
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384             
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>                 
        inet6 ::1 prefixlen 128                                               
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6                             
        inet 127.0.0.1 netmask 0xff000000                                     
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> 
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
The forums have code tags. You should use them

Sent from my Nexus 5
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Please post a new message with the code tags - what you have isn't readable.

The output should look like a paragraph, not a one line sentence.

added them
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
sorry, fixed it.

also noticed that it switches between 100basetx and 1000basetx. how can i keep it at 1000basetx?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
What's the other end of the network cable connected to? If it's a "green" switch, perhaps that's what's causing it to fluctuate. While you're troubleshooting, try another cable.
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
its a netgear gs605 gigabit switch. ive tried another cable with the same results, i'll try bypassing the switch and connecting directly to the router
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
If its going back and forth between 100Mb and 1000Mb then you have a problem with your hardware. Usually its a cable issue but it could be a 1/2 broken port on one end or a cable that is not being pushed in all the way. In any case, fixing that first is going to be more important than your speeds because it shows that hardware-wise something is already wrong. So we can't rule out any software issues until that's fixed.
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
i connected it directly to the router now and its staying at 1000Mb and I tried a transfer again with improved results but still pretty bad, it went over 1Mb/s but most of the time stayed in around 700-900 kb/s
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
Something isn't right.. What motherboard?
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
I find sometimes specifying port speeds.. 1000baseTx clears things up.. Or I find these problems start by trying to specify the speeds on networks with 100basetx max devices.. I'm not sure about the intel ethernet adapter.. Have you looked for other people using this board on Freenas 8/9?

I'd probably tear the newtork down.. Check internals.. Resets etc.. Check firmwares etc.. 1 Mb/s is like 10 base speeds?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Also how full is the pool? Is it over 90% full?


Sent from my phone
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
Theres 2tb free

what are acceptable speeds? or decent speeds? i tested on another pc and im getting around 5-8Mb/s
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
So the first thing you need to do is use iperf to figure out if this is a network problem or a server or protocol problem.

Do some iperf tests and post the results back.
 
Status
Not open for further replies.
Top