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

Re: Question about IO workload via NBD



On Tue, Sep 03, 2019 at 02:47:52PM -0700, Taylor Yang wrote:
> Hi Richard,
> 
> The command I use is like `fio --name=xxx --rw=randread --output=xxx
> --direct=1 --ioengine=libaio --bs=16k --iodepth=4 --filename=/dev/nbd0
> --size=1024Mb` and I setup both nbd client and nbd server on two
> different hosts. The FIO job is executed on the nbd client side after
> the connection between the nbd client and server being setup. I think
> it is because nbd server uses the buffer cache but I also tried to
> specify the `sync` option in the config file and it still behaves the
> same way.

Did you enable the flush and/or fua options?

-- 
To the thief who stole my anti-depressants: I hope you're happy

  -- seen somewhere on the Internet on a photo of a billboard


Reply to: