Realtek 8168B - Only ~1.5MB/s over network

Status
Not open for further replies.

abxcntrl

Cadet
Joined
Jan 25, 2014
Messages
2
Hey there folks,

I tried to set up my old mini-atx build with FreeNAS 9.2. It only has an Intel Atom D525 with 4gb RAM but that should be enough for my usecase.
Everything went pretty well but my read/write speed is really bad.
I tried the same setup with linux and aes encryption and got about 9mb/s read/write over samba.
A change from ZFS + Encryption to ZFS and later to UFS had no effect so I figured out it wasn't a problem with CPU or RAM, probably a network issue(?).
I'm really puzzled right now what is causing this poor performance, hope you can help me.

Here are some outputs that might give you a clue:

re0@pci0:1:0:0: class=0x020000 card=0xd6258086 chip=0x816810ec rev=0x06 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class = network
subclass = ethernet


bin/iperf.exe -c 192.168.178.200 -P 1 -i 1 -p 5001 -f M -t 10
------------------------------------------------------------
Client connecting to 192.168.178.200, TCP port 5001
TCP window size: 0.06 MByte (default)
------------------------------------------------------------
[128] local 192.168.178.61 port 17861 connected with 192.168.178.200 port 5001
[ ID] Interval Transfer Bandwidth
[128] 0.0- 1.0 sec 1.40 MBytes 1.40 MBytes/sec
[128] 1.0- 2.0 sec 1.51 MBytes 1.51 MBytes/sec
[128] 2.0- 3.0 sec 1.34 MBytes 1.34 MBytes/sec
[128] 3.0- 4.0 sec 1.55 MBytes 1.55 MBytes/sec
[128] 4.0- 5.0 sec 1.15 MBytes 1.15 MBytes/sec
[128] 5.0- 6.0 sec 1.10 MBytes 1.10 MBytes/sec
[128] 6.0- 7.0 sec 1.55 MBytes 1.55 MBytes/sec
[128] 7.0- 8.0 sec 1.43 MBytes 1.43 MBytes/sec
[128] 8.0- 9.0 sec 1.56 MBytes 1.56 MBytes/sec
[128] 9.0-10.0 sec 1.57 MBytes 1.57 MBytes/sec
[128] 0.0-130.1 sec 14.2 MBytes 0.11 MBytes/sec
read on server close failed: Connection timed out.
Done.

bin/iperf.exe -c 192.168.178.200 -u -P 1 -i 1 -p 5001 -f M -b 1.0M -t 10 -T 1
------------------------------------------------------------
Client connecting to 192.168.178.200, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 0.06 MByte (default)
------------------------------------------------------------
[128] local 192.168.178.61 port 52272 connected with 192.168.178.200 port 5001
[ ID] Interval Transfer Bandwidth
[128] 0.0- 1.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 1.0- 2.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 2.0- 3.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 3.0- 4.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 4.0- 5.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 5.0- 6.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 6.0- 7.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 7.0- 8.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 8.0- 9.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 9.0-10.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 0.0-10.0 sec 1.19 MBytes 0.12 MBytes/sec
[128] WARNING: did not receive ack of last datagram after 10 tries.
[128] Sent 851 datagrams
Done.

bin/iperf.exe -c 192.168.178.200 -u -P 1 -i 1 -p 5001 -f M -b 10.0M -t 10 -T 1
------------------------------------------------------------
Client connecting to 192.168.178.200, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 0.06 MByte (default)
------------------------------------------------------------
[128] local 192.168.178.61 port 52298 connected with 192.168.178.200 port 5001
[ ID] Interval Transfer Bandwidth
[...]
[128] 0.0-10.0 sec 7.72 MBytes 0.77 MBytes/sec
[128] WARNING: did not receive ack of last datagram after 10 tries.
[128] Sent 5509 datagrams
Done.

[root@freenas] /mnt/THE_SHELTER# dd if=/dev/zero of=testfile bs=8192k count=100
100+0 records in
100+0 records out
838860800 bytes transferred in 3.270409 secs (256500264 bytes/sec)
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437

abxcntrl

Cadet
Joined
Jan 25, 2014
Messages
2
oh my.. the problem wasn't with my freenas box but with my other computer..
I installed a new network card and I'm getting now ~24MB/s despite ZFS+Encryption.
This isn't considerable slower than under linux with ext4 + encryption and is enough to stream music/movie data.

Since I can't afford to invest in new hardware this has to work for now, thank you.
 
Status
Not open for further replies.
Top