lkml.org 
[lkml]   [2011]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: m68k: Convert to genirq (WIP)
From
On Fri, Jun 17, 2011 at 05:45, Finn Thain <fthain@telegraphics.com.au> wrote:
> On Thu, 16 Jun 2011, Geert Uytterhoeven wrote:
>> On Wed, Jun 15, 2011 at 21:44, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>> > On Sat, Jun 4, 2011 at 19:56, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>> >> On Sat, May 28, 2011 at 20:32, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>> >>
>> >> It works on Amiga now, too. It can still use some optimizations in
>> >> the irq_{enable,disable,ack,mask,mask_ack,unmask} area, as my
>> >> BogoMIPS rating dropped by ca 2.5% and is now under 16, for a 25 MHz
>> >> 68040.
>> >
>> > Seems like everything (Atari/ARAnyM and Amiga) still works when using
>> > handle_simple_irq instead of handle_level_irq. As a bonus, BogoMIPS is
>> > above 16 again.
>
> Your bogomips benchmark would be the best-case penalty, right?
>
> Have you tried say, sending a ping flood to measure throughput and
> latency?

Results on Amiga 4000/040 (25 MHz 68040, 12 MiB Fast RAM) with Ariadne Ethernet,
running 3.0-rc7.

legacy m68k genirq

bogomips: 16.17 (lpj=80896) 16.02 (lpj=80128)

10x ping fast machine: 9034 ms 9025 ms
rtt min/avg/max/mdev (ms) 1.815/2.556/8.580/2.008 1.903/2.142/3.275/0.388

100x flood ping fast machine: 4654 ms 3960 ms
rtt min/avg/max/mdev (ms) 1.831/2.113/3.285/0.361 1.887/2.068/2.958/0.242
pipe, ipg/ewma (ms) 10, 47.013/2.111 6, 40.005/1.989

wget 16 MiB image 86.99 KB/s 112.08 KB/s
104.31 KB/s 115.95 KB/s
109.56 KB/s 116.22 KB/s


/proc/interrupts (legacy m68k):

auto 1: 0 int1
auto 2: 152824 CIAA, ide0, eth0
auto 3: 133649 int3
auto 4: 0 int4
auto 5: 0 int5
auto 6: 193334 CIAB
amiga 8: 0 serial TX
amiga 12: 133649 fb vertb handler
amiga 19: 0 serial RX
cia 25: 240 amikbd
cia 27: 193334 timer


/proc/interrupts (genirq):

CPU0
2: 29503 auto CIAA, ide0, eth0
6: 93738 auto CIAB
8: 0 amiga serial TX
12: 64657 amiga fb vertb handler
13: 3 amiga
19: 0 amiga serial RX
25: 788 cia amikbd
27: 93738 cia timer
ERR: 0

I did some more refactoring which made the Mac conversion trivial (but
still untested).
I'll prepare it for publishing when the kids leave me alone ;-)

Gr{oetje,eeting}s,
                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-08-08 15:11    [W:0.194 / U:0.372 seconds]
©2003-2014 Jasper Spaans. Advertise on this site