🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Mike Bird Wed, 08 Mar 2000 00:00
Diablo vs INN
#44889
Author: Mike Bird
Date: Wed, 08 Mar 2000 00:00
15 lines
1247 bytes
I've been running Diablo for a couple of years and been happy with it.
Recently our newspeer box melted down and, while a replacement is
procurred, I combined newspeer-ing onto our INN reader box.  To my
surprise, the INN box, with a slower CPU, appeared to handle more GB
per day with less CPU % than Diablo.

My first thought is that Diablo's multi-process approach means a lot
of context switches.  Has anyone looked into this further or have
other comparisons of the two?

TIA,

--Mike

Re: Diablo vs INN
#44893
Author: Mike Bird
Date: Wed, 08 Mar 2000 00:00
13 lines
1428 bytes
On Thu, 09 Mar 2000 00:53:49 +0100, Brad Knowles
<brad@shub-internet.org> wrote:
>    If you can take out all those synchronous meta data operations and 
>the 500-1000 history lookups per second, even a 100GB/day full binary 
>feed only works out to an average of a little over 4GB/hour == 71MB/min 
>== 1.18MB/sec, which any drive on Earth should be able to keep up with 
>in terms of sustained write speed.

Ah, but the seeks when the outbounds backlog by different amounts!

--Mike

Re: Diablo vs INN
#44898
Author: Mike Bird
Date: Wed, 08 Mar 2000 00:00
17 lines
1567 bytes
On 08 Mar 2000 21:15:50 GMT, kolya@mit.edu (Nickolai Zeldovich) wrote:

>My data point is actually of the opposite sign.. Some time ago in a
>different life I was running INN 2.0 handling feeds & readers; moving
>to Diablo with dreaderd made the machine much less loaded and made the
>average incoming backlog much smaller.

I had a similar experience switching from INN 1.4 to Diablo.  The
unexpectedly good performance I'm seeing is on INN 2.2 with CNFS
storage.  The INN box has a slower CPU and less memory than the (now
dead) Diablo box.  I don't think disks are a factor because I've tried
Diablo running in RAM disk (after a bit of hacking) and performance
was similar to running on SCSI disk.

--Mike

Re: Diablo vs INN
#44908
Author: Nickolai Zeldovich
Date: Wed, 08 Mar 2000 00:00
24 lines
1640 bytes
In article <1qedcssdhn7t8nqh1krsdc81cc8nc6bihp@4ax.com>, Mike Bird wrote:
>          the INN box, with a slower CPU, appeared to handle more GB
>per day with less CPU % than Diablo.

Is the disk and memory configuration similar in the two machines?
That is likely to have more effect than the CPU, I think..

>My first thought is that Diablo's multi-process approach means a lot
>of context switches.  Has anyone looked into this further or have
>other comparisons of the two?

My data point is actually of the opposite sign.. Some time ago in a
different life I was running INN 2.0 handling feeds & readers; moving
to Diablo with dreaderd made the machine much less loaded and made the
average incoming backlog much smaller.

What sort of figures are you seeing for context switches per second
on your Diablo machine? FWIW, my feeder and reader machines seem to
be doing 3000 and 700 switches per second, respectively, across two
CPUs, and they seem to be doing ok.

-- kolya

Re: Diablo vs INN
#44934
Author: bill davidsen
Date: Thu, 09 Mar 2000 00:00
25 lines
1865 bytes
In article <7nkdcs4kqinffeogh74ajjf6td8h63shj1@4ax.com>,
Mike Bird  <mgb@yosemite.net> wrote:

| I had a similar experience switching from INN 1.4 to Diablo.  The
| unexpectedly good performance I'm seeing is on INN 2.2 with CNFS
| storage.  The INN box has a slower CPU and less memory than the (now
| dead) Diablo box.  I don't think disks are a factor because I've tried
| Diablo running in RAM disk (after a bit of hacking) and performance
| was similar to running on SCSI disk.

INN (currently) uses only one CPU for incoming feeds, so in theory
Diablo can handle more. In practice that is likely to be true only for
slow CPUs, you usually run out of something else before CPU.

To be fair you want to measure either a full blown Diablo with all the
reader stuff, or INN with overview off and CNFS.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Diablo vs INN
#44936
Author: Brad Knowles
Date: Thu, 09 Mar 2000 00:00
33 lines
2333 bytes
In article <7nkdcs4kqinffeogh74ajjf6td8h63shj1@4ax.com>, Mike Bird 
<mgb@yosemite.net> wrote:

>                    I don't think disks are a factor because I've tried
> Diablo running in RAM disk (after a bit of hacking) and performance
> was similar to running on SCSI disk.

    Diablo doesn't take any hacking to run from a RAM disk.  Besides, 
you only need that for the history database.

    You can leave the spool itself on disk, because Diablo uses a 
timecaf-like method of storing multiple articles in spool files (kind of 
like CNFS, except that you don't start over at the beginning of the file 
when it gets full), and this results in extremely little disk traffic 
being generated.

    If you can take out all those synchronous meta data operations and 
the 500-1000 history lookups per second, even a 100GB/day full binary 
feed only works out to an average of a little over 4GB/hour == 71MB/min 
== 1.18MB/sec, which any drive on Earth should be able to keep up with 
in terms of sustained write speed.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.

See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.

Re: Diablo vs INN
#44940
Author: Brad Knowles
Date: Thu, 09 Mar 2000 00:00
48 lines
2851 bytes
In article <173ecscqe829gdn3hqu36drgfjc32eisd7@4ax.com>, Mike Bird 
<mgb@yosemite.net> wrote:

> Ah, but the seeks when the outbounds backlog by different amounts!

    The spool is written one way and one way only.  You still get the 
benefits of timecaf here.


    For the outbound articles, what you get is diablo writing article 
ids, newsgroup names, and other tag information about the article in 
question to a file, and dnewslink reads this file and offers the 
articles to the remote peers in the order they are found in the file.

    If it's a real-time feed, then you'll have the dnewslink reader 
process closely following the writes to the file by diablo, and as soon 
as stuff comes in it should go back out again and be offered to that 
peer.

    When a peer has answered that it does want a particular article, 
dnewslink takes the info it has and then goes and gets the article out 
of the spool.


    Each stream to each feed is going to have it's own set of files, so 
there will be some seeks, yes.  Just like you get some seeks when 
writing articles into the timecaf-like spool, or reading from the spool 
in order to feed the articles to a peer.

    However, you still avoid the critical synchronous meta-data 
operations that are the real killer of any performance through a 
filesystem.


    Outbounds backlogging by different amounts should actually have 
relatively little impact on a system like this.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.

See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.

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