📄 readme.cheetah
字号:
caches of varying line sizes but constant size need to be simulated. Direct-mapped caches of varying sizes may be simulated by setting the configuration to set-associative and the maximum associativity to one. The default configuration is sa. -F format Used to specify the trace format. Currently, the trace format can be one of pixie Trace as generated by pixie. din Trace in the DIN format (Mark Hill). basic Trace is a sequence of four byte addresses. The default format is basic. -T type Page 2 (printed 1/21/97) cheetah(1) cheetah(1) Used to specify the trace type. i[nstruction] for instruction traces, d[ata] for data traces and u[nified] for unified instruction and data traces may be specified. This option is ignored for the basic trace format. The default trace type is unified. Along with the above four major options, for each configuration a set of options are recognized that serve to set various parameter values. Options that are valid for all configurations are first described, followed by the specific options for each of the three configurations. The following options are used for all configurations and set the input/output files and other global simulation parameters. -t number Specifies an upper limit on the number of addresses processed (default 1 billion). -f file Specifies the input file (default stdin). -o file Specifies the output file (default stdout). -p number Specifies the intervals at which simulation progress should be printed. Useful for checking the status of the simulation (default 10 million). -s number Specifies the intervals at which intermediate results should be saved to the output file. The following options are used when the configuration is set-associative to set parameter values and ranges. All logs are to base 2. -a number Specifies the log of the minimum number of sets (default 7). -b number Specifies the log of the maximum number of sets (default 14). -l number Specifies the log of the line size of the caches (default 4). -n number Page 3 (printed 1/21/97) cheetah(1) cheetah(1) Specifies the log of the maximum degree of associativity (default 1). The following options are used when the configuration is fully-associative to set parameter values. -l number Specifies the log of the line size of the caches (default 4). -i number Specifies the cache size intervals at which the miss ratio is desired If this is less than the line size it is set to the line size (default 512 bytes). -M number Specifies the maximum cache size of interest. When the contents of the stack go beyond this limit entries are deleted from the bottom of the stack. This is primarily to avoid thrashing (default 512 Kbytes). The following options are used when the configuration is direct-mapped to set parameter values -a number Specifies the log of the minimum line size (default 7). -b number Specifies the log of the maximum line size (default 14). -c number Specifies the log of the cache size (default 16). EXAMPLE cheetah -C sa -F basic -T u -R lru -a 5 -b 14 -l 4 -n 2 -t 1000000 -f tfile -o results Determines the miss ratios of set-associative caches with number of sets ranging from 32 (2^5) to 16384 (2^14), and associativities ranging from 1 to 4 (2^2), with a line size of 16 (2^4) bytes. The input trace format is basic and is read from the file tfile. A unified instruction and data cache is simulated on the first 1 million addresses in the trace. The output is written to the file results. BUGS Currently, cheetah cannot handle traces that are longer than 2^31 addresses. With OPT replacement, the memory requirement is not bounded, and thrashing might occur with some traces. Page 4 (printed 1/21/97) cheetah(1) cheetah(1) The conversion routine for DIN traces is simple and not very efficient. If you use DIN traces often it would help to make this routine more efficient. The package has not been thoroughly debugged on 64-bit architectures such as the KSR and the DEC Alpha. AUTHORS Rabin A. Sugumar (rabin@eecs.umich.edu) and Santosh G. Abraham (sga@eecs.umich.edu), The University of Michigan. SEE ALSO pixie (1), dineroIII () Rabin A. Sugumar and Santosh G. Abraham, ``Efficient Simulation of Caches using Binomial Trees'', Technical Report CSE TR-111-91, University of Michigan, 1991. Rabin A. Sugumar and Santosh G. Abraham, ``Efficient Simulation of Caches under OPT replacement with Applications to Miss Characterization,'' in the proceedings of the 1993 ACM SIGMETRICS Conference. Page 5 (printed 1/21/97)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -