All of lore.kernel.org
 help / color / mirror / Atom feed
* fio error when using direct=1
@ 2016-05-30 15:34 Nitin Mathur
  2016-05-30 16:18 ` Tim Walker
  2016-05-30 16:36 ` Andrey Kuzmin
  0 siblings, 2 replies; 5+ messages in thread
From: Nitin Mathur @ 2016-05-30 15:34 UTC (permalink / raw)
  To: fio

I am getting the following error and need help from someone

Test environment
CentOS 6.5
Linux kernel: 3.8.8, 64 bit
FIO version: fio-2.11

I run the following command

> ./fio --name=test_workld --ioengine=libaio --direct=1 --rw=randrw --norandommap --randrepeat=0 --rwmixread=40 --rwmixwrite=60 --iodepth=256 --size=100% --numjobs=4 --bssplit=512/4:64k/96 --random_distribution=zoned:50/5:50/95 --overwrite=1 --output=test_op --filename=/dev/nvme0n1 --group_reporting --runtime=1m --time_based


This means, I'm using libaio, with a queue depth of 256, and fio is
utilizing asynchronous IO engines. But when i run this command, it
results into an error "Invalid argument". If i change the parameter
--direct=0, I'm able to issue the command successfully.

Can you help me to understand, why with direct=1, the fio command
results in an error  ?

Thanks
Nitin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-31  1:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 15:34 fio error when using direct=1 Nitin Mathur
2016-05-30 16:18 ` Tim Walker
2016-05-30 16:36 ` Andrey Kuzmin
2016-05-30 16:52   ` Sitsofe Wheeler
2016-05-31  1:34   ` Nitin Mathur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.