public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4 and 2.5 Problem ne.c driver
@ 2002-08-25 11:44 kris
  2002-08-25 12:28 ` kris
  0 siblings, 1 reply; 10+ messages in thread
From: kris @ 2002-08-25 11:44 UTC (permalink / raw)
  To: linux-kernel

I have 2 ne2000 isa cards (10Mbps for each) and with this versions of
kernel the bandwith is divided by 2. So 2*5Mbps = 10Mbps instead of
2*10Mbps=20Mbps.
I try to fix the pbm.

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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 11:44 2.4 and 2.5 Problem ne.c driver kris
@ 2002-08-25 12:28 ` kris
  2002-08-25 13:21   ` Christophe Devalquenaire
  2002-08-25 13:33   ` Vojtech Pavlik
  0 siblings, 2 replies; 10+ messages in thread
From: kris @ 2002-08-25 12:28 UTC (permalink / raw)
  To: linux-kernel

kris wrote:
> 
> I have 2 ne2000 isa cards (10Mbps for each) and with this versions of
> kernel the bandwith is divided by 2. So 2*5Mbps = 10Mbps instead of
> 2*10Mbps=20Mbps.
> I try to fix the pbm.

perhaps a bug exists on the dispatcher when 2 identical cards exist.
Anyone have 2 identical cards for test ?

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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 12:28 ` kris
@ 2002-08-25 13:21   ` Christophe Devalquenaire
  2002-08-25 16:24     ` Donald Becker
  2002-08-25 13:33   ` Vojtech Pavlik
  1 sibling, 1 reply; 10+ messages in thread
From: Christophe Devalquenaire @ 2002-08-25 13:21 UTC (permalink / raw)
  To: linux-kernel, becker

kris wrote:
> 
> kris wrote:
> >
> > I have 2 ne2000 isa cards (10Mbps for each) and with this versions of
> > kernel the bandwith is divided by 2. So 2*5Mbps = 10Mbps instead of
> > 2*10Mbps=20Mbps.
> > I try to fix the pbm.
> 
> perhaps a bug exists on the dispatcher when 2 identical cards exist.
> Anyone have 2 identical cards for test ?

After other tries, the ne.c file is buggy. Confirmation.
I investigate. Anyone helps me ?

regards
Christophe

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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 12:28 ` kris
  2002-08-25 13:21   ` Christophe Devalquenaire
