lkml.org 
[lkml]   [1998]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.095 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site