From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.fusionio.com ([66.114.96.30]:48525 "EHLO mx1.fusionio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546Ab2FHSo1 (ORCPT ); Fri, 8 Jun 2012 14:44:27 -0400 Message-ID: <4FD24807.8080700@fusionio.com> Date: Fri, 8 Jun 2012 20:44:23 +0200 From: Jens Axboe MIME-Version: 1.0 Subject: Re: Error running Fio SSD example References: <4FC8942A.6090805@thomas-krenn.com> <4FD1F462.4070404@fusionio.com> <4FD23443.6020705@thomas-krenn.com> In-Reply-To: <4FD23443.6020705@thomas-krenn.com> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: fio-owner@vger.kernel.org List-Id: fio@vger.kernel.org To: =?ISO-8859-15?Q?Georg_Sch=F6nberger?= Cc: "fio@vger.kernel.org" On 2012-06-08 19:20, Georg Sch=EF=BF=BDnberger wrote: > Am 2012-06-08 14:47, schrieb Jens Axboe: >> On 06/01/2012 12:06 PM, Georg Sch=EF=BF=BDnberger wrote: >>> Hello again, >>> >>> I am having some troubles with running the fio example "ssd-test". I >>> changed the global section to decrease the size: >>> [global] >>> bs=3D4k >>> ioengine=3Dlibaio >>> iodepth=3D4 >>> size=3D100M >>> direct=3D1 >>> runtime=3D60 >>> filename=3Dssd.test.file >>> >>> If I am running Fio I get the following error: >>> ---------------------------------------- >>> fio.git/examples$ fio ssd-test >>> seq-read: (g=3D0): rw=3Dread, bs=3D4K-4K/4K-4K, ioengine=3Dlibaio, iode= pth=3D4 >>> rand-read: (g=3D1): rw=3Drandread, bs=3D4K-4K/4K-4K, ioengine=3Dlibaio,= iodepth=3D4 >>> seq-write: (g=3D2): rw=3Dwrite, bs=3D4K-4K/4K-4K, ioengine=3Dlibaio, io= depth=3D4 >>> rand-write: (g=3D3): rw=3Drandwrite, bs=3D4K-4K/4K-4K, ioengine=3Dlibai= o, iodepth=3D4 >>> fio-2.0.8 >>> Starting 4 processes >>> fio: pid=3D17997, err=3D22/file:filesetup.c:529, func=3Dopen(ssd.test.f= ile), >>> error=3DInvalid argument >>> fio: pid=3D17998, err=3D22/file:filesetup.c:529, func=3Dopen(ssd.test.f= ile), >>> error=3DInvalid argument >>> fio: pid=3D17999, err=3D22/file:filesetup.c:529, func=3Dopen(ssd.test.f= ile), >>> error=3DInvalid argument >>> fio: pid=3D18000, err=3D22/file:filesetup.c:529, func=3Dopen(ssd.test.f= ile), >>> error=3DInvalid argument >> Looks like the file system hosting the test file does not support >> O_DIRECT. >> > The file system is ext4. > Kernel Version 3.2.0-24-generic And you aren't running the job file in some other location? ext4 would definitely work. Please do: # strace -o strace.out -f fio ssd-test and send me strace.out (gzip'ed). Also include a pwd from where you are running it, and output of the 'mount' command. --=20 Jens Axboe