From: Andrea Arcangeli <andrea@suse.de>
To: Andi Kleen <ak@suse.de>
Cc: "Stephen C. Tweedie" <sct@redhat.com>,
Linus Torvalds <torvalds@transmeta.com>,
linux-kernel@vger.kernel.org
Subject: Re: 2 times faster rawio and several fixes (2.4.3aa3)
Date: Fri, 6 Apr 2001 20:22:05 +0200 [thread overview]
Message-ID: <20010406202205.N28118@athlon.random> (raw)
In-Reply-To: <20010406183440.B28118@athlon.random> <20010406190701.H28118@athlon.random> <20010406190232.A20258@gruyere.muc.suse.de> <20010406193621.M28118@athlon.random>
In-Reply-To: <20010406193621.M28118@athlon.random>; from andrea@suse.de on Fri, Apr 06, 2001 at 07:36:21PM +0200
On Fri, Apr 06, 2001 at 07:36:21PM +0200, Andrea Arcangeli wrote:
> 2/4Mbytes naturally aligned area). so probably I will take the vmalloc way
As expected vmalloc additional 2 tlbs aren't visible in the numbers (that
are mostly dominated by I/O anyways), I think it's the best solution to avoid
the order 2 multipage:
alpha:/home/andrea # time ./rawio-bench
Opening /dev/raw1
Allocating 50MB of memory
Reading from /dev/raw1
Writing data to /dev/raw1
real 0m5.241s
user 0m0.002s
sys 0m1.119s
alpha:/home/andrea # time ./rawio-bench
Opening /dev/raw1
Allocating 50MB of memory
Reading from /dev/raw1
Writing data to /dev/raw1
real 0m5.176s
user 0m0.003s
sys 0m1.128s
alpha:/home/andrea # time ./rawio-bench
Opening /dev/raw1
Allocating 50MB of memory
Reading from /dev/raw1
Writing data to /dev/raw1
real 0m5.196s
user 0m0.002s
sys 0m1.132s
alpha:/home/andrea # time ./rawio-bench
Opening /dev/raw1
Allocating 50MB of memory
Reading from /dev/raw1
Writing data to /dev/raw1
real 0m5.477s
user 0m0.004s
sys 0m1.146s
alpha:/home/andrea # time ./rawio-bench
Opening /dev/raw1
Allocating 50MB of memory
Reading from /dev/raw1
Writing data to /dev/raw1
real 0m5.217s
user 0m0.004s
sys 0m1.149s
alpha:/home/andrea #
Tomorrow maybe I will try to speed it up furhter using the desing described in
the first email.
The s/kmem_cache_alloc/vmalloc/ change is here for now and it is rock solid
for me (regression testing is still happy):
ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.3/rawio-2
I think it's ok for inclusion.
Andrea
prev parent reply other threads:[~2001-04-06 18:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-06 16:34 2 times faster rawio and several fixes (2.4.3aa3) Andrea Arcangeli
2001-04-06 17:07 ` Andrea Arcangeli
2001-04-06 17:02 ` Andi Kleen
2001-04-06 17:36 ` Andrea Arcangeli
2001-04-06 18:22 ` Andrea Arcangeli [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=20010406202205.N28118@athlon.random \
--to=andrea@suse.de \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sct@redhat.com \
--cc=torvalds@transmeta.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.