public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  port bandwidth discovery
@ 2009-09-11 18:03 James
  2009-09-11 18:13 ` Ricardo Saffi Marques
  2009-09-12  9:37 ` [gentoo-user] " Daniel Troeder
  0 siblings, 2 replies; 5+ messages in thread
From: James @ 2009-09-11 18:03 UTC (permalink / raw
  To: gentoo-user

Hello,


Currently, I manage gentoo system that have a variety of 10 and 100 MB/s
ethernet cards. I use lshw to distinguish the max ethernet port speed:

For example:

network:0 DISABLED                                                     
                description: Ethernet interface                                     
                product: RTL-8139/8139C/8139C+                                      
                vendor: Realtek Semiconductor Co., Ltd.                             
                physical id: 9                                                      
                bus info: pci@0000:02:09.0                                          
                logical name: eth1                                                  
                version: 10                                                         
                serial: 00:48:54:62:64:fd                                           
                size: 10MB/s                                                        
                capacity: 100MB/s                                                   
                width: 32 bits                                                      
                clock: 33MHz                                                        
                capabilities: pm bus_master cap_list ethernet physical tp mii
10bt 10bt-fd 100bt 100bt-fd autonegotiation                                    
          
                configuration: autonegotiation=on broadcast=yes driver=8139too
driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32
module=8139too multicast=yes port=MII speed=10MB/s                             
                 
           *-storage UNCLAIMED                                                      
                description: Mass storage controller                                
                product: PCI0680 Ultra ATA-133 Host Controller                      
                vendor: Silicon Image, Inc.                                         
                physical id: a                                                      
                bus info: pci@0000:02:0a.0                                          
                version: 02                                                         
                width: 32 bits                                                      
                clock: 33MHz                                                        
                capabilities: storage pm bus_master cap_list                        
                configuration: latency=32                                           
           *-network:1                                                              
                description: Ethernet interface                                     
                product: 3c450 HomePNA [Tornado]                                    
                vendor: 3Com Corporation                                            
                physical id: b                                                      
                bus info: pci@0000:02:0b.0                                          
                logical name: eth0                                                  
                version: 30                                                         
                serial: 00:50:da:61:31:1c                                           
                size: 100MB/s                                                       
                capacity: 100MB/s                                                   
                width: 32 bits                                                      
                clock: 33MHz                                                        
                capabilities: pm bus_master cap_list ethernet physical tp mii
10bt 10bt-fd 100bt 100bt-fd autonegotiation                                    
          
                configuration: autonegotiation=on broadcast=yes driver=3c59x
duplex=full ip=192.168.2.17 latency=32 link=yes maxlatency=10 mingnt=10
module=3c59x multicast=yes port=MII speed=100MB/s                 



Is this reliable? What if a 10/100 card is plugged into a 10MB/s hub?


Is there other software to discern the hardware capability and test
actual throughput?

How comfortable are you with the results you get? (reliable?)


curiously,
James




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user]  port bandwidth discovery
  2009-09-11 18:03 [gentoo-user] port bandwidth discovery James
@ 2009-09-11 18:13 ` Ricardo Saffi Marques
  2009-09-12 23:47   ` [gentoo-user] " James
  2009-09-12  9:37 ` [gentoo-user] " Daniel Troeder
  1 sibling, 1 reply; 5+ messages in thread
From: Ricardo Saffi Marques @ 2009-09-11 18:13 UTC (permalink / raw
  To: gentoo-user

James wrote:
> Hello,
> 
> Currently, I manage gentoo system that have a variety of 10 and 100 MB/s
> ethernet cards. I use lshw to distinguish the max ethernet port speed:
> 
<snip>
>
> Is this reliable? What if a 10/100 card is plugged into a 10MB/s hub?

Have you tried mii-tool?

quasar ~ # mii-tool -v int0
int0: negotiated 1000baseT-FD flow-control, link ok
  product info: Yukon 88E1011 rev 5
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
======================================================
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
======================================================




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user]  port bandwidth discovery
  2009-09-11 18:03 [gentoo-user] port bandwidth discovery James
  2009-09-11 18:13 ` Ricardo Saffi Marques
@ 2009-09-12  9:37 ` Daniel Troeder
  2009-09-12 23:49   ` [gentoo-user] " James
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel Troeder @ 2009-09-12  9:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4870 bytes --]

