1 marek 1.1 // Copyright (c) 2005 DMTF. All rights reserved.
2 // <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
3 // qualifier values to CIM Schema.</change>
4 // <change cr="ArchCR00089.003" type="add">Add PUnit qualifier values
5 // to Units qualifier values.</change>
6 // ==================================================================
7 // CIM_CacheMemory
8 // ==================================================================
9 [Deprecated { "CIM_AssociatedCacheMemory" },
10 Version ( "2.8.0" ),
11 UMLPackagePath ( "CIM::Device::Memory" ),
12 Description (
13 "Capabilities and management of Cache Memory. Cache memory is "
14 "dedicated or allocated RAM that a Processor searches first for "
15 "data, before going to \'regular\' memory. CacheMemory is used "
16 "to speed up the delivery of data to a Processor. It is usually "
17 "described by its closeness to the Processor (for example, "
18 "Primary or Secondary Cache). \n"
19 "If a DiskDrive includes RAM allocated for holding the disk\'s "
20 "most recently read and/or adjacent data (in order to speed up "
21 "retrieval), this also would be modeled as CacheMemory. Note "
22 marek 1.1 "that CacheMemory is NOT operating system or application level "
23 "buffers but actual RAM allocated for caching data for a "
24 "Processor, from a hard disk, etc." )]
25 class CIM_CacheMemory : CIM_Memory {
26
27 [Deprecated { "CIM_AssociatedCacheMemory.Level" },
28 Description (
29 "Defines whether this is the Primary (value=3), Secondary "
30 "(value=4) or Tertiary (value=5) Cache. Also, \"Other\" "
31 "(1), \"Unknown\" (2) and \"Not Applicable\" (6) can be "
32 "defined." ),
33 ValueMap { "1", "2", "3", "4", "5", "6" },
34 Values { "Other", "Unknown", "Primary", "Secondary",
35 "Tertiary", "Not Applicable" },
36 MappingStrings { "MIF.DMTF|System Cache|006.2" }]
37 uint16 Level;
38
39 [Deprecated { "CIM_AssociatedCacheMemory.WritePolicy" },
40 Description (
41 "Defines whether this is write-back (value=3) or "
42 "write-through (value=4) Cache, or whether this "
43 marek 1.1 "information \"Varies with Address\" (5) or is defined "
44 "individually for each I/O (6). Also, \"Other\" (1) and "
45 "\"Unknown\" (2) can be specified." ),
46 ValueMap { "1", "2", "3", "4", "5", "6" },
47 Values { "Other", "Unknown", "Write Back", "Write Through",
48 "Varies with Address", "Determination Per I/O" },
49 MappingStrings { "MIF.DMTF|System Cache|006.5" }]
50 uint16 WritePolicy;
51
52 [Deprecated { "CIM_AssociatedCacheMemory.CacheType" },
53 Description (
54 "Defines whether this is for instruction caching "
55 "(value=3), data caching (value=4) or both (value=5, "
56 "\"Unified\"). Also, \"Other\" (1) and \"Unknown\" (2) "
57 "can be defined." ),
58 ValueMap { "1", "2", "3", "4", "5" },
59 Values { "Other", "Unknown", "Instruction", "Data", "Unified" },
60 MappingStrings { "MIF.DMTF|System Cache|006.9" }]
61 uint16 CacheType;
62
63 [Deprecated { "CIM_AssociatedCacheMemory.LineSize" },
64 marek 1.1 Description (
65 "Size, in bytes, of a single cache bucket or line." ),
66 Units ( "Bytes" ),
67 MappingStrings { "MIF.DMTF|System Cache|006.10" },
68 PUnit ( "byte" )]
69 uint32 LineSize;
70
71 [Deprecated { "CIM_AssociatedCacheMemory.ReplacementPolicy" },
72 Description (
73 "An integer enumeration describing the algorithm to "
74 "determine which cache lines or buckets should be "
75 "re-used." ),
76 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8" },
77 Values { "Other", "Unknown", "Least Recently Used (LRU)",
78 "First In First Out (FIFO)", "Last In First Out (LIFO)",
79 "Least Frequently Used (LFU)",
80 "Most Frequently Used (MFU)",
81 "Data Dependent Multiple Algorithms" },
82 MappingStrings { "MIF.DMTF|System Cache|006.12" }]
83 uint16 ReplacementPolicy;
84
85 marek 1.1 [Deprecated { "CIM_AssociatedCacheMemory.ReadPolicy" },
86 Description (
87 "Policy that shall be employed by the Cache for handling "
88 "read requests. For example, \"Read\", \"Read-Ahead\" or "
89 "both can be specified using the values, 3, 4 or 5, "
90 "respectively. If the read policy is determined "
91 "individually (ie, for each request), then the value 6 "
92 "(\"Determination per I/O\") should be specified. \"Other\" "
93 "(1) and \"Unknown\" (2) are also valid values." ),
94 ValueMap { "1", "2", "3", "4", "5", "6" },
95 Values { "Other", "Unknown", "Read", "Read-Ahead",
96 "Read and Read-Ahead", "Determination Per I/O" },
97 MappingStrings { "MIF.DMTF|System Cache|006.13" }]
98 uint16 ReadPolicy;
99
100 [Deprecated { "CIM_AssociatedCacheMemory.FlushTimer" },
101 Description (
102 "Maximum amount of time, in seconds, dirty lines or "
103 "buckets may remain in the Cache before they are flushed. "
104 "A value of zero indicated that a cache flush is not "
105 "controlled by a flushing timer." ),
106 marek 1.1 Units ( "Seconds" ),
107 MappingStrings { "MIF.DMTF|System Cache|006.14" },
108 PUnit ( "second" )]
109 uint32 FlushTimer;
110
111 [Deprecated { "CIM_AssociatedCacheMemory.Associativity" },
112 Description (
113 "An integer enumeration defining the system cache "
114 "associativity. For example, 6 indicates a fully "
115 "associative cache." ),
116 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8" },
117 Values { "Other", "Unknown", "Direct Mapped",
118 "2-way Set-Associative", "4-way Set-Associative",
119 "Fully Associative", "8-way Set-Associative",
120 "16-way Set-Associative" },
121 MappingStrings { "MIF.DMTF|System Cache|006.15" }]
122 uint16 Associativity;
123
124
125 };
|