Re: OpenSPARC T1 Processor L2 Cache Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

To anyone who might be interested in the answer to this question, it
looks I was right in that bits [17:8] are used as a cache-set index
directly, without hashing, according to page 10-3 of [1]. I also found
some older hypervisor code that uses these bits in order to maks off
set indices, etc. [2].

Unfortunately, I still don't know why the L2 data cache read miss
performance counter (using [LL][OP_READ][RESULT_MISS] from [3])
registers few if any misses when I intentionally fill a specific cache
set with more cache lines than it has ways by using the
vm_insert_page() kernel function to map specific physical memory pages
into the virtual address space of a process.

Thanks,
Christopher Kenna

[1] OpenSPARC T1 Processor Megacell Specification
http://read.pudn.com/downloads161/ebook/726659/doc/OpenSPARCT1_MegaCell.pdf
[2] hypervisor-opensparc/src/greatlakes/ontario/include/platform/cache.h
http://kenai.com/projects/hypervisor/sources/hypervisor-opensparc/content/src/greatlakes/ontario/include/platform/cache.h?rev=29
[3] http://lxr.linux.no/linux+v3.3.4/arch/sparc/kernel/perf_event.c#L293
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux