L2 cache #64
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "pca006132/zynq-rs:l2-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Enabled L2 cache
What is the testing level with artiq-zynq (including DMA and analyzer) and impact on performance?
I haven't done any benchmarks. I've tested it with the test scripts in https://github.com/m-labs/artiq/tree/master/artiq/test/coredevice, and nothing breaks. I've refactored the L2C code a bit but in theory nothing should break.
For performance, I've only tested it with ACPKI, and it could reduce the sustained output rate from 490ns to 390ns.
There are other performance problems in both the firmware and python side, which I would resolve them later. Cache is not our bottleneck, so the performance difference is not huge.
Edit:
test_performance.py
indicates that our speed for copying is increased by about 30%... That is a bug in thetest_performance.py
as it should be testing the network throughput instead of CPU memory copy throughput, but that could serve as a microbenchmark though...@ -86,6 +87,7 @@ pub fn restart_core1() {
#[no_mangle]
pub fn main_core0() {
// zynq::clocks::CpuClocks::enable_io(1_250_000_000);
start_l2_cache();
Nitpick: this is usually called "enable" or "init" elsewhere in the code and not "start".