🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Homer Wilson Smith Sun, 23 Jun 2002 15:42
Re: LOAD
#59296
Author: Homer Wilson Smith
Date: Sun, 23 Jun 2002 15:42
22 lines
1652 bytes
     OK, well upgrading the CPU didn't affect the load any but it sure
started bringing in more news!

     Historicallly we have had a very small disk spool of striped
scsi's because we expire everything once day.  Now I have to expire 4
times a day.

     Is it better to have a larger spool and expire less often, or a
smaller spool and expire more often?

     I would think sheer numbers of files building up in directories
would create long search times etc for adding new files, so better to
keep total number of files down.

    Homer

--
------------------------------------------------------------------------
Homer Wilson Smith     I would rather die poor    Lightlink Internet
(607) 277-0959 KC2ITF  than suffer the patronage  Ithaca, NY
homer@lightlink.com    of bigots and pinheads.    www.lightlink.com
Re: LOAD
#59297
Author: Jeffrey M. Vinocur
Date: Sun, 23 Jun 2002 16:42
30 lines
2021 bytes
In article <3d15ec7f$1@news2.lightlink.com>,
Homer Wilson Smith <homer@adore.lightlink.com> wrote:
>
>     Historicallly we have had a very small disk spool of striped
>scsi's because we expire everything once day.  Now I have to expire 4
>times a day.

Umm.  That means one of two things:

- You're keeping some articles for a day or less
- You've got a longer retention, but you're exactly on the
  edge of how much disk you need

I have a bad feeling it's the first one.  In which case...dude,
what are you doing?  What good is it for your users if the
articles are vanishing before they get a chance to read them?
You either need to cut back on the groups you carry, or get more
disk/bandwidth so you can hang on to stuff for a decent length of
time.  In general, having a retention of less than a week is
downright absurd.  Are you trying to carry a full feed (with
binaries) on hardware that isn't up to it?

If it's the second one, well, a small amount of additional disk
should solve your problems, no?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: LOAD
#59308
Author: Greg Andrews
Date: Mon, 24 Jun 2002 05:51
43 lines
2512 bytes
homer@adore.lightlink.com (Homer Wilson Smith) writes:
>
>     OK, well upgrading the CPU didn't affect the load any but it sure
>started bringing in more news!
>

Are you sure it's not just a temporary spike in the volume as you
catch up from your downtime while upgrading the machine's cpu?

>
>     Is it better to have a larger spool and expire less often, or a
>smaller spool and expire more often?
>
>     I would think sheer numbers of files building up in directories
>would create long search times etc for adding new files, so better to
>keep total number of files down.
>

Most expire schemes don't search the directories, so keeping fewer
articles in the directories won't make a significant difference.
Expire scans the history database to find the articles that need to
be deleted.

In my experience, the benefits of expiring more often than one day
boils down to disk space management and your safety net for a failed
expire.

If your disks are so close to being full that they overflow before
a once-a-day expire can clear up the space, then expiring more often
can help prevent the overflow.

What happens if a nightly expire fails to delete all the articles it
should delete?  Do you have enough free space so the server will survive
until you check it in the morning?  If not, then expiring more often
might help you maintain enough space to survive an incomplete expire.


  -Greg
-- 
:::::::::::::  Greg Andrews  :::::  gerg@panix.com  :::::::::::::
     I have a map of the United States that's actual size.
				-- Steven Wright
Re: LOAD
#59316
Author: Wolfgang Schelongowski
Date: Mon, 24 Jun 2002 18:52
23 lines
1861 bytes
In <af6c1u$2at$1@reader1.panix.com> gerg@panix.com (Greg Andrews) writes:

>homer@adore.lightlink.com (Homer Wilson Smith) writes:

>>     Is it better to have a larger spool and expire less often, or a
>>smaller spool and expire more often?
>>
>>     I would think sheer numbers of files building up in directories
>>would create long search times etc for adding new files, so better to
>>keep total number of files down.

>Most expire schemes don't search the directories, so keeping fewer
>articles in the directories won't make a significant difference.

But there's a catch. Some filesystems get horribly slow on
create/delete operations when there are lots of files in the
directory - the dependancy is worse than linear. IIRC ext2 (Linux)
gets   s l o w   when some 10,000 files are in a directory. IOW full
feed && control/cancel/ as directory of an ext2 filesystem means TROUBLE.
-- 
"Some people are heroes. And some people jot down notes."
  -- Terry Pratchett, The Truth
Re: LOAD
#59318
Author: Homer Wilson Smith
Date: Mon, 24 Jun 2002 21:01
44 lines
2531 bytes
Jeffrey M. Vinocur (jeff@litech.org) wrote:
>I have a bad feeling it's the first one.  In which case...dude,
>what are you doing?  What good is it for your users if the
>articles are vanishing before they get a chance to read them?

     Well if they can't read them, they can't sue me over the
contents! :)

     Actually the machine is a transit only, the readers are on a
dnews suck server that gets its feed from the transit server.

     Increasing the CPU speed from 333 to 900 (we are just playing
around here to see what happens) actually caused the load to go UP,
but MUCH more news is coming in.
 
     Of course I am adding feeds as we speak, so that is probably the
