From: <pcg@goof.com ( Marc) (A.) (Lehmann )>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Daniel Phillips <phillips@bonn-fries.net>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Roger Larsson <roger.larsson@skelleftea.mail.telia.com>,
linux-kernel@vger.kernel.org
Subject: Re: [resent PATCH] Re: very slow parallel read performance
Date: Sun, 26 Aug 2001 17:25:05 +0200 [thread overview]
Message-ID: <20010826172505.E22677@cerebro.laendle> (raw)
In-Reply-To: <20010826165517.D22677@cerebro.laendle> <Pine.LNX.4.33L.0108261158470.5646-100000@imladris.rielhome.conectiva>
In-Reply-To: <Pine.LNX.4.33L.0108261158470.5646-100000@imladris.rielhome.conectiva>
On Sun, Aug 26, 2001 at 12:06:42PM -0300, Rik van Riel <riel@conectiva.com.br> wrote:
> > It must be enough, unfortunately ;)
>
> Then you'll need to change the physical structure of
> your disks to eliminate seek time. ;)
well, you could send me 200GB flashdisks, that would certainly help, but
what else could I do that is hardware-cost-neutral?
(there are currently three disks on two ide channels, so there is one
obvious optimization left, but this is completely independent of the
problem ;)
I really think linux should be able to achieve what the hardwrae can,
rather than fixing linux vm shortcomings with faster disks.
(playing around with readahead did indeed give me a very noticable
performance improvement, and ~40 mbits is ok).
> Automatic scaling of readahead window and possibly more agressive
> drop-behind could help your system load.
well, the system "load" is very low (50% idle time ;) here is the top ouput
of the current (typical) load:
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
8390 root 20 0 95312 93M 1076 S 43.9 18.5 16:03 myhttpd
8661 root 17 -4 32464 31M 944 R < 28.4 6.2 1:07 get
6279 root 18 14 4856 4856 524 R N 27.3 0.9 122:19 dec
8396 root 10 0 95312 93M 1076 D 6.5 18.5 1:43 myhttpd
8395 root 11 0 95312 93M 1076 D 5.3 18.5 1:46 myhttpd
8394 root 9 0 95312 93M 1076 D 4.4 18.5 1:42 myhttpd
8682 root 19 0 1012 1012 800 R 4.2 0.1 0:01 top
myhttpd is the http serverr, doing about 4MB/s now @ 743 connections.
"get" is a process that reads usenet news from many different servers and
dec is a decoder that decoded news. The news spool is on a 20Gb, 5 disk
SCSI array, together with the system itself. The machine is a dual P-II
300.
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
2 3 1 0 3004 11436 171676 0 0 225 170 303 75 30 45 25
# the above line was the total system uptime average, now vmstat 5 output:
1 4 2 0 3056 11060 165760 0 0 7094 103 6905 1046 31 51 18
1 4 2 0 3056 11264 165532 0 0 6173 183 6146 1051 30 41 29
2 4 2 0 3056 10988 167656 0 0 7402 150 6706 1204 31 48 21
0 6 0 0 3056 11196 167344 0 0 7249 265 6760 1318 30 47 23
0 4 0 0 3056 11336 166876 0 0 1718 190 4995 582 25 19 55
2 0 0 0 3056 11536 166988 0 0 1057 264 3264 313 22 12 65
2 5 1 0 2880 11332 152916 0 0 1776 121 2789 280 32 22 46
1 5 0 0 16108 11472 153984 0 0 1040 215 3255 248 29 15 56
1 4 3 0 3056 11624 166800 0 0 4406 179 3329 653 32 23 45
1 4 0 0 3056 10852 167636 0 0 6970 138 5521 1247 34 39 26
2 4 0 0 3056 11016 167440 0 0 7238 162 5997 1118 36 39 25
2 4 1 0 3056 11284 177332 0 0 6247 84 5206 1293 34 36 30
1 4 2 0 3052 11296 181564 0 0 7800 85 5493 1399 35 41 24
There are 4 reader threads ATM, and this coincides nicely with the 4
blocked tasks.
> so we have an idea of what kind of system load we're facing, and
> the active/inactive memory lines from /proc/meminfo ?
I then did: while sleep 5; do grep "\(^In\|^Act\)" </proc/meminfo;done
Active: 144368 kB
Inact_dirty: 29048 kB
Inact_clean: 192 kB
Inact_target: 19348 kB
Active: 154012 kB
Inact_dirty: 14092 kB
Inact_clean: 5556 kB
Inact_target: 19360 kB
Active: 164908 kB
Inact_dirty: 21212 kB
Inact_clean: 5428 kB
Inact_target: 19104 kB
Active: 169788 kB
Inact_dirty: 20652 kB
Inact_clean: 1224 kB
Inact_target: 18912 kB
Active: 147280 kB
Inact_dirty: 37444 kB
Inact_clean: 5080 kB
Inact_target: 19132 kB
Active: 151400 kB
Inact_dirty: 26604 kB
Inact_clean: 10280 kB
Inact_target: 19328 kB
Active: 157288 kB
Inact_dirty: 9312 kB
Inact_clean: 20988 kB
Inact_target: 19500 kB
Active: 160456 kB
Inact_dirty: 11908 kB
Inact_clean: 12112 kB
Inact_target: 19672 kB
> Indeed, something is going wrong ;)
>
> Lets find out exactly what so we can iron out this bug
> properly.
When that happened I can test wether massively increasing the number of
reader threads changes performance ;)
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
next prev parent reply other threads:[~2001-08-26 15:25 UTC|newest]
Thread overview: 123+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-23 21:35 Lehmann
2001-08-24 7:35 ` [resent PATCH] " Roger Larsson
2001-08-24 17:43 ` Rik van Riel
2001-08-24 18:28 ` Roger Larsson
2001-08-24 19:02 ` Rik van Riel
2001-08-24 20:37 ` Gérard Roudier
2001-08-24 23:12 ` Rik van Riel
2001-08-25 8:02 ` Gérard Roudier
2001-08-25 9:26 ` Roger Larsson
2001-08-25 11:49 ` Gérard Roudier
2001-08-25 17:56 ` Roger Larsson
2001-08-25 19:13 ` Gérard Roudier
2001-08-25 13:17 ` Rik van Riel
2001-08-24 22:29 ` Daniel Phillips
2001-08-24 23:10 ` Rik van Riel
2001-08-25 0:42 ` Daniel Phillips
2001-08-27 7:08 ` Helge Hafting
2001-08-27 14:31 ` Daniel Phillips
2001-08-27 14:42 ` Alex Bligh - linux-kernel
2001-08-27 15:14 ` Rik van Riel
2001-08-27 16:04 ` Daniel Phillips
[not found] ` <Pine.LNX.4.33L.0108271213370.5646-100000@imladris.rielhome.cone ctiva>
2001-08-27 19:34 ` Alex Bligh - linux-kernel
2001-08-27 20:03 ` Oliver Neukum
2001-08-27 20:19 ` Alex Bligh - linux-kernel
2001-08-27 21:38 ` Oliver.Neukum
2001-08-27 22:26 ` Alex Bligh - linux-kernel
2001-08-27 21:29 ` Daniel Phillips
2001-08-27 16:02 ` Daniel Phillips
2001-08-27 19:36 ` Alex Bligh - linux-kernel
2001-08-27 20:24 ` Daniel Phillips
2001-08-27 16:55 ` David Lang
2001-08-27 18:54 ` Daniel Phillips
2001-08-27 18:37 ` Oliver Neukum
2001-08-27 19:04 ` Daniel Phillips
2001-08-27 19:43 ` Oliver Neukum
2001-08-27 20:37 ` Daniel Phillips
2001-08-27 22:10 ` Oliver.Neukum
2001-08-27 21:44 ` Linus Torvalds
2001-08-27 22:30 ` Daniel Phillips
2001-08-27 23:00 ` Marcelo Tosatti
2001-08-28 3:10 ` Linus Torvalds
2001-08-27 19:55 ` Richard Gooch
2001-08-27 20:09 ` Oliver Neukum
2001-08-27 21:06 ` Daniel Phillips
2001-08-24 20:18 ` Daniel Phillips
2001-08-24 20:19 ` Rik van Riel
2001-08-24 21:11 ` Daniel Phillips
2001-08-24 23:03 ` Rik van Riel
2001-08-25 0:41 ` Daniel Phillips
2001-08-25 1:34 ` Rik van Riel
2001-08-25 15:49 ` Daniel Phillips
2001-08-25 15:50 ` Rik van Riel
2001-08-25 16:28 ` Lehmann
2001-08-25 16:34 ` Rik van Riel
2001-08-25 16:41 ` Lehmann
2001-08-26 16:55 ` Daniel Phillips
2001-08-26 18:39 ` Rik van Riel
2001-08-26 19:46 ` Daniel Phillips
2001-08-26 19:52 ` Rik van Riel
2001-08-26 20:08 ` Daniel Phillips
2001-08-26 22:33 ` Russell King
2001-08-26 23:24 ` Daniel Phillips
2001-08-26 23:24 ` Russell King
2001-08-27 0:07 ` Rik van Riel
2001-08-27 0:02 ` Rik van Riel
2001-08-27 0:42 ` Daniel Phillips
2001-08-25 16:43 ` Daniel Phillips
2001-08-25 19:15 ` Alan Cox
2001-08-25 19:35 ` Lehmann
2001-08-25 20:52 ` Rik van Riel
2001-08-26 1:38 ` Daniel Phillips
2001-08-26 2:49 ` Lehmann
2001-08-26 17:29 ` Daniel Phillips
2001-08-26 17:37 ` Craig I. Hagan
2001-08-26 18:56 ` Rik van Riel
2001-08-26 19:18 ` Lehmann
2001-08-26 21:07 ` Daniel Phillips
2001-08-26 22:12 ` Rik van Riel
2001-08-26 23:24 ` Lehmann
2001-08-26 20:26 ` Gérard Roudier
2001-08-26 21:20 ` Daniel Phillips
2001-08-26 3:32 ` Rik van Riel
2001-08-26 13:22 ` Lehmann
2001-08-26 13:48 ` Rik van Riel
2001-08-26 14:55 ` Lehmann
2001-08-26 15:06 ` Rik van Riel
2001-08-26 15:25 ` Lehmann [this message]
2001-08-25 21:33 ` Alan Cox
2001-08-25 23:34 ` Lehmann
2001-08-26 2:02 ` Rik van Riel
2001-08-26 2:57 ` Lehmann
2001-08-26 0:46 ` John Stoffel
2001-08-26 1:07 ` Alan Cox
2001-08-26 3:30 ` Rik van Riel
2001-08-26 3:40 ` Rik van Riel
2001-08-26 5:28 ` Daniel Phillips
2001-08-24 23:23 ` Lehmann
[not found] ` <200108242344.f7ONi0h21270@mailg.telia.com>
2001-08-25 0:28 ` Lehmann
2001-08-25 3:09 ` Rik van Riel
2001-08-25 9:13 ` Gérard Roudier
2001-08-26 16:54 ` Daniel Phillips
2001-08-26 18:59 ` Victor Yodaiken
2001-08-26 19:38 ` Rik van Riel
2001-08-26 20:05 ` Victor Yodaiken
2001-08-26 20:34 ` Rik van Riel
2001-08-26 20:45 ` Victor Yodaiken
2001-08-26 21:00 ` Alan Cox
2001-08-26 20:42 ` Daniel Phillips
2001-08-26 19:31 ` Lehmann
2001-08-24 19:42 ` Lehmann
2001-08-24 21:42 ` Gérard Roudier
2001-08-25 0:05 ` Craig I. Hagan
2001-08-27 2:03 Rick Hohensee
2001-08-27 2:52 ` Keith Owens
2001-08-28 17:52 ` Kai Henningsen
2001-08-28 21:54 ` Matthew M
2001-08-28 1:08 Dieter Nützel
2001-08-28 0:05 ` Marcelo Tosatti
2001-08-28 1:54 ` Daniel Phillips
2001-08-28 5:01 ` Mike Galbraith
2001-08-28 18:18 ` Andrew Morton
2001-08-28 18:45 ` Hans Reiser
2001-08-28 15:28 Dieter Nützel
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=20010826172505.E22677@cerebro.laendle \
--to=pcg@goof.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=phillips@bonn-fries.net \
--cc=riel@conectiva.com.br \
--cc=roger.larsson@skelleftea.mail.telia.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®