Thread View: news.software.nntp
15 messages
15 total messages
Started by Schuyler Bishop
Sun, 31 Aug 1997 00:00
INN 1.5.1 performance on Solaris 2.5.1
Author: Schuyler Bishop
Date: Sun, 31 Aug 1997 00:00
Date: Sun, 31 Aug 1997 00:00
211 lines
10302 bytes
10302 bytes
This is a multi-part message in MIME format.
--------------6B833CD31CD21D86723AE236
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi. I've been running INN 1.5.1 now for about 6 months, and at this
point, I'm about ready to throw my hands up in the air (along with my
news box) and switch to Cyclone. We peer with about 4 large providers
(sprintlink, UUNET, MCI, and a smaller BBN feed) on an Ultra 2
Enterprise with 384 MB RAM, 6 2.1 GB F/W Seagate 'Cudas on their own
single ended wide intelligent SCSI card, and two 200 MHZ Ultrasparc-I
CPUs... and my performance stinks. Our sprintlink feed comes from a
Sparc-20 running Cyclone, and it regularly has a queue of about
7-800,000 articles. Our daily volume ranges from 1-200,000 articles
accepted, TOTAL from all of our feeds, and that's embarrassing.
With that being said, I began searching for the bottleneck. What I
found was that I have a LOT of I/O wait, but relatively low disk usage.
Oh, this machine also feeds 20 or so sites (full feeds) and has 5-15
readers on average.
For example:
(output from top)
last pid: 29364; load averages: 1.91, 1.91, 2.26
00:46:35
52 processes: 48 sleeping, 2 running, 2 on cpu
CPU states: 10.9% idle, 2.2% user, 60.9% kernel, 25.9% iowait, 0.0%
swap
Memory: 371M real, 33M free, 121M swap, 386M free swap
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
28330 news -25 0 60M 34M cpu 8:47 12.44% 15.97% innd
29364 news 33 0 3504K 1936K cpu 0:00 0.56% 0.51% top
2477 news 18 2 1568K 1208K run 4:00 0.29% 0.36% innxmit
7718 news 35 2 1856K 1432K sleep 13:07 0.15% 0.22% innxmit
29363 news 21 4 3896K 3688K sleep 0:00 0.29% 0.21% nnrpd
21485 news -25 2 1856K 1424K sleep 5:13 0.26% 0.18% innxmit
253 root 33 0 1480K 1144K sleep 5:15 0.13% 0.13%
rpc.rstatd
26848 news 27 2 1856K 1432K sleep 16:38 0.11% 0.10% innxmit
140 root 34 0 1496K 1072K run 14:47 0.07% 0.09% syslogd
14454 news 28 2 1856K 1432K sleep 7:16 0.07% 0.07% innxmit
9003 news 28 2 1568K 1192K sleep 0:40 0.04% 0.05% innxmit
28715 news 22 4 3928K 2088K sleep 0:23 0.04% 0.03% nnrpd
20654 news 28 2 1856K 1496K sleep 0:10 0.04% 0.02% innxmit
27643 news 34 0 1160K 880K sleep 0:00 0.02% 0.02% csh
But yet, iostat:
news@hathor:>iostat -x 10 2
extended disk statistics
disk r/s w/s Kr/s Kw/s wait actv svc_t %w %b
sd2 14.2 10.0 105.4 83.1 0.0 1.3 55.2 0 28
sd3 14.0 9.7 104.5 80.9 0.0 1.3 53.8 0 27
sd4 14.1 9.9 105.0 82.3 0.0 1.2 51.8 0 28
sd5 14.0 9.8 104.7 81.5 0.0 1.2 52.4 0 27
sd7 14.1 9.7 103.8 80.4 0.0 1.3 52.8 0 28
sd8 14.1 10.1 104.5 82.8 0.0 1.3 55.1 0 28
sd15 5.4 5.3 128.2 207.2 0.0 1.1 103.4 0 10
sd16 5.4 18.0 50.4 460.2 0.0 1.7 72.6 0 23
extended disk statistics
disk r/s w/s Kr/s Kw/s wait actv svc_t %w %b
sd2 13.6 5.4 106.6 34.2 0.0 0.3 16.4 0 22
sd3 14.6 3.3 105.9 24.0 0.0 0.2 13.5 0 18
sd4 13.3 3.7 92.8 27.4 0.0 0.2 13.7 0 19
sd5 12.3 1.4 90.4 9.0 0.0 0.2 12.4 0 15
sd7 12.8 2.0 90.9 14.7 0.0 0.2 13.3 0 18
sd8 14.8 2.3 99.3 13.3 0.0 0.2 14.4 0 19
sd15 2.3 0.9 18.4 30.4 0.0 0.0 11.5 0 3
sd16 8.8 25.6 84.1 443.4 0.0 1.4 41.4 0 39
The first iostat is the cumulative readings since boot. The second is a
10 second average. sd2-8 are my RAID0 'cudas, and my history and news
config files are on sd15. sd16 is my root and swap disk. Note the %b
(percent busy) column. Also, the svc_t(service time) is in the 11-17ms
range, which is close to the drive's ratings.
The other thing I noticed was that our sprintlink feed (again using
cyclone on a 20), which opens 6 feed channels, is usually waiting to
send articles on a TCP connection with a 0 window (the one my machine
offers it). observe:
netstat | grep sprintlink
hathor.nntp newsfeed.sprintlink.net.37472 64240 0
0 0 ESTABLISHED
hathor.nntp newsfeed.sprintlink.net.37473 64240 0
0 0 ESTABLISHED
hathor.nntp newsfeed.sprintlink.net.37474 64240 0
8859 0 ESTABLISHED
hathor.nntp newsfeed.sprintlink.net.37475 64240 0
0 0 ESTABLISHED
hathor.nntp newsfeed.sprintlink.net.37476 64240 0
0 0 ESTABLISHED
hathor.nntp newsfeed.sprintlink.net.37477 64240 0
0 0 ESTABLISHED
Where only ONE connection is actually sending data, and with a minute
window of 8k!!!
When I did a tcpdump, I witnessed my machine ack'ing segments with a
smaller window size, until it reaches 0, where is starts
re-transmitting.
01:02:20.100688 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 38710
win 24820 (DF)
01:02:20.100997 newsfeed.sprintlink.net.37477 > hathor.nntp: .
38710:40170(1460) ack 311 win 64240 (DF)
01:02:20.101461 newsfeed.sprintlink.net.37477 > hathor.nntp: P
40170:41630(1460) ack 311 win 64240 (DF)
01:02:20.101511 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 41630
win 24820 (DF)
01:02:20.101650 newsfeed.sprintlink.net.37477 > hathor.nntp: .
41630:43090(1460) ack 311 win 64240 (DF)
01:02:20.101961 newsfeed.sprintlink.net.37477 > hathor.nntp: P
43090:44550(1460) ack 311 win 64240 (DF)
01:02:20.102015 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 44550
win 23360 (DF)
01:02:20.102266 newsfeed.sprintlink.net.37477 > hathor.nntp: .
44550:46010(1460) ack 311 win 64240 (DF)
01:02:20.102482 newsfeed.sprintlink.net.37477 > hathor.nntp: P
46010:47470(1460) ack 311 win 64240 (DF)
01:02:20.102535 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 47470
win 20440 (DF)
01:02:20.102921 newsfeed.sprintlink.net.37477 > hathor.nntp: .
47470:48930(1460) ack 311 win 64240 (DF)
01:02:20.103260 newsfeed.sprintlink.net.37477 > hathor.nntp: P
48930:50390(1460) ack 311 win 64240 (DF)
01:02:20.103315 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 50390
win 17520 (DF)
01:02:20.103452 newsfeed.sprintlink.net.37477 > hathor.nntp: .
50390:51850(1460) ack 311 win 64240 (DF)
01:02:20.103750 newsfeed.sprintlink.net.37477 > hathor.nntp: P
51850:53310(1460) ack 311 win 64240 (DF)
01:02:20.103804 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 53310
win 14600 (DF)
01:02:20.113436 newsfeed.sprintlink.net.37477 > hathor.nntp: .
53310:54770(1460) ack 311 win 64240 (DF)
01:02:20.113745 newsfeed.sprintlink.net.37477 > hathor.nntp: P
54770:56230(1460) ack 311 win 64240 (DF)
01:02:20.113801 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 56230
win 11680 (DF)
01:02:20.114061 newsfeed.sprintlink.net.37477 > hathor.nntp: .
56230:57690(1460) ack 311 win 64240 (DF)
01:02:20.114401 newsfeed.sprintlink.net.37477 > hathor.nntp: P
57690:59150(1460) ack 311 win 64240 (DF)
01:02:20.114521 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 59150
win 8760 (DF)
01:02:20.114760 newsfeed.sprintlink.net.37477 > hathor.nntp: .
59150:60610(1460) ack 311 win 64240 (DF)
01:02:20.115055 newsfeed.sprintlink.net.37477 > hathor.nntp: .
60610:62070(1460) ack 311 win 64240 (DF)
01:02:20.115111 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 62070
win 5840 (DF)
01:02:20.115376 newsfeed.sprintlink.net.37477 > hathor.nntp: P
62070:63530(1460) ack 311 win 64240 (DF)
01:02:20.115714 newsfeed.sprintlink.net.37477 > hathor.nntp: .
63530:64990(1460) ack 311 win 64240 (DF)
01:02:20.115771 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 64990
win 2920 (DF)
01:02:20.115908 newsfeed.sprintlink.net.37477 > hathor.nntp: P
64990:66450(1460) ack 311 win 64240 (DF)
01:02:20.116531 newsfeed.sprintlink.net.37477 > hathor.nntp: P
66450:67910(1460) ack 311 win 64240 (DF)
01:02:20.116588 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 67910
win 0 (DF)
01:02:20.303417 newsfeed.sprintlink.net.37477 > hathor.nntp: P
67910:67911(1) ack 311 win 64240 (DF)
01:02:20.303454 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 67910
win 0 (DF)
01:02:20.330719 hathor.nntp > newsfeed.sprintlink.net.37477: P
311:345(34) ack 67910 win 0 (DF)
01:02:20.574511 newsfeed.sprintlink.net.37477 > hathor.nntp: .
67910:67911(1) ack 345 win 64240 (DF)
01:02:20.643751 hathor.nntp > newsfeed.sprintlink.net.37477: . ack 67910
win 0 (DF)
... and I see this behavior ALL the time.
That, of course is bad. Before we switched to 1.5.1, I did a
side-to-side test with an identical machine running cyclone, and it
kicked INN's butt. I've been a news admin now for about 3 years, and
I've used INN for all 3. I'd much rather "fix" my INN server than
switch to another product, especially because it would alleviate the
need for two servers (one for feeds and one for reads). Any help would
be appreciated.
---
Schuyler
--------------6B833CD31CD21D86723AE236
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Schuyler Bishop
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Schuyler Bishop
n: Bishop;Schuyler
org: Sprint
email;internet: schuyler@perseus.utelfla.com
title: ANS Engineer
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
end: vcard
--------------6B833CD31CD21D86723AE236--
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Steinar Haug
Date: Sun, 31 Aug 1997 00:00
Date: Sun, 31 Aug 1997 00:00
34 lines
2253 bytes
2253 bytes
[Schuyler Bishop] | Hi. I've been running INN 1.5.1 now for about 6 months, and at this | point, I'm about ready to throw my hands up in the air (along with my | news box) and switch to Cyclone. We peer with about 4 large providers | (sprintlink, UUNET, MCI, and a smaller BBN feed) on an Ultra 2 | Enterprise with 384 MB RAM, 6 2.1 GB F/W Seagate 'Cudas on their own | single ended wide intelligent SCSI card, and two 200 MHZ Ultrasparc-I | CPUs... and my performance stinks. Our sprintlink feed comes from a | Sparc-20 running Cyclone, and it regularly has a queue of about | 7-800,000 articles. Our daily volume ranges from 1-200,000 articles | accepted, TOTAL from all of our feeds, and that's embarrassing. Compared to our site, you have more CPU power and memory available, and less disk arm movement. We run a 167 MHz Ultra with 256 MB memory, 2 + 4 GB local disk for outgoing, logs and history (and binaries etc), and a NetApp F330 for article and overview spool. We often see 500,000 articles per day, and have no problem keeping up. Things to check: - Have you installed the TCP/IP patches for Solaris? - Are you running crosspost? - Have you checked the size of your control.cancel? - What is the stripe size of your RAID0 config? - You might want to look into Clayton O'Neill's history patches - they dramatically improved our history lookup performance. - How many readers do you have? Have you done anything to reduce the size of the readers, eg. Matt Dillon's patch to mmap the active file? Steinar Haug, Nethelp consulting, sthaug@nethelp.no
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Schuyler Bishop
Date: Sun, 31 Aug 1997 00:00
Date: Sun, 31 Aug 1997 00:00
90 lines
3572 bytes
3572 bytes
This is a multi-part message in MIME format.
--------------9054D39251688CAF3D770E6E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Steinar Haug wrote:
> Compared to our site, you have more CPU power and memory available, and
> less disk arm movement. We run a 167 MHz Ultra with 256 MB memory, 2 + 4
> GB local disk for outgoing, logs and history (and binaries etc), and a
> NetApp F330 for article and overview spool. We often see 500,000 articles
> per day, and have no problem keeping up.
Are you running a log partition? I'm not, but have thought about it.
> Things to check:
>
> - Have you installed the TCP/IP patches for Solaris?
Yes, I have installed the patches... I've also patched my ISP (SCSI), as
well as my HME (Fast Ethernet)... amongst others. I got sunsolve
involved for a bit until they started blaming INN.
> - Are you running crosspost?
I was looking at that yesterday, but I am not running crosspost.
> - Have you checked the size of your control.cancel?
As for the cancel, check this out:
news@hathor:>ls -ld cancel
drwxrwxr-x 2 news news 7378944 Aug 31 19:53 cancel
Wow. rm -r even chokes on it. I take it the size is pretty abnormal?
I did an ls | wc and got about 317,000 articles... I'm gonna work on
deleting them and see if that helps any...
> - What is the stripe size of your RAID0 config?
I'm using a 32 block stripe. Here's my metastat:
d0: Concat/Stripe
Size: 24897600 blocks
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase
c1t2d0s1 0 No
c1t3d0s1 0 No
c1t4d0s1 0 No
c1t5d0s1 0 No
c1t8d0s1 0 No
c1t9d0s1 0 No
> - You might want to look into Clayton O'Neill's history patches - they
> dramatically improved our history lookup performance.
Any pointers to the history patches?
> - How many readers do you have? Have you done anything to reduce the
> size of the readers, eg. Matt Dillon's patch to mmap the active file?
Nope. This is a default install in inn. I only have between 5-15
readers at a time... not too many.
Thanks for the help and reply.
Schuyler
--------------9054D39251688CAF3D770E6E
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Schuyler Bishop
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Schuyler Bishop
n: Bishop;Schuyler
org: Sprint
email;internet: schuyler@perseus.utelfla.com
title: ANS Engineer
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
end: vcard
--------------9054D39251688CAF3D770E6E--
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: coneill
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
19 lines
1349 bytes
1349 bytes
Schuyler Bishop <schuyler@perseus.utelfla.com> writes: > Yes, I have installed the patches... I've also patched my ISP (SCSI), as > well as my HME (Fast Ethernet)... amongst others. I got sunsolve > involved for a bit until they started blaming INN. I assume that the duplex on your hme matches what is set on the switch? If you're talking half duplex to full duplex you'll get tons of network errors, killing your performance. > > - You might want to look into Clayton O'Neill's history patches - they > > dramatically improved our history lookup performance. > > Any pointers to the history patches? The dbz patches are at ftp://ftp.news.erols.com/pub/news/.
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Michael Douglass
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
26 lines
1649 bytes
1649 bytes
: My guess: Large (very large) control.cancel directory, rm -fr it and
: try again.
This is somewhat off 'subject', but worth mentioning. I never realized
for the longest time that expire "times" in expire.ctl could be < 1. Since
we have started to reduce the expire times on control.* by .1 a day, we
have seen our expire time drop from about 6 hours to 3 hours. We are
down to .3 days on control.* and don't plan on stopping until we hit
.1 days. (We don't feed from this innd box, so there is no reason to
even save most of these articles.)
(Just thought I'd say something so that if any other news admins out there
are reading the thread, and they don't realize this either... It can
really help you to drop control.* to a very very low number).
--
Michael Douglass
Texas Networking, Inc.
"For all that you see, there is much hidden from your view;
for all that you know, there is truth yet to be learned."
- Me, some years ago.
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Scott Gifford
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
15 lines
1222 bytes
1222 bytes
> On Solaris 2.x, using "fastfs" during expires also helps tremendously. This is somewhat off-subject too, but how dangerous is running "fastfs" all the time? We have found it more than doubles our news throughput, but is there any danger of losing data and corrupting files from this? Or just the manual fsck at boot that the docs warn of? And can this same speed increase be achieved in other ways, such as with DiskSuite's "ufs logging" or some PrestoServ NVRAMs? Thanks for any info, -------Scott.
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: R. Joyner
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
59 lines
2512 bytes
2512 bytes
Schuyler Bishop wrote in article <340A0A11.74FD9C9D@perseus.utelfla.com>... >I'm using a 32 block stripe. Here's my metastat: > >d0: Concat/Stripe > Size: 24897600 blocks > Stripe 0: (interlace: 32 blocks) > Device Start Block Dbase > c1t2d0s1 0 No > c1t3d0s1 0 No > c1t4d0s1 0 No > c1t5d0s1 0 No > c1t8d0s1 0 No > c1t9d0s1 0 No > If you ask me, this is part of your problem. This output is coming from ODS 4.0, right? There are known performance problems with ODS that make it a less-than-adequate choice for high volume news. It is a full 30% slower than the hardware RAID solution I have, and my RAID can't keep up as it is. :/ Anyway, I would seriously think about hardware RAID or at least consider replacing ODS with Veritas. I tried ODS a while ago for news, and it was an abysmal failure. Also, if you want a really good look at what all is going on with your box, install the Sun Performance Monitoring Toolkit (a.k.a. Virtual Adrian). It will tell you if you are seeing poor DNLC hit rates, if you need to increase NCSIZE, etc. One of the best performance tools for a Sun that I know of. Here's what I've added to my /etc/system over the last few months: * NEWS performance mods - 7/17/97 rjoyner@ais.net * * How often to check buffers before flushing to disk set autoup=360 * time (in seconds) after which buffers will be saved to disk set tune_t_fsflushr=30 * set ufs inode cache size set ufs_ninode=65536 * set directory name lookup cache size set ncsize=98304 HTH /rsj ---- Reece Joyner Sr. Systems Engineer American Information Systems, Inc.
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Casper H.S. Dik - Network Securi...
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
30 lines
1981 bytes
1981 bytes
[[ Mail or post, don't do both ]] Michael Douglass <mikedoug@texas.net> writes: >This is somewhat off 'subject', but worth mentioning. I never realized >for the longest time that expire "times" in expire.ctl could be < 1. Since >we have started to reduce the expire times on control.* by .1 a day, we >have seen our expire time drop from about 6 hours to 3 hours. We are >down to .3 days on control.* and don't plan on stopping until we hit >.1 days. (We don't feed from this innd box, so there is no reason to >even save most of these articles.) Done that for years. You should realize that when you run expire only once a day, you'' need to add half a day to the average retention time. So you might even want to run expire several times a day, only rewriting history one and perhaps only epirng the groups you want to keep really short, like control.cancel. On Solaris 2.x, using "fastfs" during expires also helps tremendously. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Forrest J. Cavalier III
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
36 lines
2088 bytes
2088 bytes
In article <82d8ms4675.fsf@parrot.eecs.umich.edu>, hucka@eecs.umich.edu wrote... > >If you do not feed other sites, then you may want to take the approach of >mv'ing the directory to another name and then rm'ing it every hour or so out >of cron. Do this only if you don't have peers which rely mostly on you for >their news, since deleting the control messages this way means that most of >them won't get propagated to your peers. The control cancel patch is a good one, but I want to emphasize one point about rm -rf on control.cancel: You MUST first mv it to something different, like cancel.rm and THEN rm -rf the moved directory. innd will create the new directory automatically. The cancels which remain unpropagated at the time of the mv, will not be propagated. If you do not mv first, you will not actually shrink the directory size, as innd will be writing new entries while you are running rm -rf. All variants of unix that I am aware of will only GROW directories. So the end result is that you will have the same number of directory entries to look through, but most will be empty. An improvement, but not by much. Sorry if you already knew this. I thought it was important to explain. Forrest Cavalier, Mib Software, INN customization and consulting HTML docs on INN (man pages, troubleshooting,) Usenet, etc: http://www.mibsoftware.com/userkt/forprov.htm
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Michael Hucka
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
44 lines
2815 bytes
2815 bytes
>>>>> On 31 Aug 1997, Schuyler Bishop <schuyler@perseus.utelfla.com> wrote:
schuyler> As for the cancel, check this out:
schuyler> news@hathor:>ls -ld cancel drwxrwxr-x 2 news news 7378944 Aug 31
schuyler> 19:53 cancel
schuyler> Wow. rm -r even chokes on it. I take it the size is pretty
schuyler> abnormal? I did an ls | wc and got about 317,000 articles... I'm
schuyler> gonna work on deleting them and see if that helps any...
Not abnormal, these days, but definitely an impediment to good performance.
There has been a lot of discussion on n.s.n. about this problem.
If you do not feed other sites, then you may want to take the approach of
mv'ing the directory to another name and then rm'ing it every hour or so out
of cron. Do this only if you don't have peers which rely mostly on you for
their news, since deleting the control messages this way means that most of
them won't get propagated to your peers.
A better (IMHO) approach is to use one of the two patches offered by others
for this problem. One is Joe Greco's patch for changing how cancel messages
are stored on the disk. You can get it from
http://www.nntp.sol.net/patches/
I use this here, but I must warn you about one problem I'm having: the cancel
control messages are not getting expired. Right now I'm manually going in
and deleting bunches of them every couple of days. I *think* I know what the
problem is, and want to make suitable changes to the patch so that expiration
will happen normally. But I haven't had time yet.
The other patch is a more general patch that uses the same idea. It changes
the directory structure used by INN for all articles. It was posted to
n.s.n. by Heiko Rupp on 18 July 1997; you can probably find a copy through
DejaNews, or else mail me and I'll send you a copy.
--
Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University
PhD to be, computational models of human visual processing (AI Lab) of
UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Casper H.S. Dik - Network Securi...
Date: Wed, 03 Sep 1997 00:00
Date: Wed, 03 Sep 1997 00:00
26 lines
1778 bytes
1778 bytes
[[ Reply by email or post, don't do both ]] "Scott Gifford" <sgifford@tir.com> writes: >> On Solaris 2.x, using "fastfs" during expires also helps tremendously. > This is somewhat off-subject too, but how dangerous is running "fastfs" >all the time? We have found it more than doubles our news throughput, but >is there any danger of losing data and corrupting files from this? Or just >the manual fsck at boot that the docs warn of? And can this same speed >increase be achieved in other ways, such as with DiskSuite's "ufs logging" >or some PrestoServ NVRAMs? Just the manual fsck (which may need a lot of fixing). Logging should help similarly. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Chris Bellomy
Date: Thu, 04 Sep 1997 00:00
Date: Thu, 04 Sep 1997 00:00
22 lines
1626 bytes
1626 bytes
Mike Horwath <drechsau@yuck.net> wrote: : Charles <charles@backfire.mn.org> wrote: : : Casper H.S. Dik - Network Security Engineer <Casper.Dik@Holland.Sun.Com> wrote: : : : Just the manual fsck (which may need a lot of fixing). : : I thought I read a post once that said that if a system crashed when the file : : system had been set to fast, that fsck may not be able to bring it back, : : and a newfs would be required. : Tis one of the fastest expires ever: newfs In that case the ultimate CNFS should require a different filesystem for each day of articles. :) -- Chris Bellomy FlashNet Communications Manager of Server Operations Fort Worth, Texas cbellomy@flash.net (817)332-8883
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Matt Dillon
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
24 lines
1662 bytes
1662 bytes
:In article <5up9kd$ku9$1@news.cmc.net>, brian moore <bem@news.cmc.net> wrote:
:>
:>In article <w4bu273m9q.fsf@loiosh.kei.com>,
:> Christopher Davis <ckd@loiosh.kei.com> writes:
:>> There's also some sort of filesystem compression driver involved, I
:>> think; I've pumped a full feed into it and there's still plenty of disk
:>> space left! Like you, our history and log are going there, and I think
:>> I'll mount the overview database that way as well.
:>
:>What's better: it makes news spam free for the first time in years.
I wonder if we can apply this solution to email servers and email SPAM.
Has anyone tried mounted /var/spool/mqueue onto /dev/null ?
There are also some odd wires hanging out the back of the machine. I
ripped one out and the monitor went blank. "That's no good!", I said!
So I put that one back in and ripped another one out. The load dropped
to 0.01 and monitor still worked!!!
-Matt
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: Alexis Rosen
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
44 lines
2895 bytes
2895 bytes
Chris Bellomy <cbellomy@excalibur.flash.net> writes: >Mike Horwath <drechsau@yuck.net> wrote: >: Charles <charles@backfire.mn.org> wrote: >: : Casper H.S. Dik - Network Security Engineer <Casper.Dik@Holland.Sun.Com> wrote: >: : : Just the manual fsck (which may need a lot of fixing). >: : I thought I read a post once that said that if a system crashed when the file >: : system had been set to fast, that fsck may not be able to bring it back, >: : and a newfs would be required. >: Tis one of the fastest expires ever: newfs >In that case the ultimate CNFS should require a different filesystem >for each day of articles. :) Yeah, and the next guy used /dev/null... but even though you jest, this is not inherently unreasonable if you're *not* using CNFS. If you were to have a separate fs for each day, you could union-mount them all together. Then expiry would involve pausing the server, unmounting all of the news fses, newfsing the oldest one, and remounting them (most recent on top of the stack). Performance when reading old articles would suffer, but when you consider that most article reads are on articles received in the last day or two, it doesn't look bad at all. I played with this very briefly a couple of years ago. It looked like it would work fine, but for a few things: 1) You need a correct directory structure on each disk in the stack. So you really have to have a spare disk and prebuild the dir tree before you unmount. Then you can do the newfs after the remount instead of before. This isn't a big problem, but if you screw it up, you'll see *seriously* strange results with articles expiring on the wrong days (too early). 2) Growing the spool becomes a *huge* bitch of a job, unless you're just trying to extend the expire period. 3) The system I was using had serious bugs in the union fs support... I think that given CNFS, there's little reason for this these days. But it was a fun idea... /a
Re: INN 1.5.1 performance on Solaris 2.5.1
Author: brian moore
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
14 lines
1512 bytes
1512 bytes
In article <5untrb$gbi$1@gremlin.backfire.mn.org>, Charles <charles@backfire.mn.org> writes: > Wouldn't mounting the news spool onto /dev/null be even quicker? Wow, I did that and artwrite is now damned fast. I'll move the history and log files there, too and that should speed things up a lot. -- Brian Moore The opinions expressed above are my own, not Sysadmin, C/Perl Hacker necessarily my employers'.
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