RE: buffer_pattern usage question

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

 



Hi,

Why the parameter buffer_pattern is absent in git HowTo?

KR

-----Original Message-----
From: fio-owner@xxxxxxxxxxxxxxx [mailto:fio-owner@xxxxxxxxxxxxxxx] On Behalf Of Jens Axboe
Sent: Friday, August 22, 2014 6:24 PM
To: Surendar Chandra; fio@xxxxxxxxxxxxxxx
Subject: Re: buffer_pattern usage question

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


--
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
--
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