Re: buffer_pattern usage question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014-08-22 10:24, Jens Axboe wrote:
On 2014-08-21 20:01, Surendar Chandra wrote:
Could you please help me with this setup

    filename=fio-data
    size=4k
    rw=write
    buffer_pattern="HELLO"

The output still continues to be pseudo random. I even tried
buffer_pattern=0xDEADBEEF and other params.

It's not going to take a string, it needs to be a decimal of hexidecimal
number. I added some code to error out if it fails parsing this now.

buffer_pattern=0xDEADBEEF should work, and does for me:

axboe@lenny:/home/axboe/git/fio $ hexdump fio-data
0000000 beef dead beef dead beef dead beef dead
*
0001000

I added the string support now as well, it was pretty trivial.


--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux