linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Read errors while benchmarking
@ 2009-06-18  8:24 Markus Trippelsdorf
  2009-06-18  9:00 ` Tomasz Chmielewski
  2009-06-18  9:23 ` Yan Zheng
  0 siblings, 2 replies; 6+ messages in thread
From: Markus Trippelsdorf @ 2009-06-18  8:24 UTC (permalink / raw)
  To: linux-btrfs

I'm running the latest git kernel and git btrfs-progs. 
When I try to run some benchmarks on my btrfs partition I always get
read errors:

phenom2 ~ # iozone -I -a -s 100M -r 4k -i 0 -i 1 -i 2
        Iozone: Performance Test of File I/O
                Version $Revision: 3.321 $
                Compiled for 64 bit mode.
                Build: linux-AMD64

        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root.

        Run began: Thu Jun 18 10:18:06 2009

        O_DIRECT feature enabled
        Auto Mode
        File size set to 102400 KB
        Record Size 4 KB
        Command line used: iozone -I -a -s 100M -r 4k -i 0 -i 1 -i 2
        Output is in Kbytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 Kbytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                            random  random    bkwd   record   stride
              KB  reclen   write rewrite    read    reread    read   write    read  rewrite     read   fwrite frewrite   fread  freread
          102400       4    7540    5981
Error reading block 0 ef000000
read: Invalid argument

phenom2 /tmp # sysbench  --file-extra-flags=direct  --num-threads=16 --test=fileio --file-total-size=100M --file-test-mode=rndrd prepare             sysbench 0.4.10:  multi-threaded system evaluation benchmark

128 files, 800Kb each, 100Mb total
Creating files for the test...
phenom2 /tmp # sysbench  --file-extra-flags=direct  --num-threads=16 --test=fileio --file-total-size=100M --file-test-mode=rndrd run
sysbench 0.4.10:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 16

Extra file open flags: 16384
128 files, 800Kb each
100Mb total file size
Block size 16Kb
Number of random requests for random IO: 10000
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random read test
Threads started!
FATAL: Failed to read file! file: 3 pos: 196608 errno = 22 ()
FATAL: Failed to read file! file: 13 pos: 524288 errno = 22 ()
FATAL: Failed to read file! file: 48 pos: 180224 errno = 22 ()
FATAL: Failed to read file! file: 96 pos: 262144 errno = 22 ()
FATAL: Failed to read file! file: 26 pos: 311296 errno = 22 ()
FATAL: Failed to read file! file: 26 pos: 507904 errno = 22 ()
FATAL: Failed to read file! file: 127 pos: 589824 errno = 22 ()
FATAL: Failed to read file! file: 3 pos: 0 errno = 22 ()
FATAL: Failed to read file! file: 119 pos: 262144 errno = 22 ()
FATAL: Failed to read file! file: 9 pos: 688128 errno = 22 ()
FATAL: Failed to read file! file: 62 pos: 557056 errno = 22 ()
FATAL: Failed to read file! file: 87 pos: 655360 errno = 22 ()
FATAL: Failed to read file! file: 113 pos: 425984 errno = 22 ()
FATAL: Failed to read file! file: 20 pos: 344064 errno = 22 ()
FATAL: Failed to read file! file: 17 pos: 294912 errno = 22 ()
FATAL: Failed to read file! file: 16 pos: 0 errno = 22 ()
Done.

-- 
Markus


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

* Re: Read errors while benchmarking
  2009-06-18  8:24 Read errors while benchmarking Markus Trippelsdorf
@ 2009-06-18  9:00 ` Tomasz Chmielewski
  2009-06-18  9:03   ` Markus Trippelsdorf
  2009-06-18  9:23 ` Yan Zheng
  1 sibling, 1 reply; 6+ messages in thread
From: Tomasz Chmielewski @ 2009-06-18  9:00 UTC (permalink / raw)
  To: Markus Trippelsdorf; +Cc: linux-btrfs

Markus Trippelsdorf wrote:
> I'm running the latest git kernel and git btrfs-progs. 
> When I try to run some benchmarks on my btrfs partition I always get
> read errors:

(...)


> FATAL: Failed to read file! file: 3 pos: 196608 errno = 22 ()
> FATAL: Failed to read file! file: 13 pos: 524288 errno = 22 ()

Anything interesting in dmesg?


-- 
Tomasz Chmielewski
http://wpkg.org

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

* Re: Read errors while benchmarking
  2009-06-18  9:00 ` Tomasz Chmielewski
@ 2009-06-18  9:03   ` Markus Trippelsdorf
  0 siblings, 0 replies; 6+ messages in thread
From: Markus Trippelsdorf @ 2009-06-18  9:03 UTC (permalink / raw)
  To: Tomasz Chmielewski; +Cc: linux-btrfs

On Thu, Jun 18, 2009 at 11:00:56AM +0200, Tomasz Chmielewski wrote:
> Markus Trippelsdorf wrote:
> > I'm running the latest git kernel and git btrfs-progs. 
> > When I try to run some benchmarks on my btrfs partition I always get
> > read errors:
> 
> (...)
> 
> 
> > FATAL: Failed to read file! file: 3 pos: 196608 errno = 22 ()
> > FATAL: Failed to read file! file: 13 pos: 524288 errno = 22 ()
> 
> Anything interesting in dmesg?

No. Nothing.
-- 
Markus

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

* Re: Read errors while benchmarking
  2009-06-18  8:24 Read errors while benchmarking Markus Trippelsdorf
  2009-06-18  9:00 ` Tomasz Chmielewski
@ 2009-06-18  9:23 ` Yan Zheng
  2009-06-24 16:53   ` Roy Sigurd Karlsbakk
  1 sibling, 1 reply; 6+ messages in thread
From: Yan Zheng @ 2009-06-18  9:23 UTC (permalink / raw)
  To: Markus Trippelsdorf; +Cc: linux-btrfs

2009/6/18 Markus Trippelsdorf <markus@trippelsdorf.de>:
> I'm running the latest git kernel and git btrfs-progs.
> When I try to run some benchmarks on my btrfs partition I always get
> read errors:
>
> phenom2 ~ # iozone -I -a -s 100M -r 4k -i 0 -i 1 -i 2
> =A0 =A0 =A0 =A0Iozone: Performance Test of File I/O
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Version $Revision: 3.321 $
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Compiled for 64 bit mode.
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Build: linux-AMD64
>
> =A0 =A0 =A0 =A0Contributors:William Norcott, Don Capps, Isom Crawford=
, Kirby Collins
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Al Slater, Scott Rhine, Mike =
Wisner, Ken Goss
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Steve Landherr, Brad Smith, M=
ark Kelly, Dr. Alain CYR,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Randy Dunlap, Mark Montague, =
Dan Million, Gavin Brebner,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Jean-Marc Zucconi, Jeff Blomb=
erg, Benny Halevy,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Erik Habbinga, Kris Strecker,=
 Walter Wong, Joshua Root.
>
> =A0 =A0 =A0 =A0Run began: Thu Jun 18 10:18:06 2009
>
> =A0 =A0 =A0 =A0O_DIRECT feature enabled
> =A0 =A0 =A0 =A0Auto Mode
> =A0 =A0 =A0 =A0File size set to 102400 KB
> =A0 =A0 =A0 =A0Record Size 4 KB
> =A0 =A0 =A0 =A0Command line used: iozone -I -a -s 100M -r 4k -i 0 -i =
1 -i 2
> =A0 =A0 =A0 =A0Output is in Kbytes/sec
> =A0 =A0 =A0 =A0Time Resolution =3D 0.000001 seconds.
> =A0 =A0 =A0 =A0Processor cache size set to 1024 Kbytes.
> =A0 =A0 =A0 =A0Processor cache line size set to 32 bytes.
> =A0 =A0 =A0 =A0File stride size set to 17 * record size.
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0random =A0random =A0 =A0=
bkwd =A0 record =A0 stride
> =A0 =A0 =A0 =A0 =A0 =A0 =A0KB =A0reclen =A0 write rewrite =A0 =A0read=
 =A0 =A0reread =A0 =A0read =A0 write =A0 =A0read =A0rewrite =A0 =A0 rea=
