Hey guys, Am facing an issue on HP blade server. The OS installed is OEL(Oracle enterprise Linux5.2 ) when i fire mii-tool command i get the network speed as 100mbps half duplex. but when i fire ethtool eth0 commad it shows me 1000 mbps full duplex. the blade server has gigabite ethernet ports. when i checked the dmesg output it shows me 1000 mbps full duplex on eth0. pls let me know which command should i use to know the excate network card speed.
On Thursday 04 Jun 2009, Advait Raut wrote:
Hey guys, Am facing an issue on HP blade server. The OS installed is OEL(Oracle enterprise Linux5.2 ) when i fire mii-tool command i get the network speed as 100mbps half duplex. but when i fire ethtool eth0 commad it shows me 1000 mbps full duplex. the blade server has gigabite ethernet ports. when i checked the dmesg output it shows me 1000 mbps full duplex on eth0. pls let me know which command should i use to know the excate network card speed.
Select a workstation that has Gb NIC and connect it to a Gb port on the switch. Stop all traffic into/out of the blade server and the workstation. scp a Linux DVD iso file to/from the blade server and the workstation and watch the xfer rate; it should be close to 120 - 125 MB/s (1000 Mbps/8). I don't have a Gb switch; on a 100 Mbps switch, I get close 12 MB/s xfer when I do a similar test as above.
You can also install iftop on the workstation and watch the xfer rate there as well.
HTH,
On Fri, Jun 5, 2009 at 10:30 AM, Arun Khan knura@yahoo.com wrote:
On Thursday 04 Jun 2009, Advait Raut wrote:
Hey guys, Am facing an issue on HP blade server. The OS installed is OEL(Oracle enterprise Linux5.2 ) when i fire mii-tool command i get the network speed as 100mbps half duplex. but when i fire ethtool eth0 commad it shows me 1000 mbps full duplex. the blade server has gigabite ethernet ports. when i checked the dmesg output it shows me 1000 mbps full duplex on eth0. pls let me know which command should i use to know the excate network card speed.
Select a workstation that has Gb NIC and connect it to a Gb port on the switch. Stop all traffic into/out of the blade server and the workstation. scp a Linux DVD iso file to/from the blade server and the workstation and watch the xfer rate; it should be close to 120 - 125 MB/s (1000 Mbps/8). I don't have a Gb switch; on a 100 Mbps switch, I get close 12 MB/s xfer when I do a similar test as above.
You can also install iftop on the workstation and watch the xfer rate there as well.
HTH,
Arun Khan
hiiii thanks for all this work out dude.. but its already a live server and the client cant afford downtime. he is more interested in knowing whether the NIC speed shown by mii-tool is perfect or speed shown by ethtool is perfect. let me clarify by showing u the out put pls have a look at "eth0" output
[root@tciapps1 ~]# mii-tool eth0: negotiated 100baseTx-HD, link ok SIOCGMIIPHY on 'eth1' failed: Resource temporarily unavailable eth2: negotiated 10baseT-HD, link ok eth3: 10 Mbit, full duplex, link ok
[root@tciapps1 ~]# ethtool eth0 Settings for eth0: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 1000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: FIBRE PHYAD: 2 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: g Link detected: yes [root@tciapps1 ~]#
both the outputs are from same server. i hv read in one of the fourums that mii-tool does nto work on all NICs where as ethtool is mostly used & works on all lancards. Is that true??
On Friday 05 Jun 2009, Advait Raut wrote:
hiiii thanks for all this work out dude.. but its already a live server and the client cant afford downtime. he is more interested in knowing whether the NIC speed shown by mii-tool is perfect or speed shown by ethtool is perfect.
What color are the LEDs on the NIC and the corresponding switch port? Refer to the hardware specs for the NIC and the switch.
On Sat, Jun 6, 2009 at 11:13 AM, Arun Khan knura@yahoo.com wrote:
On Friday 05 Jun 2009, Advait Raut wrote:
hiiii thanks for all this work out dude.. but its already a live server and the client cant afford downtime. he is more interested in knowing whether the NIC speed shown by mii-tool is perfect or speed shown by ethtool is perfect.
What color are the LEDs on the NIC and the corresponding switch port? Refer to the hardware specs for the NIC and the switch.
-- Arun Khan
hiiii The switch aswell as NICs has gigabite ports.LED indications are also normal. as i said both the commands mii-tool and ethtool shows diffrent speed. so now am also confused as of which one shows correct output..
Advait Raut wrote:
On Sat, Jun 6, 2009 at 11:13 AM, Arun Khan knura@yahoo.com wrote:
On Friday 05 Jun 2009, Advait Raut wrote:
hiiii thanks for all this work out dude.. but its already a live server and the client cant afford downtime. he is more interested in knowing whether the NIC speed shown by mii-tool is perfect or speed shown by ethtool is perfect.
What color are the LEDs on the NIC and the corresponding switch port? Refer to the hardware specs for the NIC and the switch.
-- Arun Khan
hiiii The switch aswell as NICs has gigabite ports.LED indications are also normal. as i said both the commands mii-tool and ethtool shows diffrent speed. so now am also confused as of which one shows correct output..
From the outputs you posted, mii-tool is giving the actual link status based on what is connected to the device whereas ethtool gives you the properties of your device.