On Fri, Jun 5, 2009 at 10:30 AM, Arun Khan <[email protected]> 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
>
> --
> http://mm.glug-bom.org/mailman/listinfo/linuxers
>

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


> [r...@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
>
>
> [r...@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
> [r...@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??


-- 
Regards
Advait Raut
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to