On Fri, 2009-09-11 at 18:03 +0000, James wrote:
> Hello,
> 
> 
> Currently, I manage gentoo system that have a variety of 10 and 100 MB/s
> ethernet cards. I use lshw to distinguish the max ethernet port speed:
> 
> For example:
> 
> network:0 DISABLED                                                     
>                 description: Ethernet interface                                     
>                 product: RTL-8139/8139C/8139C+                                      
>                 vendor: Realtek Semiconductor Co., Ltd.                             
>                 physical id: 9                                                      
>                 bus info: pci@0000:02:09.0                                          
>                 logical name: eth1                                                  
>                 version: 10                                                         
>                 serial: 00:48:54:62:64:fd                                           
>                 size: 10MB/s                                                        
>                 capacity: 100MB/s                                                   
>                 width: 32 bits                                                      
>                 clock: 33MHz                                                        
>                 capabilities: pm bus_master cap_list ethernet physical tp mii
> 10bt 10bt-fd 100bt 100bt-fd autonegotiation                                    
>           
>                 configuration: autonegotiation=on broadcast=yes driver=8139too
> driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32
> module=8139too multicast=yes port=MII speed=10MB/s                             
>                  
>            *-storage UNCLAIMED                                                      
>                 description: Mass storage controller                                
>                 product: PCI0680 Ultra ATA-133 Host Controller                      
>                 vendor: Silicon Image, Inc.                                         
>                 physical id: a                                                      
>                 bus info: pci@0000:02:0a.0                                          
>                 version: 02                                                         
>                 width: 32 bits                                                      
>                 clock: 33MHz                                                        
>                 capabilities: storage pm bus_master cap_list                        
>                 configuration: latency=32                                           
>            *-network:1                                                              
>                 description: Ethernet interface                                     
>                 product: 3c450 HomePNA [Tornado]                                    
>                 vendor: 3Com Corporation                                            
>                 physical id: b                                                      
>                 bus info: pci@0000:02:0b.0                                          
>                 logical name: eth0                                                  
>                 version: 30                                                         
>                 serial: 00:50:da:61:31:1c                                           
>                 size: 100MB/s                                                       
>                 capacity: 100MB/s                                                   
>                 width: 32 bits                                                      
>                 clock: 33MHz                                                        
>                 capabilities: pm bus_master cap_list ethernet physical tp mii
> 10bt 10bt-fd 100bt 100bt-fd autonegotiation                                    
>           
>                 configuration: autonegotiation=on broadcast=yes driver=3c59x
> duplex=full ip=192.168.2.17 latency=32 link=yes maxlatency=10 mingnt=10
> module=3c59x multicast=yes port=MII speed=100MB/s                 
> 
> 
> 
> Is this reliable? What if a 10/100 card is plugged into a 10MB/s hub?
> 
> 
> Is there other software to discern the hardware capability and test
> actual throughput?
> 
> How comfortable are you with the results you get? (reliable?)
> 
> 
> curiously,
> James
Some NICs work with mii-tool, others with ethtool. The latter is
generally the more modern one.

Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: port bandwidth discovery
  2009-09-11 18:13 ` Ricardo Saffi Marques
@ 2009-09-12 23:47   ` James
  0 siblings, 0 replies; 5+ messages in thread
From: James @ 2009-09-12 23:47 UTC (permalink / raw
  To: gentoo-user

Ricardo Saffi Marques <saffi <at> las.ic.unicamp.br> writes:


> Have you tried mii-tool?


thanks
for the suggestion.


James





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: port bandwidth discovery
  2009-09-12  9:37 ` [gentoo-user] " Daniel Troeder
@ 2009-09-12 23:49   ` James
  0 siblings, 0 replies; 5+ messages in thread
From: James @ 2009-09-12 23:49 UTC (permalink / raw
  To: gentoo-user

Daniel Troeder <daniel <at> admin-box.com> writes:


> Some NICs work with mii-tool, others with ethtool. The latter is
> generally the more modern one.


thanks for the info



James





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-12 23:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-11 18:03 [gentoo-user] port bandwidth discovery James
2009-09-11 18:13 ` Ricardo Saffi Marques
2009-09-12 23:47   ` [gentoo-user] " James
2009-09-12  9:37 ` [gentoo-user] " Daniel Troeder
2009-09-12 23:49   ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox