Gigabit ethernet

Gigabit ethernet

Postby firwareslut » Tue Feb 10, 2015 6:54 pm

Been a while since I was here. Had moved to a temporary location so didn't have my NS2 on the go! Now I am back up and running :D

I have installed a gigabit LAN with Cat 6 cable to my main PC and router and a Cat 5E cable from the NAS to the router. I am connecting with Ubuntu using CIFS but I cannot get a transfer speed faster than 10MB/s.... I was hoping for at least double or triple that.

Ubuntu reports I am connected to a 1000mbit inferface and the connection to the fibre line is running around 12-13mb/s so I am definitely capable of going faster. Does the NS2 support gigabit LAN and if so how can i improve my transfer speed?
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Gigabit ethernet

Postby Jocko » Tue Feb 10, 2015 7:51 pm

Hi firwareslut,

First, check if there are some servers running like : btsync; transmissioncli; mldonkey; ... which use many resources.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Gigabit ethernet

Postby firwareslut » Tue Feb 10, 2015 8:23 pm

I have BTSync installed but it's not active.
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Gigabit ethernet

Postby fvdw » Tue Feb 10, 2015 8:36 pm

Hi firwareslut

connect via ssh server and give the command
Code: Select all
ifconfig eth0

this will specify which speed is set on the ethernet interface of your ns2.

If it is 1000 Mbits/s and full duplex it is setup correctly and there must something else in your network limiting the speed.
You should test it with a big file, I reach on the nwsp2 around 25 Mbytes/s (250 Mbits/s)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Gigabit ethernet

Postby firwareslut » Wed Feb 11, 2015 7:16 am

inet addr:192.168.0.150 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2d0:4bff:fe8b:80ad/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8883402 errors:0 dropped:0 overruns:0 frame:0
TX packets:5344704 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1471718759 (1.3 GiB) TX bytes:626316839 (597.3 MiB)


I tested with a big file and it went no faster than 100Mbits/s. There are no limits on the router imposed on any devices or protocols. The fact the internet runs slightly faster (120Mbits/s) at least (if accurate) shows that the router is running on a gbit line.

Do you get that kind of speed over CIFS protocol?
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Gigabit ethernet

Postby fvdw » Wed Feb 11, 2015 9:21 am

yes I get that speed over two switches from NAS to PC.

can you also try the command
Code: Select all
ethtool eth0

I don't see the setting of speed and duplez in the the ifconfig output, I thought it was specified there but apparently not.
You should also be able to see what speed and duplex is set by looking tooutput of "dmesg" command
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Gigabit ethernet

Postby Jocko » Wed Feb 11, 2015 9:32 am

Maybe another explanation:
firewareslut wrote:I always run a cronjob to reset permissions every few minutes.

So for testing, you need to disable nay jobs that make I/O disk access
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Gigabit ethernet

Postby firwareslut » Wed Feb 11, 2015 12:26 pm

Settings for eth0:
Code: Select all
   Supported ports: [ TP AUI BNC MII FIBRE ]
   Supported link modes:   10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Supports auto-negotiation: Yes
   Advertised link modes:  10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Advertised pause frame use: No
   Advertised auto-negotiation: Yes
   Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                        100baseT/Half 100baseT/Full
   Link partner advertised pause frame use: Symmetric
   Link partner advertised auto-negotiation: Yes
   Speed: 100Mb/s
   Duplex: Full
   Port: MII
   PHYAD: 8
   Transceiver: external
   Auto-negotiation: on
   Supports Wake-on: d
   Wake-on: d
   Link detected: yes


Ok i can make a test to turn off disk access cronjobs (it only takes a second to set the perms, so I don't think it's that job).
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Gigabit ethernet

Postby Jocko » Wed Feb 11, 2015 1:19 pm

Found!
You don't have a gigabit LAN.

You can note
Code: Select all
   Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                        100baseT/Half 100baseT/Full
...
        Speed: 100Mb/s
So no partner mode "1000baseT/Full" is detected

You must check your switches and laptop settings
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Gigabit ethernet

Postby firwareslut » Thu Feb 12, 2015 9:36 am

I check the main computer eth0 settings and it's reporting 1000Mb/s as the connected speed, which means the gigalan is working between that PC and the router.

The NAS is reporting only 100Mb/s and is using a CAT 5E cable. Maybe it's a driver issue on the NAS?
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Next

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 4 guests