d =A0 fwrite frewrite =A0 fread =A0freread
> =A0 =A0 =A0 =A0 =A0102400 =A0 =A0 =A0 4 =A0 =A07540 =A0 =A05981
> Error reading block 0 ef000000
> read: Invalid argument
>
> phenom2 /tmp # sysbench =A0--file-extra-flags=3Ddirect =A0--num-threa=
ds=3D16 --test=3Dfileio --file-total-size=3D100M --file-test-mode=3Drnd=
rd prepare =A0 =A0 =A0 =A0 =A0 =A0 sysbench 0.4.10: =A0multi-threaded s=
ystem evaluation benchmark
>
> 128 files, 800Kb each, 100Mb total
> Creating files for the test...
> phenom2 /tmp # sysbench =A0--file-extra-flags=3Ddirect =A0--num-threa=
ds=3D16 --test=3Dfileio --file-total-size=3D100M --file-test-mode=3Drnd=
rd run
> sysbench 0.4.10: =A0multi-threaded system evaluation benchmark
>
> Running the test with following options:
> Number of threads: 16
>
> Extra file open flags: 16384
> 128 files, 800Kb each
> 100Mb total file size
> Block size 16Kb
> Number of random requests for random IO: 10000
> Read/Write ratio for combined random IO test: 1.50
> Periodic FSYNC enabled, calling fsync() each 100 requests.
> Calling fsync() at the end of test, Enabled.
> Using synchronous I/O mode
> Doing random read test
> Threads started!
> FATAL: Failed to read file! file: 3 pos: 196608 errno =3D 22 ()
> FATAL: Failed to read file! file: 13 pos: 524288 errno =3D 22 ()
> FATAL: Failed to read file! file: 48 pos: 180224 errno =3D 22 ()
> FATAL: Failed to read file! file: 96 pos: 262144 errno =3D 22 ()
> FATAL: Failed to read file! file: 26 pos: 311296 errno =3D 22 ()
> FATAL: Failed to read file! file: 26 pos: 507904 errno =3D 22 ()
> FATAL: Failed to read file! file: 127 pos: 589824 errno =3D 22 ()
> FATAL: Failed to read file! file: 3 pos: 0 errno =3D 22 ()
> FATAL: Failed to read file! file: 119 pos: 262144 errno =3D 22 ()
> FATAL: Failed to read file! file: 9 pos: 688128 errno =3D 22 ()
> FATAL: Failed to read file! file: 62 pos: 557056 errno =3D 22 ()
> FATAL: Failed to read file! file: 87 pos: 655360 errno =3D 22 ()
> FATAL: Failed to read file! file: 113 pos: 425984 errno =3D 22 ()
> FATAL: Failed to read file! file: 20 pos: 344064 errno =3D 22 ()
> FATAL: Failed to read file! file: 17 pos: 294912 errno =3D 22 ()
> FATAL: Failed to read file! file: 16 pos: 0 errno =3D 22 ()
> Done.
>

Currently, btrfs doesn't support using direct I/O for read.

Yan
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Read errors while benchmarking
  2009-06-18  9:23 ` Yan Zheng
@ 2009-06-24 16:53   ` Roy Sigurd Karlsbakk
  2009-06-25  1:35     ` jim owens
  0 siblings, 1 reply; 6+ messages in thread
From: Roy Sigurd Karlsbakk @ 2009-06-24 16:53 UTC (permalink / raw)
  To: linux-btrfs

> Currently, btrfs doesn't support using direct I/O for read.


Is anyone working on this? It /is/ a rather basic feature, and testing =
=20
with iozone would be nice.

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
roy@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres =20
intelligibelt. Det er et element=E6rt imperativ for alle pedagoger =E5 =
=20
unng=E5 eksessiv anvendelse av idiomer med fremmed opprinnelse. I de =20
fleste tilfeller eksisterer adekvate og relevante synonymer p=E5 norsk.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Read errors while benchmarking
  2009-06-24 16:53   ` Roy Sigurd Karlsbakk
@ 2009-06-25  1:35     ` jim owens
  0 siblings, 0 replies; 6+ messages in thread
From: jim owens @ 2009-06-25  1:35 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: linux-btrfs

Roy Sigurd Karlsbakk wrote:
>> Currently, btrfs doesn't support using direct I/O for read.
> 
> Is anyone working on this? It /is/ a rather basic feature, and testing 
> with iozone would be nice.

Yes, I am working on it.  I will be away for the next 10 days
but hope to have something for read tests soon after.

jim

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

end of thread, other threads:[~2009-06-25  1:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18  8:24 Read errors while benchmarking Markus Trippelsdorf
2009-06-18  9:00 ` Tomasz Chmielewski
2009-06-18  9:03   ` Markus Trippelsdorf
2009-06-18  9:23 ` Yan Zheng
2009-06-24 16:53   ` Roy Sigurd Karlsbakk
2009-06-25  1:35     ` jim owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).