From: "Alan D. Brunelle" <Alan.Brunelle@hp.com>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC][PATCH 0/3] Skip I/O merges when disabled
Date: Fri, 25 Apr 2008 08:17:00 -0400 [thread overview]
Message-ID: <4811CBBC.4000206@hp.com> (raw)
In-Reply-To: <4811BDBB.8010604@hp.com>
Here are the results, the last kernel (2.6.25-nomerges.nofrontmerges)
had 10 runs of 2 minutes each (as opposed to 25 runs of 10 minutes each
for the other kernels). I'm doing a full run of that kernel w/
25x10minutes, but wanted to get this out for feedback first:
Increasing the merge attempts decreases the I/Os per second by less than
0.5%.
Kernel NM I/Os per sec
----------------------------- -- ------------
2.6.25 472.39
2.6.25-nomerges 0 472.54
2.6.25-nomerges.onehit 0 472.10
2.6.25-nomerges.nofrontmerges 0 470.38
2.6.25-nomerges 1 472.58
2.6.25-nomerges.onehit 1 472.02
2.6.25-nomerges.nofrontmerges 1 470.65
The savings in cycles for these random loads compared to the total cycle
costs goes from 4.4% up to 4.8% as we add in more merge attempts (as
compared to almost 5.8% for the stock 2.6.25 kernel).
Kernel NM TAG Total I/O Code
----------------------------- -- ---- -------- --------
2.6.25 CPU: 5.7794% 7.5440%
2.6.25-nomerges 0 CPU: 5.4957% 7.1987%
2.6.25-nomerges.onehit 0 CPU: 5.7822% 7.5034%
2.6.25-nomerges.nofrontmerges 0 CPU: 5.2041% 6.8534%
2.6.25-nomerges 1 CPU: 4.4031% 5.7710%
2.6.25-nomerges.onehit 1 CPU: 4.7517% 6.1702%
2.6.25-nomerges.nofrontmerges 1 CPU: 4.8372% 6.3642%
Kernel NM TAG Total I/O Code
----------------------------- -- ---- -------- --------
2.6.25 DCM: 7.9861% 10.2456%
2.6.25-nomerges 0 DCM: 8.2134% 10.5145%
2.6.25-nomerges.onehit 0 DCM: 7.5559% 9.7389%
2.6.25-nomerges.nofrontmerges 0 DCM: 7.6436% 9.8934%
2.6.25-nomerges 1 DCM: 6.6705% 8.5247%
2.6.25-nomerges.onehit 1 DCM: 6.3432% 8.1886%
2.6.25-nomerges.nofrontmerges 1 DCM: 7.2244% 9.3407%
Given that the tunable is meant to be turned on when the admin /knows/
the load is going to be random, it seems to me that adding in the other
merge checks (one-hit, back-merge) are going to be wasted the vast
majority of the time.
Thanks,
Alan
next prev parent reply other threads:[~2008-04-25 12:17 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 19:08 [RFC][PATCH 0/3] Skip I/O merges when disabled Alan D. Brunelle
2008-04-23 19:12 ` [RFC][PATCH 1/3] Add flag and sysfs interfaces Alan D. Brunelle
2008-04-23 19:14 ` [RFC][PATCH 2/3] Have __make_request skip merges when disabled Alan D. Brunelle
2008-04-23 19:15 ` [RFC][PATCH 3/3] Do not use rqhash when merges disabled Alan D. Brunelle
2008-04-24 0:37 ` Aaron Carroll
2008-04-24 0:59 ` Alan D. Brunelle
2008-04-24 2:07 ` Aaron Carroll
2008-04-24 7:09 ` [RFC][PATCH 0/3] Skip I/O merges when disabled Jens Axboe
2008-04-24 12:09 ` Alan D. Brunelle
2008-04-25 8:38 ` Jens Axboe
2008-04-25 11:17 ` Alan D. Brunelle
2008-04-25 11:25 ` Jens Axboe
2008-04-25 12:06 ` Aaron Carroll
2008-04-25 12:14 ` Jens Axboe
2008-04-25 12:17 ` Alan D. Brunelle [this message]
2008-04-28 16:36 ` Alan D. Brunelle
2008-04-29 7:37 ` Jens Axboe
2008-04-24 20:38 ` Alan D. Brunelle
2008-04-24 13:29 ` Andi Kleen
2008-04-24 13:59 ` Jens Axboe
2008-04-24 14:13 ` Alan D. Brunelle
2008-04-24 15:05 ` Jens Axboe
2008-04-24 22:04 ` Carl Henrik Lunde
2008-04-25 7:13 ` Andi Kleen
2008-04-24 14:15 ` Andi Kleen
2008-04-24 15:04 ` Jens Axboe
2008-04-24 15:53 ` David Collier-Brown
2008-04-24 16:29 ` Alan D. Brunelle
2008-04-24 13:31 ` Alan D. Brunelle
2008-04-24 13:43 ` Alan D. Brunelle
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=4811CBBC.4000206@hp.com \
--to=alan.brunelle@hp.com \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
/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