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

Re: Question about IO workload via NBD

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.

Any suggestion is appreciated.
Thank you!
Best wishes,

On Mon, Sep 2, 2019 at 2:48 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> On Fri, Aug 30, 2019 at 05:23:44PM -0700, Taylor Yang wrote:
> > Hi,
> >
> > I worked on driving IO workload using FIO to a device via NBD. There
> > seems to be some delay on the IO being shown on the original device
> > after the FIO workload completed on the NBD. Is there a delay on how
> > long the IO would be acknowledged on the original device? Is there any
> > logging information I could get to troubleshoot this issue?
> >
> > Thank you so much for your help in advance.
> What's the fio command line / configuration file?  Are you
> using the NBD engine or a filesystem?
> Rich.
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-top is 'top' for virtual machines.  Tiny program with many
> powerful monitoring features, net stats, disk stats, logging, etc.
> http://people.redhat.com/~rjones/virt-top

Reply to: