Re: Save verify_state continuously

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

 



If its possible to get this feature in a test/private build, I can try
it out. It would be very helpful if I can continue using FIO in our
framework.



On Thu, Nov 15, 2018 at 10:37 AM Mousumi Mullick
<mousumi.mullick@xxxxxxxxx> wrote:
>
> I did think about trigger file but I have some constraints with our
> infrastructure that makes it difficult to create a trigger file in the
> VMs before resetting the physical hosts. Also, I thought of having NFS
> mounts on all VMs and using that location for trigger file but again
> the infrastructure constraints are not helpful in this regards too.
> Given all the constraints and the solutions that I have thought of
> (mostly around trigger file) I am not able to come up with a solution.
> This may not be an issue if there is a way in fio to checkpoint the
> state file periodically from the start of a test.
>
>
> On Thu, Nov 15, 2018 at 3:31 AM Sitsofe Wheeler <sitsofe@xxxxxxxxx> wrote:
> >
> > Hi,
> >
> > On Thu, 15 Nov 2018 at 06:57, Mousumi Mullick <mousumi.mullick@xxxxxxxxx> wrote:
> > >
> > > I am planning to run fio on a dozens of virtual machines across
> > > multiple physical hosts and at some point will power off a physical
> > > host. As fio workload is running I will be triggering random VM
> > > migrations across a set of physical hosts. Since powering off a
> > > physical host will abruptly power off all VMs running on that host,
> > > none of the fio processes in them will have a verify_state file saved.
> > >
> > > Given this test, I was wondering if there is a way for fio to
> > > continuously save verify_state to a file so that I can use it
> > > unconditionally on a subsequent power on to verify the data written so
> > > far?
> >
> > Why not create a trigger file (see
> > https://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-trigger-file
> > , https://fio.readthedocs.io/en/latest/fio_doc.html#verification-and-triggers
> > ) to let fio know it needs to do a state save (it will also exit
> > itself)? You may even be able to arrange for fio to send a command
> > that powers the host off if you're using the client/server model with
> > the appropriate trigger type. Further, don't you need to know fio has
> > finished doing the state save correctly (note the that the trigger
> > file will be deleted when fio is done with it)? If you power off a VM
> > halfway through fio saving its state you risk generating/getting an
> > incomplete/corrupt state file...
> >
> > --
> > Sitsofe | http://sucs.org/~sits/
>
>
>
> --
> Thanks,
> Mousumi Mullick



-- 
Thanks,
Mousumi Mullick



[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