From: Jens Axboe <axboe@fb.com>
To: <sedat.dilek@gmail.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org>,
<linux-block@vger.kernel.org>, <jack@suse.cz>,
<dchinner@redhat.com>
Subject: Re: [PATCHSET v4 0/8] Make background writeback not suck
Date: Tue, 26 Apr 2016 09:07:32 -0600 [thread overview]
Message-ID: <571F8434.9020804@fb.com> (raw)
In-Reply-To: <CA+icZUXG0Aqv91i3nMVosq7hLHFdaQjo0UZa=NxrHOsZ=UfaUA@mail.gmail.com>
On 04/26/2016 01:04 AM, Sedat Dilek wrote:
> Hi Jens,
>
> I am testing current linux-block.git#wb-buf-throttle on top of Linux
> v4.6-rc5 here on my Ubuntu/precise AMD64.
> ( Was installed as a WUBI "test" system - "testing" since April 2012 :-) .)
Great! Thanks for testing.
> Here are some numbers:
>
> # df -T | egrep 'sda|loop'
> /dev/sda2 fuseblk 465546236 210981868 254564368 46% /host
> /dev/loop0 ext4 17753424 15586612 1241936 93% /
>
> # egrep 'sda|loop|ext4' /etc/fstab
> /host/ubuntu/disks/root.disk / ext4
> loop,errors=remount-ro 0 1
> /host/ubuntu/disks/swap.disk none swap loop,sw
> 0 0
What kind of device is sda?
> ( Not sure why I cannot do a find on /sys/block/ .)
Probably the symlinks that confuse it.
> # find /sys/devices/ -name '*wb_stat*' | egrep 'loop0|sda'
> /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/wb_stats
> /sys/devices/virtual/block/loop0/queue/wb_stats
>
> # find /sys/devices/ -name '*wb_lat*' | egrep 'loop0|sda'
> /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/wb_lat_usec
> /sys/devices/virtual/block/loop0/queue/wb_lat_usec
>
> # cat /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/wb_stats
> /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/wb_lat_usec
> background=8, normal=16, max=31, inflight=0, wait=0, bdp_wait=0
> 75000
>
> # cat /sys/devices/virtual/block/loop0/queue/wb_stats
> /sys/devices/virtual/block/loop0/queue/wb_lat_usec
> background=16, normal=32, max=64, inflight=0, wait=0, bdp_wait=0
> 75000
>
> Questions...
>
> Planning a v5?
Yes, I'll post a v5 today or something like that. Functionally not a
huge amount of changes, but it does have a few important bug fixes that
make it perform better. The biggest part is making it generic, so it can
be plugged into NFS as well, for instance.
> Will this go to Linux v4.7 or later?
> How should someone test?
Probably a bit too tight for 4.7, but one can always hope. 4.8 is
probably a more realistic target.
Testing is really having some readers while you have writes going on.
One example is doing something that reads while you have a dd writing to
your device. Or interactive feel while installing a lot of packages,
which tends to generate a ton of writes as well.
If you are so inclined, I'd encourage you to test the v5 I'll post later
today. I've run that through the paces on various devices.
> Documentation...
>
> Can you add some more docs about getting infos (see above cat#s etc.)
> below Documentation/ directory?
> ( Talking about the stuff you have embedded in the commit-messages. )
Yeah, I'll do that, it is a bit light right now. It'll be in the next
release.
--
Jens Axboe
prev parent reply other threads:[~2016-04-26 15:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-18 4:24 [PATCHSET v4 0/8] Make background writeback not suck Jens Axboe
2016-04-18 4:24 ` [PATCH 1/8] block: add WRITE_BG Jens Axboe
2016-04-18 4:24 ` [PATCH 2/8] writeback: add wbc_to_write_cmd() Jens Axboe
2016-04-18 15:12 ` Jan Kara
2016-04-18 20:18 ` Jens Axboe
2016-04-18 4:24 ` [PATCH 3/8] writeback: use WRITE_BG for kupdate and background writeback Jens Axboe
2016-04-18 4:24 ` [PATCH 4/8] writeback: track if we're sleeping on progress in balance_dirty_pages() Jens Axboe
2016-04-18 4:24 ` [PATCH 5/8] writeback: increment page wait count when waiting Jens Axboe
2016-04-18 4:24 ` [PATCH 6/8] block: add code to track actual device queue depth Jens Axboe
2016-04-18 4:24 ` [PATCH 7/8] block: add scalable completion tracking of requests Jens Axboe
2016-04-18 4:24 ` [PATCH 8/8] writeback: throttle buffered writeback Jens Axboe
2016-04-23 8:21 ` xiakaixu
2016-04-23 21:37 ` Jens Axboe
2016-04-25 11:41 ` xiakaixu
2016-04-25 14:37 ` Jens Axboe
2016-04-26 7:04 ` [PATCHSET v4 0/8] Make background writeback not suck Sedat Dilek
2016-04-26 15:07 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=571F8434.9020804@fb.com \
--to=axboe@fb.com \
--cc=dchinner@redhat.com \
--cc=jack@suse.cz \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sedat.dilek@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).