Linux-kernel mailing list archive 1998-10,: Re: MMX bzero of a page...

# Re: MMX bzero of a page...

Andrea Arcangeli (arcangeli@mbox.queen.it)
Wed, 11 Mar 1998 20:58:42 +0100 (CET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Myrdraal: "Re: kmod/kerneld"
- Previous message: Andrea Arcangeli: "Re: pre-2.1.90.."
- In reply to: Paul Koning: "Re: MMX bzero of a page..."
- Next in thread: David S. Miller: "Re: MMX bzero of a page..."

On Wed, 11 Mar 1998, Paul Koning wrote:

>On many (most?) high speed machines, memory-intensive functions like
>bzero or memcpy are memory bandwidth limited by a large margin. You
>may want to benchmark what you described against the "trivial"
>implementation; it may be that they have identical performance limited
>by the memory bus.

I think that the only reason to use MMX is to workaround the bus speed
limit. As you can see with my memcpy.c example this is true (improvement
x2) for large array but not for small array (or at least my test program
tell this).

Andrea[s] Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

- Next message: Myrdraal: "Re: kmod/kerneld"
- Previous message: Andrea Arcangeli: "Re: pre-2.1.90.."
- In reply to: Paul Koning: "Re: MMX bzero of a page..."
- Next in thread: David S. Miller: "Re: MMX bzero of a page..."