Thread View: news.software.nntp
1 messages
1 total messages
Started by Charlie Codewanker
Thu, 18 Jan 2001 23:39
Re: innfeed timer patches..
Author: Charlie Codewanker
Date: Thu, 18 Jan 2001 23:39
Date: Thu, 18 Jan 2001 23:39
46 lines
3436 bytes
3436 bytes
[none of the recent posts I've made seem to be appearing, even though sendmail -v shows a successful delivery to all recipients, so I'm moving this to a forum where I can better participate] :: here is a patch that adds a timer to gather innfeed profiling data. There's :: inn.conf. It covers ~99% of the total time on my server. Here is a sample :: for about one hour and two innfeeds running : :: INNfeed timer: :: Code region Time Pct Invoked Min(ms) Avg(ms) Max(ms) :: article read 00:09:07.479 6.3% 52049 0.338 10.519 47.055 [klippage] :: idle 02:13:01.870 91.7% 1071489 4.258 7.449 1174.270 :: TOTAL: 02:25:05 02:23:30.964 98.9% - - - - Interesting. What I wonder is how do these numbers change as you use innfeed in different configurations. For example, we run separate non-binaries and binariez transit machines, and there is a huge difference between where innd chooses to spend its time. Similarly, an innfeed on a non-binaries machine with a lot more peers, taking about 15 to 20 articles/sec in, uses negligible CPU time compared with the innfeeds on our pr0n+war3z boxen, handling 10 articles/sec, 10GB incoming/hour, to a much smaller number of peers. Adjusting the number of binariez peers, which has had a success with the non-binariez innfeeds to reduce CPU, makes no real difference for the binariez feeds. I've been randomly guessing that there's a way of reading in the data by innfeed that is comparable to the inefficient way that innd does its article reads that take up most of the time on a well-tuned swerver (after article writes to a single slow disk). Now, if I really wanted an answer to this question, since I have no idea how your innfeed is configured, I'd add these patches to the transit boxen here and collect the data myself, but... Do you keep backlogs for peers and read articles back off the disk many minutes to hours after they arrive? This is one thing known to drag innfeed's single-threaded performance down to unsatisfactory levels. But I won't worry about it -- our machines are performance-limited by innd, and I see no innfeed performance problems here. Besides, Not My Problem[tm]
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