Didn't know about btreplay. But I just read its man page. Looks like btreplay will only replay the workload, but does not provide any analysis. It can replay workload on a different device. In fio, there's a parameter called read_iolog, where you can specify blktrace's binary output files. Fio will replay this workload and provide analysis. In fio v1.50, there's an additional parameter called replay_redirect. You can use this to specify a different device. Note that this is not documented in fio's man page, but it is documented in the HOWTO file. I found this option by search archives of this mailing list. --- Hsiao "Shao" Su 650 287 2545 (W) -----Original Message----- From: Alireza Haghdoost [mailto:haghdoost@xxxxxxxxx] Sent: Thursday, February 10, 2011 9:27 PM To: Hsiao Su Cc: linux-btrace@xxxxxxxxxxxxxxx Subject: Re: replaying blktrace using fio on a different device Why you do not use btreply ? it has a mapping device option. Would you please let me know how you reply a trace using fio ? Alireza Haghdoost Graduate Student Department of Computer Engineering Sharif University of Technology http://ce.sharif.edu/~haghdoost Phone: (98) (21) 6616 6689 On Fri, Feb 11, 2011 at 02:57, Hsiao Su <Hsiao.Su@xxxxxxxxxxxxx> wrote: > > Does anyone know if this is possible? I'd like to record io workload using blktrace for one device, and then use fio to replay it on a different device that's on a different machine. > > My brief experiment seems to say no. If I record it using /dev/sda, then when replaying it, /dev/sda must be there. > > Basically, I'm trying to see how two different io subsystems measure up, using a real application's workload. > > --- > Hsiao "Shao" Su > 650 287 2545 (W) > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrace" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html > ÿô.nÇ·®+%˱é¥wÿº{.nÇ·¥{±ý{ayºÊÚë¢f£¢·hïÿê_è(éÝj"ú§ÿÿ¾«þG«é¸?¨è&£ø