Pentium II only doing 20Mbps

This is a discussion on Pentium II only doing 20Mbps within the Linux Security forums, part of the System Security and Security Related category; Hi, I have a Pentium II 350MHz, 64 MB RAM, HD 8GB, with linux kernel 2.4 I want to ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-06-2004
nicolas.patik@gmail.com
 
Posts: n/a
Default Pentium II only doing 20Mbps

Hi, I have a Pentium II 350MHz, 64 MB RAM, HD 8GB, with linux kernel
2.4

I want to use it as a router/nat/firewall.

My problem is that I am getting only 20Mbps in the internal LAN, is
there any kernel limit that stop me getting near to 100Mbps?
TIA,

Nico

Reply With Quote
  #2 (permalink)  
Old 12-07-2004
IANAL_VISTA
 
Posts: n/a
Default Re: Pentium II only doing 20Mbps

nicolas.patik@gmail.com wrote in
news:1102364656.769790.191850@f14g2000cwb.googlegr oups.com:

> Hi, I have a Pentium II 350MHz, 64 MB RAM, HD 8GB, with linux kernel
> 2.4
>
> I want to use it as a router/nat/firewall.
>
> My problem is that I am getting only 20Mbps in the internal LAN, is
> there any kernel limit that stop me getting near to 100Mbps?
> TIA,
>
> Nico
>


Redundancy is the best way to teach idiots.
Redundancy is the best way to teach idiots.
Redundancy is the best way to teach idiots.
Redundancy is the best way to teach idiots.
Redundancy is the best way to teach idiots.

Exactly why are convinced that your situation is a kernel limit?
Reply With Quote
  #3 (permalink)  
Old 12-07-2004
Nico
 
Posts: n/a
Default Re: Pentium II only doing 20Mbps

I read something about it in slashdot and in an MIT paper:
http://developers.slashdot.org/devel...tid=126&tid=95

http://developers.slashdot.org/comme...98&cid=9661019
Re:Performance is pretty reasonable (Score:4, Informative)
by Fzz (153115) on Saturday July 10, @10:34AM (#9661019)
Take a look at figures 17 and 18 of this paper:
Eddie Kohler et al, "The Click modular router [mit.edu]". ACM
Transactions on Computer Systems 18(3), August 2000, pages 263-297.
These experiments are a few years old now, but 32-bit PCI hasn't
changed in that time, so they should still be valid on non-server-class
PCs. Vanilla Linux topped out at around 80Kpps, whereas polling gets
you over 300Kpps, and the Click optimizations get you nearer 400Kpps.

Similar experiments on FreeBSD with device polling give results in the
same ballpark.

- Mark

Reply With Quote
  #4 (permalink)  
Old 12-07-2004
IANAL_VISTA
 
Posts: n/a
Default Re: Pentium II only doing 20Mbps

"Nico" <nicolas.patik@gmail.com> wrote in
news:1102417473.133552.200330@z14g2000cwz.googlegr oups.com:

> I read something about it in slashdot and in an MIT paper:
> http://developers.slashdot.org/devel...3.shtml?tid=12
> 6&tid=95
>
> http://developers.slashdot.org/comme...98&cid=9661019
> Re:Performance is pretty reasonable (Score:4, Informative)
> by Fzz (153115) on Saturday July 10, @10:34AM (#9661019)
> Take a look at figures 17 and 18 of this paper:
> Eddie Kohler et al, "The Click modular router [mit.edu]". ACM
> Transactions on Computer Systems 18(3), August 2000, pages 263-297.
> These experiments are a few years old now, but 32-bit PCI hasn't
> changed in that time, so they should still be valid on
> non-server-class PCs. Vanilla Linux topped out at around 80Kpps,
> whereas polling gets you over 300Kpps, and the Click optimizations get
> you nearer 400Kpps.
>
> Similar experiments on FreeBSD with device polling give results in the
> same ballpark.
>
> - Mark
>


I have no idea what a Kpps is.
On more than one occasion I have seen cases where "something bad"
happens to one of the two NIC's connected by a cable where one
NIC goes into single "duplex" at 10Mbs; which degrades throughput
below 100Mbs.

Your original "conclusion" that the problem must be in the kernel
may be in error; then again it may not. But without checking other
alternatives, you won't know for sure.

HTH & YMMV
Reply With Quote
  #5 (permalink)  
Old 12-08-2004
Kim Hawtin
 
Posts: n/a
Default Re: Pentium II only doing 20Mbps

IANAL_VISTA wrote:
> "Nico" <nicolas.patik@gmail.com> wrote in

8<
>>These experiments are a few years old now, but 32-bit PCI hasn't
>>changed in that time, so they should still be valid on
>>non-server-class PCs. Vanilla Linux topped out at around 80Kpps,
>>whereas polling gets you over 300Kpps, and the Click optimizations get
>>you nearer 400Kpps.
>>
>>Similar experiments on FreeBSD with device polling give results in the
>>same ballpark.


this stuff is old and 2.6 kernels seem to be alot better.

> I have no idea what a Kpps is.


kilo packets per second, IIRR

> On more than one occasion I have seen cases where "something bad"
> happens to one of the two NIC's connected by a cable where one
> NIC goes into single "duplex" at 10Mbs; which degrades throughput
> below 100Mbs.


this is often a problem on some NIC chipsets.

use "mii-tools" and force to 100baseTx-FD for full duplex
or 100baseTx-HD half duplex, if you see transmission errors...

> Your original "conclusion" that the problem must be in the kernel
> may be in error; then again it may not. But without checking other
> alternatives, you won't know for sure.


also depends on the chipset of the NICs you are using.

which kernel and which NICs are you using?

cheers,

Kim
Reply With Quote
  #6 (permalink)  
Old 12-08-2004
Nico
 
Posts: n/a
Default Re: Pentium II only doing 20Mbps

Kernel 2.4.27 and 2 nics 3c905B 100BaseTX with 3c59x modules.

I tried to force 100Mbps but here is what I've got:

# mii-diag -F 100baseTx-FD eth0
Setting the speed to "fixed", Control register 2100.
Basic registers of MII PHY #0: c000 c000 c000 c000 c000 c000 c000
c000.
The autonegotiated capability is 0000.
No common media type was autonegotiated!
This is extremely unusual and typically indicates a configuration
error.
Perhaps the advertised capability set was intentionally limited.
Basic mode control register 0xc000: Auto-negotiation disabled, with
Speed fixed at 10 mbps, half-duplex.
Transceiver in loopback mode!
Transceiver currently being reset!
Basic mode status register 0xc000 ... c000.
Link status: not established.
Your link partner advertised c000:.
End of basic transceiver informaion.

Reply With Quote
  #7 (permalink)  
Old 12-08-2004
IANAL_VISTA
 
Posts: n/a
Default Re: Pentium II only doing 20Mbps

"Nico" <nicolas.patik@gmail.com> wrote in
news:1102506877.505049.90290@c13g2000cwb.googlegro ups.com:

> Kernel 2.4.27 and 2 nics 3c905B 100BaseTX with 3c59x modules.
>
> I tried to force 100Mbps but here is what I've got:
>
> # mii-diag -F 100baseTx-FD eth0
> Setting the speed to "fixed", Control register 2100.
> Basic registers of MII PHY #0: c000 c000 c000 c000 c000 c000 c000
> c000.
> The autonegotiated capability is 0000.
> No common media type was autonegotiated!
> This is extremely unusual and typically indicates a configuration
> error.
> Perhaps the advertised capability set was intentionally limited.
> Basic mode control register 0xc000: Auto-negotiation disabled, with
> Speed fixed at 10 mbps, half-duplex.
> Transceiver in loopback mode!
> Transceiver currently being reset!
> Basic mode status register 0xc000 ... c000.
> Link status: not established.
> Your link partner advertised c000:.
> End of basic transceiver informaion.
>
>


Speed fixed at 10 mbps, half-duplex; says it all.
Reply With Quote
  #8 (permalink)  
Old 12-09-2004
Nico
 
Posts: n/a
Default Re: Pentium II only doing 20Mbps

txs

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0