Install an old version of Linux, limit it to 256MB with a kernel code hack or kernel command line option, and you'd be running entirely in L3.
I also think there might be a niche for unikernels here to compile number crunching and other CPU-heavy tasks down to sizes that would run almost 100% from L3 cache. Wow.