public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Olson <ejolson@math.uci.edu>
To: linux-kernel@vger.kernel.org
Subject: reiserfs performance loss
Date: Fri, 12 Oct 2001 12:54:47 -0700 (PDT)	[thread overview]
Message-ID: <200110121954.MAA27243@math.uci.edu> (raw)

Dear Hans and linux-kernel,

I am experiencing read performance loss of between 5 to 20 times 
due to what I think is data fragmentation in big files.

I am using linux-2.4.4 with the linux-2.4.4-knfsd-6.g.patch on a
dual processor VIA694 motherboard system with a 40GB Maxtor drive
on the builtin IDE controller DMA enabled and 512MB main memory.

The reiserfs partition is 31GB and about 60-70% full.  Also, tail-
packing has not been disabled.

My application consists of 8 programs tied together using MPI.
Each program opens a separate output file and periodically writes 
about 200k of data every 10-40 minutes.  Some programs run on 
remote machines and use the kernel nfsd to write their files on 
the server; other programs run directly on the server.  It is
possible all 8 programs write at the same time.

In this way 8 data files of about 500MB each are created.

For backup these data files are copied to a second server using 
rsync.  The second server is identical to the main server in both 
hardware and software.  Running hdparm -t gives about 20 MB/sec 
for each machine.  However,

	time cat *.dat >/dev/null

reads the data locally on the secondary server 5 to 20 times faster
than reading them locally on the main server.

Main server timings are

	real    6m26.789s
	user    0m0.210s
	sys     0m9.630s

and secondary server timings are

	real    0m34.358s
	user    0m0.250s
	sys     0m9.830s

This is 11 times speed difference.  I think the original copies of 
the files are quite fragmented.  However, I would have expected at 
most a two fold decrease in actual performace.  Is this reasonable?

I have experienced no other difficulties with reiserfs and like it 
very much.

All the best, Eric

             reply	other threads:[~2001-10-12 19:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-12 19:54 Eric Olson [this message]
2001-10-13  9:19 ` reiserfs performance loss Hans Reiser

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=200110121954.MAA27243@math.uci.edu \
    --to=ejolson@math.uci.edu \
    --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