gigabit card not in gigabit mode, only 100Mb/s

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

gigabit card not in gigabit mode, only 100Mb/s

Postby kikkegek » Mon Jan 09, 2012 1:54 am

hi guys,

I noticed that my HDA has slow network transfers. Windows client to Windows clients I get like 60Mb/sec transfers over my gfigabit network. I have recently updated all the cables to cat6, to make sure hardware is not keeping back the transfersrate.

This is what "ethtool" tells me.

can you guys help me?

Code: Select all

[root@amahi samba]# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/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: No Link partner advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby moredruid » Mon Jan 09, 2012 2:38 am

to what type of hardware is your NIC connected? Is it 100Mbit or 1Gbit? It seems that the advertised speed on the link is 100Mbit, Linux just obeys that.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby kikkegek » Mon Jan 09, 2012 3:30 am

to what type of hardware is your NIC connected? Is it 100Mbit or 1Gbit? It seems that the advertised speed on the link is 100Mbit, Linux just obeys that.
its connected to the modem-router of my provider, which is capable of GB connections. The only connection that is currently 100Mb/s is the HDA for some reason. All others indicate (by LED color) they are in GB mode.

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby moredruid » Mon Jan 09, 2012 5:57 am

you can do a manual override (watch it, may break your current network connection, if so, then reboot):
root@host# # ethtool -s eth0 speed 1000 duplex full
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby kikkegek » Mon Jan 09, 2012 7:21 am

you can do a manual override (watch it, may break your current network connection, if so, then reboot):
root@host# # ethtool -s eth0 speed 1000 duplex full
hi there, thanks moredruid.

I did a reboot and after the reboot the system came back up as a GB connection. So I'll monitor it for a while, but while follo up on your advise if needed.

thanks.

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby moredruid » Tue Jan 10, 2012 2:35 am

ah, then probably the system has allocated the correct driver instead of a generic one, or it was updated.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby kikkegek » Tue Jan 10, 2012 2:54 am

ah, then probably the system has allocated the correct driver instead of a generic one, or it was updated.
I checked again just now and for some reason the connection is again back to only 100 Mb/s.

Can you help where I should check why it changes the connection speed?

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby moredruid » Tue Jan 10, 2012 3:59 am

hmmm weird. You should be able to set it with the ethtool options I gave you, but why it changes?

Some switches/routers have a powersaving "feature" which throttles the ports down to a lower speed (difference between 100Mbps and 1000Mbps is a whopping 1W/h), you may want to check that since it apparently "flips". You can also loadtest the network connection to your hda while you monitor the link speed in a terminal:
watch -n 1 "ethtool eth0 | grep Speed"
This runs the ethtool command every second and allows you to see if the connection speed changes. Start it and start some copies to/from different machines to your hda.

Your hardware log may have some clues as well, run "dmesg" (you can post the last 30 or so lines if you like)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby kikkegek » Tue Jan 10, 2012 1:43 pm

did some more research and it seems like when the system has been in "suspend to disk" from the Amahi Energy Saver app, that it returns as 100Mbit in stead of gigabit..

any ideas?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: gigabit card not in gigabit mode, only 100Mb/s

Postby bigfoot65 » Tue Jan 10, 2012 6:14 pm

Could be an issue with the energy saver app. Suggest you post this in that topic area and see if the author has any ideas.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 35 guests