Thread View: news.software.nntp
8 messages
8 total messages
Started by David Carmean
Mon, 28 Jul 1997 00:00
innd: how often is active file written out?
Author: David Carmean
Date: Mon, 28 Jul 1997 00:00
Date: Mon, 28 Jul 1997 00:00
44 lines
2058 bytes
2058 bytes
I'm trying to figure out exactly where my innd is dragging it's feet.
Running a trace on the process seems to show that writing the
active file is taking huge amounts of time, and it seems to write the
entire 1.2MB file for each article received. I guess the file
should be in the disk cache, but I'm seeing times of .2, .3, even
.5 seconds to write the file.
No way I can support a decent set of incoming feeds at that rate.
Writing out the entire file for each article seems an incredible waste.
Is something broken? I'm still running 1.4unoff4.
Example trace follows:
156 innd 0.031743 CALL lseek(0xe,0,0,0,0)
156 innd 0.000991 RET lseek 0
156 innd 0.000034 CALL write(0xe,0x1412000,0x12fb5b)
156 innd 0.073451 GIO fd 14 wrote 1243995 bytes
"3b 0000000929 0000000905 y
3b.config 0000000739 0000000730 y
3b.misc 0000000989 0000000970 y
3b.tech 0000000281 0000000279 y
3b.test 0000001090 0000001079 y
3do.bad-attitude 0000000335 0000000331 y
43 0000000165 0000000164 y
5col.announce 0000000613 000000"
156 innd 0.517570 RET write 1243995/0x12fb5b
^^^^^^^^
!!
Thanks.
--
David Carmean <dlc@avtel.net>
Avtel Communications, Santa Barbara, CA +1-805-730-7740
Opinions herein are those of the author only, unless otherwise noted
"Karma Police, arrest this man!"
--Radiohead
Re: innd: how often is active file written out?
Author: Heiko W.Rupp
Date: Mon, 28 Jul 1997 00:00
Date: Mon, 28 Jul 1997 00:00
12 lines
947 bytes
947 bytes
In <5rif1o$14c@ocean.silcom.com>, David Carmean wrote:
|entire 1.2MB file for each article received. I guess the file
What version of inn? There was this bug in something before 1.5.1
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
It is also posted regularly to news.software.{b,nntp} and news.answers.
Re: innd: how often is active file written out?
Author: Joe Greco
Date: Mon, 28 Jul 1997 00:00
Date: Mon, 28 Jul 1997 00:00
22 lines
1466 bytes
1466 bytes
In news.software.nntp article <5rif1o$14c@ocean.silcom.com>, David Carmean <dlc@silcom.com> wrote: : :I'm trying to figure out exactly where my innd is dragging it's feet. : :Running a trace on the process seems to show that writing the :active file is taking huge amounts of time, and it seems to write the :entire 1.2MB file for each article received. I guess the file :should be in the disk cache, but I'm seeing times of .2, .3, even :.5 seconds to write the file. : :No way I can support a decent set of incoming feeds at that rate. : :Writing out the entire file for each article seems an incredible waste. :Is something broken? I'm still running 1.4unoff4. You can set it to write it out after every "N" articles - where N is 10 by default, I believe. I use 120. "ICD_SYNC_COUNT" in config.data. ... JG
Re: innd: how often is active file written out?
Author: James Brister
Date: Mon, 28 Jul 1997 00:00
Date: Mon, 28 Jul 1997 00:00
14 lines
956 bytes
956 bytes
David Carmean <dlc@silcom.com> writes: > Writing out the entire file for each article seems an incredible waste. > Is something broken? I'm still running 1.4unoff4. This was a bug that got fixed in 1.5. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: innd: how often is active file written out?
Author: brian moore
Date: Mon, 28 Jul 1997 00:00
Date: Mon, 28 Jul 1997 00:00
25 lines
1590 bytes
1590 bytes
In article <5rif1o$14c@ocean.silcom.com>, David Carmean <dlc@silcom.com> writes: > > Running a trace on the process seems to show that writing the > active file is taking huge amounts of time, and it seems to write the > entire 1.2MB file for each article received. I guess the file > should be in the disk cache, but I'm seeing times of .2, .3, even > .5 seconds to write the file. > > No way I can support a decent set of incoming feeds at that rate. You're right. > Writing out the entire file for each article seems an incredible waste. > Is something broken? I'm still running 1.4unoff4. Have you tried with MMAP turned on? That should speed up things greatly if your OS supports it (most do these days). -- Brian Moore The opinions expressed above are my own, not Sysadmin, C/Perl Hacker necessarily my employers'.
Re: innd: how often is active file written out?
Author: David Carmean
Date: Mon, 28 Jul 1997 00:00
Date: Mon, 28 Jul 1997 00:00
26 lines
1388 bytes
1388 bytes
James Brister <brister@vix.com> wrote: : David Carmean <dlc@silcom.com> writes: : > Writing out the entire file for each article seems an incredible waste. : > Is something broken? I'm still running 1.4unoff4. : This was a bug that got fixed in 1.5. OK, well short-term, I've been made aware of the ICD_SYNC_COUNT config parameter. Whoever created the FreeBSD template I used had set it to "1"; I've bumped it to 100, and now at least I'm blocking elsewhere. Thanks. -- David Carmean <dlc@avtel.net> Avtel Communications, Santa Barbara, CA +1-805-730-7740 Opinions herein are those of the author only, unless otherwise noted "Karma Police, arrest this man!" --Radiohead
Re: innd: how often is active file written out?
Author: Fabien Tassin
Date: Tue, 29 Jul 1997 00:00
Date: Tue, 29 Jul 1997 00:00
11 lines
747 bytes
747 bytes
Heiko W.Rupp wrote: > > What version of inn? There was this bug in something before 1.5.1 even in 1.5 ? Are you sure ? -- Fabien Tassin -=- tassin@eerie.fr
Re: innd: how often is active file written out?
Author: Heiko W.Rupp
Date: Wed, 30 Jul 1997 00:00
Date: Wed, 30 Jul 1997 00:00
14 lines
1060 bytes
1060 bytes
Fabien Tassin wrote:
|> What version of inn? There was this bug in something before 1.5.1
|even in 1.5 ? Are you sure ?
James wrote that it was before 1.5. I was not exactly sure when, so I decided
to write 1.5.1 as this is at least true :)
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
It is also posted regularly to news.software.{b,nntp} and news.answers.
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