OK, one more.  This might be interesting or amusing - I am running
your cache program with the virtualbox image of sage-4.1.2.  Timings
were somewhat inconsistent, probably because I was doing other tasks
the first time I ran it.  Second time it gave better results:

    8     0.032     3.071
   16     0.127     3.946
   32     0.292     2.291
   64     0.265     0.908
  128     0.733     2.766
  256     1.569     2.141
  512     4.673     2.978
 1024    36.392     7.789
 2048    92.935     2.554
 4096   242.679     2.611
 8192   480.222     1.979
16384   992.573     2.067
32768  2255.541     2.272
65536  4584.451     2.033
 64 512 2048

This is for a Athlon 3800+, single-core, with:
L1 Cache Size: 64KB data + 64KB instruction = 128KB Total
L2 Cache Size: 512KB "Newcastle" core

-Marshall
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to