cause of most of it.

>You either need to cut back on the groups you carry, or get more
>disk/bandwidth so you can hang on to stuff for a decent length of
>time.  In general, having a retention of less than a week is
>downright absurd.  Are you trying to carry a full feed (with
>binaries) on hardware that isn't up to it?

     We have found that people only look at about 800 groups,
our retention is 30 days on the suck server for those 800.

     Homer


>If it's the second one, well, a small amount of additional disk
>should solve your problems, no?


>-- 
>Jeffrey M. Vinocur
>jeff@litech.org

--
------------------------------------------------------------------------
Homer Wilson Smith     I would rather die poor    Lightlink Internet
(607) 277-0959 KC2ITF  than suffer the patronage  Ithaca, NY
homer@lightlink.com    of bigots and pinheads.    www.lightlink.com
LOAD
#59319
Author: Homer Wilson Smith
Date: Mon, 24 Jun 2002 21:05
35 lines
2301 bytes
Greg Andrews (gerg@panix.com) wrote:
>What happens if a nightly expire fails to delete all the articles it
>should delete?  Do you have enough free space so the server will survive
>until you check it in the morning?  If not, then expiring more often
>might help you maintain enough space to survive an incomplete expire.

    No I don't have enough disk space.

     I guess we will be moving to striped LVD's, 36 gigs or so, that
should handle speed and space needs for full feeds < 250,000 in size.

     I presume when I move to INN 2.x or Diablo that even more news
will come in.  I am trying to tune this to 3 megabits in and out of
our available 9.

     By the way so far I am getting much more in from some rather
large feeds, so if anyone is 'small' and hurting I would consider
feeding them.  We will be reporting to freenix once a month, and I
hear there is another one we should be reporting too also.

    Homer


>  -Greg
>-- 
>:::::::::::::  Greg Andrews  :::::  gerg@panix.com  :::::::::::::
>     I have a map of the United States that's actual size.
>				-- Steven Wright

--
------------------------------------------------------------------------
Homer Wilson Smith     I would rather die poor    Lightlink Internet
(607) 277-0959 KC2ITF  than suffer the patronage  Ithaca, NY
homer@lightlink.com    of bigots and pinheads.    www.lightlink.com
Re: LOAD
#59320
Author: Jeffrey M. Vinocur
Date: Mon, 24 Jun 2002 22:08
17 lines
1580 bytes
In article <3d17889b$1@news2.lightlink.com>,
Homer Wilson Smith <homer@adore.lightlink.com> wrote:
>Jeffrey M. Vinocur (jeff@litech.org) wrote:
>>I have a bad feeling it's the first one.  In which case...dude,
>>what are you doing?  What good is it for your users if the
>>articles are vanishing before they get a chance to read them?
>
>     Actually the machine is a transit only, the readers are on a
>dnews suck server that gets its feed from the transit server.

Oh!  Then why don't you use CNFS??  It's perfect for that.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: LOAD
#59324
Author: Homer Wilson Smith
Date: Tue, 25 Jun 2002 02:00
32 lines
2174 bytes
Jeffrey M. Vinocur (jeff@litech.org) wrote:
>In article <3d17889b$1@news2.lightlink.com>,
>Homer Wilson Smith <homer@adore.lightlink.com> wrote:
>>Jeffrey M. Vinocur (jeff@litech.org) wrote:
>>>I have a bad feeling it's the first one.  In which case...dude,
>>>what are you doing?  What good is it for your users if the
>>>articles are vanishing before they get a chance to read them?
>>
>>     Actually the machine is a transit only, the readers are on a
>>dnews suck server that gets its feed from the transit server.

>Oh!  Then why don't you use CNFS??  It's perfect for that.

    Yes.  Well i built my news server 7 years ago, and it ran
for years at a time without attention, so we are still at inn1.7x

    Will move to INN2.x or Diablo shortly, once the iron is in place.

    Homer



>-- 
>Jeffrey M. Vinocur
>jeff@litech.org

--
------------------------------------------------------------------------
Homer Wilson Smith     I would rather die poor    Lightlink Internet
(607) 277-0959 KC2ITF  than suffer the patronage  Ithaca, NY
homer@lightlink.com    of bigots and pinheads.    www.lightlink.com
Re: LOAD
#59330
Author: Thomas
Date: Tue, 25 Jun 2002 05:50
21 lines
1755 bytes
Wolfgang Schelongowski wrote:

> But there's a catch. Some filesystems get horribly slow on
> create/delete operations when there are lots of files in the
> directory - the dependancy is worse than linear.

I think it is just linear. But 10K files are 1000 times as slow as 10 
files, and that really hurts.

> IIRC ext2 (Linux)
> gets   s l o w   when some 10,000 files are in a directory. IOW full
> feed && control/cancel/ as directory of an ext2 filesystem means TROUBLE.

Ext3 will likely be the same. There have been patches with directory 
indexing for ext2/ext3 I believe, but using either XFS or ReiserFS seems 
more sensible.


Thomas

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