From zh-lian at 163.com Mon May 14 10:00:41 2012 From: zh-lian at 163.com (=?GBK?B?wO7V17ui?=) Date: Mon, 14 May 2012 22:00:41 +0800 (CST) Subject: [Disksim-users] How do I use trace file:WebSearch3.spc Message-ID: <6934e516.22330.1374ba6a422.Coremail.zh-lian@163.com> Hi: I downloaded the trace file WebSearch3.spc from the website http://traces.cs.umass.edu/index.php/Power/Power, and I use it as input of disksim, but it comes the following problem: Wrong number of arguments for I/O trace event type line: 0,614384,16384,R,0.013989 *** assertion failed: in iotrace_ascii_get_ioreq_event() (disksim_iotrace.c:596): 0: Aborted I looked at disksim support the trace file format is not in this format, the WebSearch3.spc's trace format like : 1,8700496,16384,R,0.123685 1,25290720,32768,R,0.135333 1,8700528,32768,R,0.137743 0,20993008,8192,R,0.138051 0,33690672,32768,R,0.138901 1,8602576,8192,R,0.140519 1,13203184,8192,R,0.145195 How do I use this trace file? Zhaohu Li -------------- next part -------------- An HTML attachment was scrubbed... URL: From mingbang24 at gmail.com Mon May 14 22:58:53 2012 From: mingbang24 at gmail.com (Mingbang) Date: Tue, 15 May 2012 10:58:53 +0800 Subject: [Disksim-users] How do I use trace file:WebSearch3.spc Message-ID: hello? of course you can no use the raw trace, as you said the format is totally different. the format should be : 21698.968000 0 835 4 0 21843.149000 0 59031 1 1 21875.917000 0 59031 1 0 the first column is arrival time ,second is device no?3rd is lba? 4th is block size , 5th is operation flag(0 is write ,1 is read ) for WebSearch3.spc's trace: the first column is device no , because flashsim can only support single device , you should make all the device to be 0; 2nd is lba; 3rd is byte number whick should be divided by 512 to be a block size; 4th is operation flag; 5th is arrival time, because the arrival time interval is too short , so it will appear the saturation wrong? and you should amplify the arrival time interval? if you want to use WebSearch3.spc's trace, you should change the format. And I think awk is good tool for this . Hope this can help you. by mingbang24 -- Wang Mingbang Department of Electronic and Information Engineering Beihang University Phone Number: +86-15910556701 Beijing 100191, P.R. China -------------- next part -------------- An HTML attachment was scrubbed... URL: