Determing cache sizes -- request for testing

Craig Black craigblack2 at cox.net
Wed Sep 10 15:44:33 PDT 2008


Don,

Very good work on all this stuff!!  I didn't realize that this was possible 
to do.  Once you get the cache sizes it would be beneficial to know what 
regions of memory are currently loaded into cache and RAM.  Do you know if 
this can be done?

If such information was available, it would be possible to write a "memory 
optimizer" that would work on special data structures that could be moved 
around on the heap.  Objects that are accessed frequently could be moved 
around to improve locality of reference.

-Craig 




More information about the Digitalmars-d mailing list