* Re: Re: Re: <no subject>
@ 2002-08-26 10:54 joerg.beyer
2002-08-26 12:20 ` Zwane Mwaikambo
0 siblings, 1 reply; 4+ messages in thread
From: joerg.beyer @ 2002-08-26 10:54 UTC (permalink / raw)
To: joerg.beyer, ZwaneMwaikambo; +Cc: linux-kernel
Zwane Mwaikambo <zwane@linuxpower.ca> schrieb am 25.08.02 14:10:12:
> On Sun, 25 Aug 2002 joerg.beyer@email.de wrote:
>
> > you are right, I had no dma enabled. Now I recomiled the kernel with this
> > dma-related options:
> >
> > CONFIG_BLK_DEV_IDEDMA_PCI=y
> > # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
> > CONFIG_IDEDMA_PCI_AUTO=y
> > # CONFIG_IDEDMA_ONLYDISK is not set
> > CONFIG_BLK_DEV_IDEDMA=y
> > # CONFIG_IDEDMA_PCI_WIP is not set
> > # CONFIG_BLK_DEV_IDEDMA_TIMEOUT is not set
> > # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
> > CONFIG_BLK_DEV_ADMA=y
> > # CONFIG_HPT34X_AUTODMA is not set
> > CONFIG_IDEDMA_AUTO=y
> > # CONFIG_IDEDMA_IVB is not set
> > # CONFIG_DMA_NONPCI is not set
> >
> >
> > and I still get many many errors on the nic. Do I need something more in .config?
>
> That should fix your slowdown during untarring/disk access, as for your
> NIC problem looks like you might be having a receive FIFO overflow, so
> perhaps the card stops processing incoming packets? I have no clue,
> Jeff?
is it possible, that I made a simmilar mistake at the NIC module configuration
and that I dont use dma at the NIC?
Put it the ohter way round: how could I see if the 8139too NIC module
uses DMA?
It is supposed to use DMA, right?
Joerg
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: Re: <no subject>
@ 2002-08-26 13:16 joerg.beyer
0 siblings, 0 replies; 4+ messages in thread
From: joerg.beyer @ 2002-08-26 13:16 UTC (permalink / raw)
To: joerg.beyer, ZwaneMwaikambo; +Cc: linux-kernel
Zwane Mwaikambo <zwane@linuxpower.ca> schrieb am 25.08.02 14:10:12:
> On Sun, 25 Aug 2002 joerg.beyer@email.de wrote:
>
> > you are right, I had no dma enabled. Now I recomiled the kernel with this
> > dma-related options:
> >
> > CONFIG_BLK_DEV_IDEDMA_PCI=y
> > # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
> > CONFIG_IDEDMA_PCI_AUTO=y
> > # CONFIG_IDEDMA_ONLYDISK is not set
> > CONFIG_BLK_DEV_IDEDMA=y
> > # CONFIG_IDEDMA_PCI_WIP is not set
> > # CONFIG_BLK_DEV_IDEDMA_TIMEOUT is not set
> > # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
> > CONFIG_BLK_DEV_ADMA=y
> > # CONFIG_HPT34X_AUTODMA is not set
> > CONFIG_IDEDMA_AUTO=y
> > # CONFIG_IDEDMA_IVB is not set
> > # CONFIG_DMA_NONPCI is not set
> >
> >
> > and I still get many many errors on the nic. Do I need something more in .config?
>
> That should fix your slowdown during untarring/disk access, as for your
> NIC problem looks like you might be having a receive FIFO overflow, so
> perhaps the card stops processing incoming packets? I have no clue,
> Jeff?
I set max_interrupt_work to higher values,
e.g. 500 (instead of the default value 20) and the message in /var/log/messages
does not appear - no wonder. But I still get large numbes of RX errors and
RX overruns (these numbers are equal most of the time). So receiving
is to slow and brings RX overruns.
Is there anything I can do about it?
It's a Athlon 1200 and that should be
fast enough to receive data on a single connection.
still confused, but now on a higher level
Joerg
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Re: Re: <no subject>
@ 2002-08-26 18:55 joerg.beyer
0 siblings, 0 replies; 4+ messages in thread
From: joerg.beyer @ 2002-08-26 18:55 UTC (permalink / raw)
To: joerg.beyer, ZwaneMwaikambo; +Cc: linux-kernel
Zwane Mwaikambo <zwane@linuxpower.ca> schrieb am 25.08.02 14:10:12:
> On Sun, 25 Aug 2002 joerg.beyer@email.de wrote:
>
> > you are right, I had no dma enabled. Now I recomiled the kernel with this
> > dma-related options:
> >
> > CONFIG_BLK_DEV_IDEDMA_PCI=y
> > # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
> > CONFIG_IDEDMA_PCI_AUTO=y
> > # CONFIG_IDEDMA_ONLYDISK is not set
> > CONFIG_BLK_DEV_IDEDMA=y
> > # CONFIG_IDEDMA_PCI_WIP is not set
> > # CONFIG_BLK_DEV_IDEDMA_TIMEOUT is not set
> > # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
> > CONFIG_BLK_DEV_ADMA=y
> > # CONFIG_HPT34X_AUTODMA is not set
> > CONFIG_IDEDMA_AUTO=y
> > # CONFIG_IDEDMA_IVB is not set
> > # CONFIG_DMA_NONPCI is not set
> >
> >
> > and I still get many many errors on the nic. Do I need something more in .config?
>
> That should fix your slowdown during untarring/disk access, as for your
> NIC problem looks like you might be having a receive FIFO overflow, so
> perhaps the card stops processing incoming packets? I have no clue,
> Jeff?
>
ok, now I am a step further: I have a testcase, where I used a 10MB file with random
content. I scp'd this file from another machine to the laptop:
joerg@laptop> scp otter_machine:/tmp/10mb_file /tmp/
with the 8139too NIC module this takes 8 minutes, 32 second and has
about 97500 error on the NIC, all are RC oerruns.
When I do the same with Donald Beckers rtl8139 module then the transfer
takes 10 seconds and has about 1865 errors - not perfect but much better.
I dont want to generalize, but for my case the rtl8139 module seems
to fit much better.
Thanks for your help
Joerg
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-08-26 18:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-26 10:54 Re: Re: <no subject> joerg.beyer
2002-08-26 12:20 ` Zwane Mwaikambo
2002-08-26 13:16 joerg.beyer
2002-08-26 18:55 joerg.beyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®