Thread View: news.software.nntp
6 messages
6 total messages
Started by Cameron Slye
Fri, 22 Aug 1997 00:00
Diablo + linux = high load ?
Author: Cameron Slye
Date: Fri, 22 Aug 1997 00:00
Date: Fri, 22 Aug 1997 00:00
29 lines
2195 bytes
2195 bytes
Using Diablo 1.11, on a ppro with 128mb, scsi drivers etc with Linux (2.0.29 - 2.0.31) and I allways end up with a load of 40. Any ideas on this ? Anyone else doing this setup ? I am wondering if this is "normal" On our FreeBSD boxes on the same hardware, the load was no where near that high. In fact I would still be using FreeBSD, had it not crashed every 12 hours for this one system <grin> Below is the top output showing the state the first few things are in.. Ideas ? 10:43am up 36 min, 1 user, load average: 39.65, 39.89, 33.86 146 processes: 145 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 6.9% user, 5.0% system, 8.9% nice, 91.1% idle Mem: 128064K av, 127040K used, 1024K free, 173872K shrd, 7136K buff Swap: 130748K av, 0K used, 130748K free 88996K cached PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND 741 root 14 0 580 580 400 R 0 2.7 0.4 0:04 top 647 news 2 0 480 480 368 S 0 0.5 0.3 0:00 dnewslink 689 news 4 0 424 424 312 S 0 0.5 0.3 0:03 dnewslink 193 news 5 0 776 776 408 S 0 0.3 0.6 0:11 diablo 667 news 1 0 1972 1972 1760 S 0 0.3 1.5 0:00 diablo 301 news 1 0 2572 2572 2404 D 0 0.3 2.0 0:02 diablo 302 news 1 0 3680 3680 3532 D 0 0.3 2.8 0:02 diablo 306 news 1 0 3556 3556 3408 D 0 0.3 2.7 0:02 diablo 364 news 1 0 4136 4136 4008 D 0 0.3 3.2 0:02 diablo 367 news 1 0 3172 3172 3028 D 0 0.3 2.4 0:02 diablo
Re: Diablo + linux = high load ?
Author: Miquel van Smoorenburg
Date: Fri, 22 Aug 1997 00:00
Date: Fri, 22 Aug 1997 00:00
29 lines
1849 bytes
1849 bytes
In article <5tkj5j$2rg$1@news.calweb.com>,
Cameron Slye <cslye@calweb.com> wrote:
>Using Diablo 1.11, on a ppro with 128mb, scsi drivers etc with Linux (2.0.29
>- 2.0.31) and I allways end up with a load of 40. Any ideas on this ?
>Anyone else doing this setup ? I am wondering if this is "normal" On our
>FreeBSD boxes on the same hardware, the load was no where near that high.
>In fact I would still be using FreeBSD, had it not crashed every 12 hours
>for this one system <grin> Below is the top output showing the state the
>first few things are in.. Ideas ?
That's stupid.. We're running diablo on a Pentium 166 with 64 Mb, BusLogic
SCSI and have about 20 news peers. Total input is about 1.5 Gb a day, output
is about 3Gb a day. Load is usually around 1 .. 1.5
$ uname -a
Linux wormhole 2.0.31 #3 Mon Aug 11 16:31:14 CEST 1997 i586 unknown
$ uptime
8:36pm up 11 days, 3:19h, 1 user, load average: 1.33, 1.21, 1.54
$ ps ax | wc
80 746 5262
Mike.
--
| Miquel van Smoorenburg | |
| miquels@cistron.nl | Owners of digital watches, your days are numbered. |
| PGP fingerprint: FE 66 52 4F CD 59 A5 36 7F 39 8B 20 F1 D6 74 02 |
Re: Diablo + linux = high load ?
Author: Jeff Garzik
Date: Fri, 22 Aug 1997 00:00
Date: Fri, 22 Aug 1997 00:00
47 lines
2401 bytes
2401 bytes
(cc'd to author) Cameron Slye <cslye@calweb.com> wrote: >Using Diablo 1.11, on a ppro with 128mb, scsi drivers etc with Linux (2.0.29 >- 2.0.31) and I allways end up with a load of 40. Any ideas on this ? >Anyone else doing this setup ? I am wondering if this is "normal" On our >FreeBSD boxes on the same hardware, the load was no where near that high. >In fact I would still be using FreeBSD, had it not crashed every 12 hours >for this one system <grin> Below is the top output showing the state the >first few things are in.. Ideas ? Linux calculates load by sorting through many different system resources, but it basically measures how "over-committed" the system is, in terms of general resources. Your process list confirms my suspicion. Since many of your Diablo processes are in disk wait, and your load average stays around 40, then your disks are constantly 40 times over-committed. This happens on one of my Diablo news hubs as well. We're waiting to upgrade the disks, which are utterly bogged down. I had to limit the max per-site connections to 2 in order to keep the system load at a reasonable level. Your best solution is to get a better disk setup. Set up an 8k md stripe across at least three high performance drives. Outside of that, adding memory will stave off the problem, as long as you don't add connections. Don't forget that Diablo stresses history disks even more than spool disks -- so be sure your /news is entirely on a hardware or software stripe set. You could also drop peers to lessen load. :) Your FreeBSD system was probably similarly bogged down, but reported a much lower load average due to the different way load average is calculated. Jeff -- The surest sign that a man is in love is when he divorces his wife.
Re: Diablo + linux = high load ?
Author: Matt Dillon
Date: Fri, 22 Aug 1997 00:00
Date: Fri, 22 Aug 1997 00:00
58 lines
3360 bytes
3360 bytes
:In article <5tko57$1550$1@node17.cwnet.frontiernet.net>,
:Dan Foster <dsf@node6.frontiernet.net> wrote:
:>In article <5tkj5j$2rg$1@news.calweb.com>,
:>Cameron Slye <cslye@calweb.com> wrote:
:>>Using Diablo 1.11, on a ppro with 128mb, scsi drivers etc with Linux (2.0.29
:>>- 2.0.31) and I allways end up with a load of 40. Any ideas on this ?
:>>Anyone else doing this setup ? I am wondering if this is "normal" On our
:>>FreeBSD boxes on the same hardware, the load was no where near that high.
:>>In fact I would still be using FreeBSD, had it not crashed every 12 hours
:>>for this one system <grin> Below is the top output showing the state the
:>>first few things are in.. Ideas ?
:>>
:>> PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
:>> 741 root 14 0 580 580 400 R 0 2.7 0.4 0:04 top
:>> 647 news 2 0 480 480 368 S 0 0.5 0.3 0:00 dnewslink
:>> 689 news 4 0 424 424 312 S 0 0.5 0.3 0:03 dnewslink
:>> 193 news 5 0 776 776 408 S 0 0.3 0.6 0:11 diablo
:>> 667 news 1 0 1972 1972 1760 S 0 0.3 1.5 0:00 diablo
:>> 301 news 1 0 2572 2572 2404 D 0 0.3 2.0 0:02 diablo
:>> 302 news 1 0 3680 3680 3532 D 0 0.3 2.8 0:02 diablo
:>> 306 news 1 0 3556 3556 3408 D 0 0.3 2.7 0:02 diablo
:>
:>This looks *really* weird. my diablo processes eats only ~500K (resident),
:>dnewslinks eats 250K (resident). Granted, it's on an AIX 4.1.4 box and not
:>Linux, but still, one has to wonder...
:>
:>D? uninterruptible sleep... hmmm. Blocking on something?
:>
:>-Dan Foster
:>Internet: dsf@frontiernet.net
naw, that's ok... diablo mmap()'s the hash table for the dhistory
file. It's a shared mmap().
It sounds like the reported load is due to the disks/filesystems
but I would not expect a half dozen diablo processes to be able
to shoot a machine's load up to 40.
I run Diablo on news1.best.com, which is a 192MB PPro 200 running
FreeBSD with three 4G disks on an adaptec UW controller. There
are usually between 60 and 90 diablo processes and 80 to 100 dnewslink
processes active on the machine. Stats are available:
http://news1.best.com/
The load stands between 0.5 and 2 usually. Whenever something goes wrong
with the network or the internet, then comes back, the deluge of articles
jumps the load up... I've seen it as high as 15, and most of the
diablos stay in disk-wait (D, usually on ufslk2), but it doesn't stay
in that state very long. After a an hour or two it's caught up again
and back to normal.
-Matt
Re: Diablo + linux = high load ?
Author: Soren S. Jorvang
Date: Sun, 24 Aug 1997 00:00
Date: Sun, 24 Aug 1997 00:00
28 lines
1928 bytes
1928 bytes
dillon@best.net (Matt Dillon) writes: > The only real bottleneck with diablo is the dhistory file. In the > case of FreeBSD, the diablo processes get stuck in ufslk2 a lot > (an internal kernel fs serialization lock on dhistory). This occurs > when you have a huge number of diablo processes trying to do history > file lookups at the same time. I've been considering splitting the > dhistory file into four separate files to avoid kernel lock contention, > but I haven't done it yet... If I *do* do it, I will couple it with a > change in the hashing algorithm which isn't working as well as I would > like collision-wise. We have a Diablo-running FreeBSD box on which the diablo processes spent most of their time in ufslk2. I "fixed" this by increasing the sysctl vm.v_cache_min to a point just below the paging pain threshold. Our 256 MB system runs nicely with vm.v_cache_min=40000 . This allows for a large part of our 250 MB dhistory file to be cached. While this of course depends on memory size and the numbers of feeds, history performance seemed to increase proportionally with disk cache size. I recommend increasing vm.v_cache_min on FreeBSD boxes running Diablo. -- Soren
Re: Diablo + linux = high load ?
Author: Matt Dillon
Date: Sun, 24 Aug 1997 00:00
Date: Sun, 24 Aug 1997 00:00
52 lines
2921 bytes
2921 bytes
:In article <5torhm$fpf$1@news.nuernberg.ecrc.net>,
:Iain Lea <iain@ecrc.de> wrote:
:>Cameron Slye <cslye@calweb.com> wrote:
:>> Using Diablo 1.11, on a ppro with 128mb, scsi drivers etc with Linux (2.0.29
>> - 2.0.31) and I allways end up with a load of 40. Any ideas on this ?
:>
:>Just as a _perverse_ little data point: we run diablo 1.11 on a SparcClassic
:>with 32MB RAM, 2x2GB disks running RedHat SparcLinux 2.0.30 with 2 incoming
:>and 6-8 outgoing (2 are full) feeds in one of our POPs. The machine has a
:>constant loadavg of 3-6 but it keeps up with a full feed (450-700K arts/day).
:>
:>We also run 1.11 on a 4 cpu SGI Challenge/512MB/14GB monster with 35 incoming
:>feeds and 45 outgoing feeds. Loadavg never goes above 1.5. In catchup mode
:>this machine screams:
:>
:> DIABLO uptime=1:00 arts=275.000K tested=0 bytes=1.129G fed=6.266M
:>
:>--
:>Iain Lea iain@ecrc.de <http://www.ecrc.de/>
:>"We all enter this world in the same way: naked; screaming; soaked
:>in blood. But if you live your life right, that kind of thing doesn't
:>have to stop there." -- Dana Gould
I just have one word to say about that:
wow!
That's 4700 articles *accepted* per *second*. One Freek'n incredible
article rate.
Even though I don't run diablo on any multi-processor boxes, diablo's
general design makes it well suited to that sort of environment. I
do have to give SGI credit for making XFS a screamer in the last few
months even though we had really bad experiences with them trying to
use them as general purpose user boxes and don't use SGI's any more
ourselves.
The only real bottleneck with diablo is the dhistory file. In the
case of FreeBSD, the diablo processes get stuck in ufslk2 a lot
(an internal kernel fs serialization lock on dhistory). This occurs
when you have a huge number of diablo processes trying to do history
file lookups at the same time. I've been considering splitting the
dhistory file into four separate files to avoid kernel lock contention,
but I haven't done it yet... If I *do* do it, I will couple it with a
change in the hashing algorithm which isn't working as well as I would
like collision-wise.
-Matt
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads