Messages in this thread | | | From | "Khimenko Victor" <> | Date | Mon, 27 Apr 1998 12:08:39 +0400 (MSD) | Subject | Re: faster strcpy() |
| |
> > You're using a single buffer, which has vastly different L1 > > characteristics than multiple buffers; and different characteristics from > > what real-world apps would see because they have other things polluting > > the L1. I bring up this point mostly because the strlen/memcpy version is > > probably better on the pentium because of the L1 cache design, this is > > less likely to be an issue on the pentium pro. > > > I am using two buffers, one a source and another a destination. They > are deliberately the same buffers for both tests. There is no way that > the execution of one string function could affect the other since > the strings are way too long to fit in a cache. > "Way to long" ? What you mean ? Pentium MMX (and if I am remeber right PII) has >=16K data cache ! The same with K6 ... Even standard Pentium has 8K data cache ...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |