public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.12-ac4 10Mbit NE2k interrupt load kills p166
@ 2001-10-25 19:30 Samium Gromoff
  2001-10-25 20:01 ` Benjamin LaHaise
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Samium Gromoff @ 2001-10-25 19:30 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

       Hello folks...

	Host A: p166, ISA NE2K, linux-2.4.12-ac4
	Host B: p2-400, rtl-8129, WinXP (heh, not my box though ;)

	Load: smbmount connection from host A to the host B, and getting
     large files.

	Result: 
		a) modem dies completely - drops ppp packets at the rate of 75%,
		irqtune doesnt affect this behaviour at all
		
		b) mpg123 sound becomes corrupted, as if its interrupted
		with rate of 100Hz for a very little amount of time, 
		irqtune doesnt affect this behaviour at all
		
		c) CPU load does not depend on whether mpg123 is started,
		ie at the moment mpg123 exits, system cpu usage pops up.
		
		d) complete stopping sound (killing esd which leads to
		the fact that soundcard stops to emit interrupts), increases
		network copy performance by the factor of 1.2

		e) renicing ksoftirqd doesnt affect the behaviour at all

		f) renicing mc increases copy performance my the factor of 1.2


	Now i`m compiling the 2.4.13-linus to test it either...

cheers, Samium Gromoff

^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <Pine.LNX.4.33.0112091619190.6428-100000@coffee.psychology.mcmaster.ca>]
* Re: 2.4.12-ac4 10Mbit NE2k interrupt load kills p166
@ 2001-12-09 23:04 Samium Gromoff
  0 siblings, 0 replies; 16+ messages in thread
From: Samium Gromoff @ 2001-12-09 23:04 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

> What might be interesting would be to edit 8390.c and change
>
>         /* Mask interrupts from the ethercard.
>            SMP: We have to grab the lock here otherwise the IRQ handler
>            on another CPU can flip window and race the IRQ mask set. We end
>            up trashing the mcast filter not disabling irqs if we dont lock
>         */
>
>         spin_lock_irqsave(&ei_local->page_lock, flags);
>         outb_p(0x00, e8390_base + EN0_IMR);
>         spin_unlock_irqrestore(&ei_local->page_lock, flags);
>
> to use
>
>         /* this is the missing spin_trylock_irqsave longhand.. */
>         save_flags(flags);
>         __cli();
>         if(!spin_trylock(&ei_local->page_lock))
>         {
>                 restore_flags(flags);
>                 return 1;
>         }
>         outb_p(0x00, e8390_base + EN0_IMR);
>         spin_unlock_irqrestore(&ei_local->page_lock, flags);
    building the kernel is in the progress, so i`ll report asap...

    I`m so glad somebody still cares of the good ol` boxes :-)


regards, Samium Gromoff

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

end of thread, other threads:[~2001-12-10  6:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-25 19:30 2.4.12-ac4 10Mbit NE2k interrupt load kills p166 Samium Gromoff
2001-10-25 20:01 ` Benjamin LaHaise
2001-10-25 20:22   ` Alan Cox
2001-10-25 20:40     ` Martin Josefsson
2001-10-25 20:54       ` Alan Cox
2001-10-25 20:52         ` Benjamin LaHaise
2001-12-08 21:58       ` Samium Gromoff
2001-12-10 10:54         ` vda
2001-10-27 15:22   ` Jussi Laako
2001-10-27 15:50     ` Samium Gromoff
2001-10-25 20:21 ` Alan Cox
2001-10-25 21:19 ` Urban Widmark
2001-10-26  2:57   ` Samium Gromoff
     [not found] <Pine.LNX.4.33.0112091619190.6428-100000@coffee.psychology.mcmaster.ca>
2001-12-09 21:50 ` Samium Gromoff
2001-12-09 22:18   ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-12-09 23:04 Samium Gromoff

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