mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: reiserfs-list@namesys.com
Cc: linux-kernel@vger.kernel.org
Subject: per-char IO tests
Date: Sun, 9 Dec 2001 16:14:30 +0100	[thread overview]
Message-ID: <20011209151431.2172397E@lyta.coker.com.au> (raw)

I have released a new experimental version of Bonnie++ that includes a 
program to test per-char IO using putc()/getc(), putc()/getc() when linked in 
a non-threaded way (significantly improves performance) 
putc_unlocked()/getc_unlocked(), and write()/read().

Here's the results of testing my Thinkpad T20 with P3-650:

Version  1.93          write   read putcNT getcNT   putc   getc  putcU  getcU
lyta                     142    651   8189   9348   1763   1813  22174  44887
lyta,142,651,8189,9348,1763,1813,22174,44887

Here's the results of testing my Athlon 800 play machine:

Version  1.93          write   read putcNT getcNT   putc   getc  putcU  getcU
test                     146    607   7356   7280   1834   1971  41995  59100
test,146,607,7356,7280,1834,1971,41995,59100

Both machines run ReiserFS.  A quick test indicates that using Ext2 instead 
of ReiserFS triples the  performance of write(fd, buf, 1), but this is 
something I already knew (and had mentioned before on the ReiserFS list).

Also based on previous tests I expect Solaris to outperform Linux with glibc 
on putcNT, getcNT, putc, and getc.  The regular performance of putc() on 
Solaris comes close to putc_unlocked() on Linux with glibc.




I'd like to thank Andrew Morton for forwarding messages from L-K that 
provoked me to write this new test program.

I was tempted to subscribe to L-K to join this discussion, but it seems that 
Linus is saying everything that needs to be said anyway so there's no point. 
;)

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

             reply	other threads:[~2001-12-09 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-09 15:14 Russell Coker [this message]
2001-12-09 15:59 ` Chris Mason

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=20011209151431.2172397E@lyta.coker.com.au \
    --to=russell@coker.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiserfs-list@namesys.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

all inboxes | Powered by JetHome®