From: "Joseph D. Wagner" <wagnerjd@prodigy.net>
To: "'Torben Frey'" <kernel@mailsammler.de>, <linux-kernel@vger.kernel.org>
Subject: RE: Horrible drive performance under concurrent i/o jobs (dlh problem?)
Date: Fri, 20 Dec 2002 14:40:30 -0600 [thread overview]
Message-ID: <002f01c2a868$0ab3b5d0$3b41d03f@joe> (raw)
In-Reply-To: <3E00C738.1070506@mailsammler.de>
I hope I'm not entering this discussion too late to be of help.
> We are running a 3ware Escalade 7850 Raid controller
> with 7 IBM Deskstar GXP 180 disks in Raid 5 mode, so
> it builds a 1.11TB disk.
Raid 0 is better in terms of speed.
> There's one partition on it, /dev/sda1, formatted
> with ReiserFS format 3.6.
Oh no! This is bad news, both in terms of speed and security.
Lumping everything into one partition makes it impossible to protect against
the SUID/GUID security vulnerability (security), and requires all reads and
writes to be funneled through one partition (speed).
At an absolute MINIMUM, your partitions should be divided into:
/boot 032 MB
/tmp 512 MB
swap 1.5 - 3.0 times the amount of RAM,
not to exceed a 2 GB per swap partition limit
/root 5 GB
/var 10 GB
/usr 20% of what is leftover
/home 50% of what is leftover,
or at least 32 MB per user
/ 30% of what is leftover
The above numbers are my recommendations for your 1.1 TB Raid Array ONLY.
Please don't flame me about how those numbers aren't right for everybody's
systems.
Additionally, in your case, I'd add a /data partition to store this huge
amount of rapidly generated data you're talking about. That way, if you
should need to reformat, remount, whatever, the partition with the data, you
won't have to take down or redo the whole system.
> Or could it come from running an SMP kernel
> although I have only one CPU in my board?
This is a bad idea. The SMP kernel includes a whole load of extra code
which is totally unnecessary in a Uniprocessor environment. All that extra
code will do is slow down your system and take up extra memory.
Switch to a Uniprocessor kernel, or see my next point.
> The Board is an MSI 6501 (K7D Master) with 1GB RAM
> but only one processor.
Upgrade to 4 GB of RAM (if possible) and add a second processor (if
possible).
>From what you're telling me, you're going to need all the RAM you can get.
Further, SCSI really works better with two or more processors. SCSI is
designed to take advantage of multiple processors. If you're not running
multiple processors, you might as well be running IDE, IMHO.
> Watching vmstat 1 shows me that "bo" drops quickly
> down from rates in the 10 or 20 thousands to low rates
> of about 2 or 3 thousands when the runs take so long.
I'm willing to bet that your system is spending all of its time flushing the
buffers. When you're generating gigabytes of data, your buffers are going
to need to be huge.
I have no idea how to do this.
Hope this helped.
Joseph Wagner
next prev parent reply other threads:[~2002-12-20 20:32 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-18 19:06 Horrible drive performance under concurrent i/o jobs (dlh problem?) Torben Frey
2002-12-20 20:40 ` Joseph D. Wagner [this message]
2002-12-20 22:25 ` David Lang
2002-12-21 6:00 ` Joseph D. Wagner
2002-12-23 1:29 ` David Lang
2002-12-24 9:18 ` Roy Sigurd Karlsbakk
2002-12-24 17:21 ` jw schultz
2002-12-24 21:00 ` Jeremy Fitzhardinge
2002-12-25 1:34 ` Rik van Riel
2002-12-25 2:02 ` jw schultz
2002-12-25 3:41 ` Barry K. Nathan
2002-12-23 17:48 ` Krzysztof Halasa
2002-12-23 18:13 ` Denis Vlasenko
-- strict thread matches above, loose matches on Subject: below --
2002-12-18 21:10 Con Kolivas
2002-12-18 22:16 ` Torben Frey
2002-12-18 22:37 ` Andrew Morton
2002-12-18 23:30 ` Torben Frey
2002-12-18 23:46 ` Andrew Morton
2002-12-18 22:40 ` Torben Frey
2002-12-19 14:29 Torben Frey
2002-12-20 1:47 ` Nuno Silva
2002-12-27 13:04 ` Torben Frey
2002-12-20 14:27 ` Roger Larsson
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='002f01c2a868$0ab3b5d0$3b41d03f@joe' \
--to=wagnerjd@prodigy.net \
--cc=kernel@mailsammler.de \
--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