raw_cpuid::CACHE_INFO_TABLE [] [src]

pub const CACHE_INFO_TABLE: [CacheInfo; 103] = [CacheInfo{num: 0,
           typ: CacheInfoType::GENERAL,
           desc: "Null descriptor, this byte contains no information",},
 CacheInfo{num: 1,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4 KByte pages, 4-way set associative, 32 entries",},
 CacheInfo{num: 2,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4 MByte pages, fully associative, 2 entries",},
 CacheInfo{num: 3,
           typ: CacheInfoType::TLB,
           desc:
               "Data TLB: 4 KByte pages, 4-way set associative, 64 entries",},
 CacheInfo{num: 4,
           typ: CacheInfoType::TLB,
           desc:
               "Data TLB: 4 MByte pages, 4-way set associative, 8 entries",},
 CacheInfo{num: 5,
           typ: CacheInfoType::TLB,
           desc:
               "Data TLB1: 4 MByte pages, 4-way set associative, 32 entries",},
 CacheInfo{num: 6,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level instruction cache: 8 KBytes, 4-way set associative, 32 byte line size",},
 CacheInfo{num: 8,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level instruction cache: 16 KBytes, 4-way set associative, 32 byte line size",},
 CacheInfo{num: 9,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level instruction cache: 32KBytes, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 10,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 8 KBytes, 2-way set associative, 32 byte line size",},
 CacheInfo{num: 11,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4 MByte pages, 4-way set associative, 4 entries",},
 CacheInfo{num: 12,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 16 KBytes, 4-way set associative, 32 byte line size",},
 CacheInfo{num: 13,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 16 KBytes, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 14,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 24 KBytes, 6-way set associative, 64 byte line size",},
 CacheInfo{num: 33,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 256 KBytes, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 34,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 512 KBytes, 4-way set associative, 64 byte line size, 2 lines per sector",},
 CacheInfo{num: 35,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 1 MBytes, 8-way set associative, 64 byte line size, 2 lines per sector",},
 CacheInfo{num: 36,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 1 MBytes, 16-way set associative, 64 byte line size",},
 CacheInfo{num: 37,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 2 MBytes, 8-way set associative, 64 byte line size, 2 lines per sector",},
 CacheInfo{num: 41,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 4 MBytes, 8-way set associative, 64 byte line size, 2 lines per sector",},
 CacheInfo{num: 44,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 32 KBytes, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 48,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level instruction cache: 32 KBytes, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 64,
           typ: CacheInfoType::CACHE,
           desc:
               "No 2nd-level cache or, if processor contains a valid 2nd-level cache, no 3rd-level cache",},
 CacheInfo{num: 65,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 128 KBytes, 4-way set associative, 32 byte line size",},
 CacheInfo{num: 66,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 256 KBytes, 4-way set associative, 32 byte line size",},
 CacheInfo{num: 67,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 512 KBytes, 4-way set associative, 32 byte line size",},
 CacheInfo{num: 68,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 1 MByte, 4-way set associative, 32 byte line size",},
 CacheInfo{num: 69,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 2 MByte, 4-way set associative, 32 byte line size",},
 CacheInfo{num: 70,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 4 MByte, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 71,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 8 MByte, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 72,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 3MByte, 12-way set associative, 64 byte line size",},
 CacheInfo{num: 73,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 4MB, 16-way set associative, 64-byte line size (Intel Xeon processor MP, Family 0FH, Model 06H); 2nd-level cache: 4 MByte, 16-way set associative, 64 byte line size",},
 CacheInfo{num: 74,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 6MByte, 12-way set associative, 64 byte line size",},
 CacheInfo{num: 75,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 8MByte, 16-way set associative, 64 byte line size",},
 CacheInfo{num: 76,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 12MByte, 12-way set associative, 64 byte line size",},
 CacheInfo{num: 77,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 16MByte, 16-way set associative, 64 byte line size",},
 CacheInfo{num: 78,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 6MByte, 24-way set associative, 64 byte line size",},
 CacheInfo{num: 79,
           typ: CacheInfoType::TLB,
           desc: "Instruction TLB: 4 KByte pages, 32 entries",},
 CacheInfo{num: 80,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4 KByte and 2-MByte or 4-MByte pages, 64 entries",},
 CacheInfo{num: 81,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4 KByte and 2-MByte or 4-MByte pages, 128 entries",},
 CacheInfo{num: 82,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4 KByte and 2-MByte or 4-MByte pages, 256 entries",},
 CacheInfo{num: 85,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 2-MByte or 4-MByte pages, fully associative, 7 entries",},
 CacheInfo{num: 86,
           typ: CacheInfoType::TLB,
           desc:
               "Data TLB0: 4 MByte pages, 4-way set associative, 16 entries",},
 CacheInfo{num: 87,
           typ: CacheInfoType::TLB,
           desc: "Data TLB0: 4 KByte pages, 4-way associative, 16 entries",},
 CacheInfo{num: 89,
           typ: CacheInfoType::TLB,
           desc: "Data TLB0: 4 KByte pages, fully associative, 16 entries",},
 CacheInfo{num: 90,
           typ: CacheInfoType::TLB,
           desc:
               "Data TLB0: 2-MByte or 4 MByte pages, 4-way set associative, 32 entries",},
 CacheInfo{num: 91,
           typ: CacheInfoType::TLB,
           desc: "Data TLB: 4 KByte and 4 MByte pages, 64 entries",},
 CacheInfo{num: 92,
           typ: CacheInfoType::TLB,
           desc: "Data TLB: 4 KByte and 4 MByte pages,128 entries",},
 CacheInfo{num: 93,
           typ: CacheInfoType::TLB,
           desc: "Data TLB: 4 KByte and 4 MByte pages,256 entries",},
 CacheInfo{num: 96,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 16 KByte, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 97,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4 KByte pages, fully associative, 48 entries",},
 CacheInfo{num: 99,
           typ: CacheInfoType::TLB,
           desc:
               "Data TLB: 1 GByte pages, 4-way set associative, 4 entries",},
 CacheInfo{num: 102,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 8 KByte, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 103,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 16 KByte, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 104,
           typ: CacheInfoType::CACHE,
           desc:
               "1st-level data cache: 32 KByte, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 112,
           typ: CacheInfoType::CACHE,
           desc: "Trace cache: 12 K-\u{3bc}op, 8-way set associative",},
 CacheInfo{num: 113,
           typ: CacheInfoType::CACHE,
           desc: "Trace cache: 16 K-\u{3bc}op, 8-way set associative",},
 CacheInfo{num: 114,
           typ: CacheInfoType::CACHE,
           desc: "Trace cache: 32 K-\u{3bc}op, 8-way set associative",},
 CacheInfo{num: 118,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 2M/4M pages, fully associative, 8 entries",},
 CacheInfo{num: 120,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 1 MByte, 4-way set associative, 64byte line size",},
 CacheInfo{num: 121,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 128 KByte, 8-way set associative, 64 byte line size, 2 lines per sector",},
 CacheInfo{num: 122,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 256 KByte, 8-way set associative, 64 byte line size, 2 lines per sector",},
 CacheInfo{num: 123,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 512 KByte, 8-way set associative, 64 byte line size, 2 lines per sector",},
 CacheInfo{num: 124,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 1 MByte, 8-way set associative, 64 byte line size, 2 lines per sector",},
 CacheInfo{num: 125,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 2 MByte, 8-way set associative, 64byte line size",},
 CacheInfo{num: 127,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 512 KByte, 2-way set associative, 64-byte line size",},
 CacheInfo{num: 128,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 512 KByte, 8-way set associative, 64-byte line size",},
 CacheInfo{num: 130,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 256 KByte, 8-way set associative, 32 byte line size",},
 CacheInfo{num: 131,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 512 KByte, 8-way set associative, 32 byte line size",},
 CacheInfo{num: 132,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 1 MByte, 8-way set associative, 32 byte line size",},
 CacheInfo{num: 133,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 2 MByte, 8-way set associative, 32 byte line size",},
 CacheInfo{num: 134,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 512 KByte, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 135,
           typ: CacheInfoType::CACHE,
           desc:
               "2nd-level cache: 1 MByte, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 176,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4 KByte pages, 4-way set associative, 128 entries",},
 CacheInfo{num: 177,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 2M pages, 4-way, 8 entries or 4M pages, 4-way, 4 entries",},
 CacheInfo{num: 178,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4KByte pages, 4-way set associative, 64 entries",},
 CacheInfo{num: 179,
           typ: CacheInfoType::TLB,
           desc:
               "Data TLB: 4 KByte pages, 4-way set associative, 128 entries",},
 CacheInfo{num: 180,
           typ: CacheInfoType::TLB,
           desc: "Data TLB1: 4 KByte pages, 4-way associative, 256 entries",},
 CacheInfo{num: 181,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4KByte pages, 8-way set associative, 64 entries",},
 CacheInfo{num: 182,
           typ: CacheInfoType::TLB,
           desc:
               "Instruction TLB: 4KByte pages, 8-way set associative, 128 entries",},
 CacheInfo{num: 186,
           typ: CacheInfoType::TLB,
           desc: "Data TLB1: 4 KByte pages, 4-way associative, 64 entries",},
 CacheInfo{num: 192,
           typ: CacheInfoType::TLB,
           desc:
               "Data TLB: 4 KByte and 4 MByte pages, 4-way associative, 8 entries",},
 CacheInfo{num: 193,
           typ: CacheInfoType::STLB,
           desc:
               "Shared 2nd-Level TLB: 4 KByte/2MByte pages, 8-way associative, 1024 entries",},
 CacheInfo{num: 194,
           typ: CacheInfoType::DTLB,
           desc:
               "DTLB: 2 MByte/$MByte pages, 4-way associative, 16 entries",},
 CacheInfo{num: 202,
           typ: CacheInfoType::STLB,
           desc:
               "Shared 2nd-Level TLB: 4 KByte pages, 4-way associative, 512 entries",},
 CacheInfo{num: 208,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 512 KByte, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 209,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 1 MByte, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 210,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 2 MByte, 4-way set associative, 64 byte line size",},
 CacheInfo{num: 214,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 1 MByte, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 215,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 2 MByte, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 216,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 4 MByte, 8-way set associative, 64 byte line size",},
 CacheInfo{num: 220,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 1.5 MByte, 12-way set associative, 64 byte line size",},
 CacheInfo{num: 221,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 3 MByte, 12-way set associative, 64 byte line size",},
 CacheInfo{num: 222,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 6 MByte, 12-way set associative, 64 byte line size",},
 CacheInfo{num: 226,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 2 MByte, 16-way set associative, 64 byte line size",},
 CacheInfo{num: 227,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 4 MByte, 16-way set associative, 64 byte line size",},
 CacheInfo{num: 228,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 8 MByte, 16-way set associative, 64 byte line size",},
 CacheInfo{num: 234,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 12MByte, 24-way set associative, 64 byte line size",},
 CacheInfo{num: 235,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 18MByte, 24-way set associative, 64 byte line size",},
 CacheInfo{num: 236,
           typ: CacheInfoType::CACHE,
           desc:
               "3rd-level cache: 24MByte, 24-way set associative, 64 byte line size",},
 CacheInfo{num: 240,
           typ: CacheInfoType::PREFETCH,
           desc: "64-Byte prefetching",},
 CacheInfo{num: 241,
           typ: CacheInfoType::PREFETCH,
           desc: "128-Byte prefetching",},
 CacheInfo{num: 255,
           typ: CacheInfoType::GENERAL,
           desc:
               "CPUID leaf 2 does not report cache descriptor information, use CPUID leaf 4 to query cache parameters",}]

This table is taken from Intel manual (Section CPUID instruction).