@ 2002-08-25 13:33   ` Vojtech Pavlik
  1 sibling, 0 replies; 10+ messages in thread
From: Vojtech Pavlik @ 2002-08-25 13:33 UTC (permalink / raw)
  To: kris; +Cc: linux-kernel

On Sun, Aug 25, 2002 at 02:28:18PM +0200, kris wrote:

> kris wrote:
> > 
> > I have 2 ne2000 isa cards (10Mbps for each) and with this versions of
> > kernel the bandwith is divided by 2. So 2*5Mbps = 10Mbps instead of
> > 2*10Mbps=20Mbps.
> > I try to fix the pbm.
> 
> perhaps a bug exists on the dispatcher when 2 identical cards exist.
> Anyone have 2 identical cards for test ?

The ISA bus is a cause of the speed limit.

-- 
Vojtech Pavlik
SuSE Labs

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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 13:21   ` Christophe Devalquenaire
@ 2002-08-25 16:24     ` Donald Becker
  2002-08-25 17:00       ` Thunder from the hill
  2002-08-25 17:58       ` Christophe Devalquenaire
  0 siblings, 2 replies; 10+ messages in thread
From: Donald Becker @ 2002-08-25 16:24 UTC (permalink / raw)
  To: Christophe Devalquenaire; +Cc: linux-kernel

On Sun, 25 Aug 2002, Christophe Devalquenaire wrote:
> kris wrote:
> > kris wrote:
> > >
> > > I have 2 ne2000 isa cards (10Mbps for each) and with this versions of
> > > kernel the bandwith is divided by 2. So 2*5Mbps = 10Mbps instead of
> > > 2*10Mbps=20Mbps.
> > > I try to fix the pbm.
> > 
> > perhaps a bug exists on the dispatcher when 2 identical cards exist.
> > Anyone have 2 identical cards for test ?
> 
> After other tries, the ne.c file is buggy. Confirmation.
> I investigate. Anyone helps me ?

Do you have evidence of a specific problem?
Or the same hardware running faster with other drivers or kernel versions?

This sounds as if you are just running out of ISA bus bandwidth...

-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993


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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 16:24     ` Donald Becker
@ 2002-08-25 17:00       ` Thunder from the hill
  2002-08-25 20:39         ` Vojtech Pavlik
  2002-08-25 17:58       ` Christophe Devalquenaire
  1 sibling, 1 reply; 10+ messages in thread
From: Thunder from the hill @ 2002-08-25 17:00 UTC (permalink / raw)
  To: Donald Becker; +Cc: Christophe Devalquenaire, linux-kernel

Hi,

On Sun, 25 Aug 2002, Donald Becker wrote:
> This sounds as if you are just running out of ISA bus bandwidth...

Can you explain why it's unidirectional then?

			Thunder
-- 
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-


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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 16:24     ` Donald Becker
  2002-08-25 17:00       ` Thunder from the hill
@ 2002-08-25 17:58       ` Christophe Devalquenaire
  2002-08-25 20:39         ` Vojtech Pavlik
  1 sibling, 1 reply; 10+ messages in thread
From: Christophe Devalquenaire @ 2002-08-25 17:58 UTC (permalink / raw)
  To: Donald Becker; +Cc: linux-kernel

Donald Becker wrote:
> 
> On Sun, 25 Aug 2002, Christophe Devalquenaire wrote:
> > kris wrote:
> > > kris wrote:
> > > >
> > > > I have 2 ne2000 isa cards (10Mbps for each) and with this versions of
> > > > kernel the bandwith is divided by 2. So 2*5Mbps = 10Mbps instead of
> > > > 2*10Mbps=20Mbps.
> > > > I try to fix the pbm.
> > >
> > > perhaps a bug exists on the dispatcher when 2 identical cards exist.
> > > Anyone have 2 identical cards for test ?
> >
> > After other tries, the ne.c file is buggy. Confirmation.
> > I investigate. Anyone helps me ?
> 
> Do you have evidence of a specific problem?
> Or the same hardware running faster with other drivers or kernel versions?
> 
> This sounds as if you are just running out of ISA bus bandwidth...

My configuration : a server with 2 cards NE2000(10 Mbps), a machine with
2 cards : 1 NE2000(ISA) and 1 3C905b(PCI).
server : NE2000 <-> workstation : NE2000  in 192.168.1.X
server : NE2000 <-> workstation : 3C905b  in 192.168.0.X

I try with a 2.4.6, 2.4.15, and 2.5.31. there is near from no
differences in the code of ne.c, gkrellm tells me that when I download
on both cards big files (for tests), the bandwidth falls to 5Mbps for
each card.
If 1 download stops, the other bandwidth is up to 10Mbps immediatly.

No other ISA card is used on the server.

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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 17:58       ` Christophe Devalquenaire
@ 2002-08-25 20:39         ` Vojtech Pavlik
  2002-08-26 23:30           ` Christophe Devalquenaire
  0 siblings, 1 reply; 10+ messages in thread
From: Vojtech Pavlik @ 2002-08-25 20:39 UTC (permalink / raw)
  To: Christophe Devalquenaire; +Cc: Donald Becker, linux-kernel

On Sun, Aug 25, 2002 at 07:58:32PM +0200, Christophe Devalquenaire wrote:

> Donald Becker wrote:
> > 
> > On Sun, 25 Aug 2002, Christophe Devalquenaire wrote:
> > > kris wrote:
> > > > kris wrote:
> > > > >
> > > > > I have 2 ne2000 isa cards (10Mbps for each) and with this versions of
> > > > > kernel the bandwith is divided by 2. So 2*5Mbps = 10Mbps instead of
> > > > > 2*10Mbps=20Mbps.
> > > > > I try to fix the pbm.
> > > >
> > > > perhaps a bug exists on the dispatcher when 2 identical cards exist.
> > > > Anyone have 2 identical cards for test ?
> > >
> > > After other tries, the ne.c file is buggy. Confirmation.
> > > I investigate. Anyone helps me ?
> > 
> > Do you have evidence of a specific problem?
> > Or the same hardware running faster with other drivers or kernel versions?
> > 
> > This sounds as if you are just running out of ISA bus bandwidth...
> 
> My configuration : a server with 2 cards NE2000(10 Mbps), a machine with
> 2 cards : 1 NE2000(ISA) and 1 3C905b(PCI).
> server : NE2000 <-> workstation : NE2000  in 192.168.1.X
> server : NE2000 <-> workstation : 3C905b  in 192.168.0.X
> 
> I try with a 2.4.6, 2.4.15, and 2.5.31. there is near from no
> differences in the code of ne.c, gkrellm tells me that when I download
> on both cards big files (for tests), the bandwidth falls to 5Mbps for
> each card.
> If 1 download stops, the other bandwidth is up to 10Mbps immediatly.
> 
> No other ISA card is used on the server.

ISA has a maximum bandwidth usually about a megabyte per second in PIO
(io-port, which the NE2k uses) mode. That's 10MBps. With two cards, i
gets evenly distributed. What's so surprising here?

-- 
Vojtech Pavlik
SuSE Labs

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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 17:00       ` Thunder from the hill
@ 2002-08-25 20:39         ` Vojtech Pavlik
  0 siblings, 0 replies; 10+ messages in thread
From: Vojtech Pavlik @ 2002-08-25 20:39 UTC (permalink / raw)
  To: Thunder from the hill
  Cc: Donald Becker, Christophe Devalquenaire, linux-kernel

On Sun, Aug 25, 2002 at 11:00:02AM -0600, Thunder from the hill wrote:
> Hi,
> 
> On Sun, 25 Aug 2002, Donald Becker wrote:
> > This sounds as if you are just running out of ISA bus bandwidth...
> 
> Can you explain why it's unidirectional then?

Unidirectional what? Sorry, guess I didn't understand your question.

-- 
Vojtech Pavlik
SuSE Labs

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

* Re: 2.4 and 2.5 Problem ne.c driver
  2002-08-25 20:39         ` Vojtech Pavlik
@ 2002-08-26 23:30           ` Christophe Devalquenaire
  0 siblings, 0 replies; 10+ messages in thread
From: Christophe Devalquenaire @ 2002-08-26 23:30 UTC (permalink / raw)
  To: Vojtech Pavlik; +Cc: Donald Becker, linux-kernel


> ISA has a maximum bandwidth usually about a megabyte per second in PIO
> (io-port, which the NE2k uses) mode. That's 10MBps. With two cards, i
> gets evenly distributed. What's so surprising here?
> 
> --
> Vojtech Pavlik
> SuSE Labs


ok, thanks

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

end of thread, other threads:[~2002-08-26 23:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-25 11:44 2.4 and 2.5 Problem ne.c driver kris
2002-08-25 12:28 ` kris
2002-08-25 13:21   ` Christophe Devalquenaire
2002-08-25 16:24     ` Donald Becker
2002-08-25 17:00       ` Thunder from the hill
2002-08-25 20:39         ` Vojtech Pavlik
2002-08-25 17:58       ` Christophe Devalquenaire
2002-08-25 20:39         ` Vojtech Pavlik
2002-08-26 23:30           ` Christophe Devalquenaire
2002-08-25 13:33   ` Vojtech Pavlik

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