Article View: news.software.nntp
Article #20372Re: MMAP_SYNC on BSD/OS 3.0
From: Ken Leland
Date: Mon, 11 Aug 1997 00:00
Date: Mon, 11 Aug 1997 00:00
60 lines
3603 bytes
3603 bytes
In article <33EF3C39.7E504B96@ais.net>, R. Joyner <rjoyner@ais.net> wrote: > >Well...I tried it...and it worked..kind of.I put in some patches to MMAP >the active file and the NOV database within NNRPD (my client box was a >BSDi machine running over an NFS mount). It worked, but it was slower >than I would have liked (probably a NFS bottleneck here), and my logs >were flooded with the ever-popular nnrpd[]: Your MMAP() implementation >sucks! This was the case both with and w/o MMAP_SYNC. BSDi tech > Well I took the plunge 28 Hours ago and set MMAP_SYNC to DONT on my BSD/OS 3.0 news box. (I trust that is the more aggressive setting) So far all is well, running INN1.5.1 with some basic patches (apb scheduling, garzik history, dillon mmapped nnrpd, greco timers). I've been running with decent (20+ percent) idle time since I put in the history cacheing patch, although I needed to quadruple its size for my wide-ranging feed timeliness assortment. I've got a couple of incoming full-feed diablo/cyclone backbone monsters, among other feeds, so its neat to still have idle time and keep good nnrpd performance (100 nnrpd). Of course I'm not trying to do mmapping over nfs! On another note, It seems like everything in the inner innd loop has been beaten (by the news gurus) into shape one-by-one (crosslinks, overchan, history lookups) and now, by in large, the only thing remaining is article writes. It seems pretty clear that you can have a decent (10) collection of cudas that are loafing (20 percent of seek limiting) and still be heavily utilizing inner-loop idle real-time with very low times for everything but ARTwrite. 'Course you could make the disks even faster to help ARTwrite but that is not a very efficient utilization of hardware. If we had a separate forking ARTwriter than I suspect that the dread innd innerloop bottleneck would be given another mightly blow. Then when I notice that I am on the verge of not-keeping up, I would also notice that one (or more) of my disks was being 100/sec seek pounded and I would add to my disk pile. Thats ok, thats just news as usual. Rewriting ARTwrite doesn't seem like it would be too terrible, but the kicker is how to make the rest of the system live with the fact that an article would not be actually written when the new ARTwrite returned. Here is where some expert innd advice would be most helpful. My naive thinking is a choice between putting a tryagain/sleep clause in the ancillary programs (innfeed, crosslink, etc) or putting a feedback stream from the new parallel articlewriter back to a point in the guts of innd somewhere so that articles are not passed to the ancillary programs until they are actually written. The second choice seems preferable, if doable, since it involves fewer programs. Apologies, if this is old, well worn, ground. I'm pretty new to news. Ken Leland Monmouth Internet
Technical Details
Message-ID:
<5snkaj$oh0@shell.monmouth.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5sjfsv$o7o@shell.monmouth.com> <33ef2130.145754020@news.oru.edu> <33EF3C39.7E504B96@ais.net>Show Full Headers
Complete Article Headers
Message-ID: <5snkaj$oh0@shell.monmouth.com> Subject: Re: MMAP_SYNC on BSD/OS 3.0 Date: Mon, 11 Aug 1997 00:00:00 +0000 From: kwl@shell.monmouth.com (Ken Leland) References: <5sjfsv$o7o@shell.monmouth.com> <33ef2130.145754020@news.oru.edu> <33EF3C39.7E504B96@ais.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 264833071 Distribution: inet Organization: A poorly-installed InterNetNews site Newsgroups: news.software.nntp