lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 1 Jan 2015 16:14:21 +0100
From:	Sedat Dilek <sedat.dilek@...il.com>
To:	Ming Lei <tom.leiming@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH v3 0/5] block: loop: convert to blk-mq

On Thu, Jan 1, 2015 at 1:29 AM, Ming Lei <tom.leiming@...il.com> wrote:
[...]
>> How did you test with fio (your fio lines)?
>
> Your fio command line is basically same with my fio config, and you
> can attach one image to loop via:  losetup -f file_name. Looks your
> randread result is good, and I can observe ~80 IOPS vs. ~200 IOPS
> on my slow HDD. in the randread test too.
>
> #################fio config##########################
> [global]
> direct=1
> size=128G
> bsrange=4k-4k
> timeout=30
> numjobs=1
> ioengine=libaio
> iodepth=64
> filename=/dev/loop0
> group_reporting=1
>
> [f]
> rw=${RW}
>

Thanks for your fio config-file.

When a 1GiB is created on my ext4-system, the IOPS raised up from 515 to 981.

# egrep 'iops=|Laying out IO file' fio-test*next20141231-1-loopmq-small*
fio-test1-3.19.0-rc2-next20141231-1-loopmq-small.txt:  read :
io=1024.0MB, bw=2063.4KB/s, iops=515 , runt=508182msec
fio-test2-3.19.0-rc2-next20141231-1-loopmq-small.txt:randread: Laying
out IO file(s) (1 file(s) / 1024MB)
fio-test2-3.19.0-rc2-next20141231-1-loopmq-small.txt:  read :
io=1024.0MB, bw=3924.3KB/s, iops=981 , runt=267206msec

I made some more testing with next-20141231 plus block-loop-mq-v3 and
block.git#for-linus on top (see attached full patch).

This increases IOPS from 981 up to 2103.

# egrep 'iops=|Laying out IO file'
fio-test2-3.19.0-rc2-next20141231-1-loopmq-small.txt
fio-test2-3.19.0-rc2-next20141231-3-loopmq-small.txt
fio-test2-3.19.0-rc2-next20141231-1-loopmq-small.txt:randread: Laying
out IO file(s) (1 file(s) / 1024MB)
fio-test2-3.19.0-rc2-next20141231-1-loopmq-small.txt:  read :
io=1024.0MB, bw=3924.3KB/s, iops=981 , runt=267206msec
fio-test2-3.19.0-rc2-next20141231-3-loopmq-small.txt:randread: Laying
out IO file(s) (1 file(s) / 1024MB)
fio-test2-3.19.0-rc2-next20141231-3-loopmq-small.txt:  read :
io=1024.0MB, bw=8414.9KB/s, iops=2103 , runt=124611msec

If you like you can have a closer look at the fio benchmark results, Thanks!

I also have added two patches which made it easy for me to cope with
the merge conflicts within block/loop stuff.

Have fun!

- Sedat -

View attachment "dmesg_3.19.0-rc2-next20141231-3-loopmq-small.txt" of type "text/plain" (54564 bytes)

View attachment "3.19.0-rc2-next20141231-3-loopmq-small.patch" of type "text/x-diff" (31078 bytes)

Download attachment "config-3.19.0-rc2-next20141231-3-loopmq-small" of type "application/octet-stream" (124362 bytes)

View attachment "fio-test2-3.19.0-rc2-next20141231-1-loopmq-small.txt" of type "text/plain" (1872 bytes)

View attachment "fio-test2-3.19.0-rc2-next20141231-3-loopmq-small.txt" of type "text/plain" (1869 bytes)

View attachment "fio-test1-3.19.0-rc2-next20141231-1-loopmq-small.txt" of type "text/plain" (1813 bytes)

View attachment "0001-Revert-blk-mq-export-blk_mq_freeze_queue-and-blk_mq_.patch" of type "text/x-diff" (2481 bytes)

View attachment "0002-blk-mq-Export-blk_mq_freeze_queue-function.patch" of type "text/x-diff" (1580 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