Known problems with dcache?

Andrew Cagney ac131313@redhat.com
Fri Jan 10 22:36:00 GMT 2003


> We don't use the straw on some targets now; Linux (need to get back to
> that patch and turn it on always!), *BSD.

Right so that 32 byte read is now cheap.

> The dcache needs some serious work if you want it to be always on. 
> Last time I tested it it caused an actual slowdown.  Basically, it's
> too small to be useful.
> 
> #define DCACHE_SIZE 64
> #define LINE_SIZE_POWER (5)
> 
> So it never stores more than 2K.  LinuxThreads _overwhelms_ that, by a
> downright boggling amount.

You wouldn't know why it caused a slow down?  Th 32 byte read should now 
be cheaper.

Andrew




More information about the Gdb mailing list