Thread View: news.software.nntp
4 messages
4 total messages
Started by Ken Leland
Sun, 10 Aug 1997 00:00
MMAP_SYNC on BSD/OS 3.0
Author: Ken Leland
Date: Sun, 10 Aug 1997 00:00
Date: Sun, 10 Aug 1997 00:00
8 lines
625 bytes
625 bytes
Is BSDI's BSD/OS 3.0 mmap debugged enough to support MMAP_SYNC = DO in INN1.5.1? Ken Leland Monmouth Internet
Re: MMAP_SYNC on BSD/OS 3.0
Author: 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
Re: MMAP_SYNC on BSD/OS 3.0
Author: R. Joyner
Date: Mon, 11 Aug 1997 00:00
Date: Mon, 11 Aug 1997 00:00
52 lines
2230 bytes
2230 bytes
Brian Young wrote: > On 10 Aug 1997 00:26:07 -0400, kwl@shell.monmouth.com (Ken Leland) > wrote: > > >Is BSDI's BSD/OS 3.0 mmap debugged enough to support > >MMAP_SYNC = DO in INN1.5.1? > > I am not the expert on this subject, but I seemed to have problems > when I did this. And others have confirmed this to me and in this news > > group. I myself am not completly satified that it does not, but until > > INND settles down, I can't test the MMAP like I want to. > 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 support didn't have much to say on the subject either. :( So..that box has been retired (temporarily) until I can switch it over to Solaris x86. At least I know MMAP() almost works there. Bye-Bye, BSDi. BTW: tcp based NFS between BSDi 3 (client) and Solaris 2.5.1 (server) was so bad, it was virtually unusable. Version 2 udp NFS worked better, but performance was still pretty horrid. These are just my personal experiences, I'm sure others have had better luck. /rsj > byoung@oru.edu > Brian Young > Internet Systems Admin > Oral Roberts University > -- Reece Joyner Senior Systems Engineer rjoyner@ais.net American Information Systems, Inc. http://www.ais.net
Re: MMAP_SYNC on BSD/OS 3.0
Author: Brian Young
Date: Mon, 11 Aug 1997 00:00
Date: Mon, 11 Aug 1997 00:00
20 lines
1157 bytes
1157 bytes
On 10 Aug 1997 00:26:07 -0400, kwl@shell.monmouth.com (Ken Leland) wrote: >Is BSDI's BSD/OS 3.0 mmap debugged enough to support >MMAP_SYNC = DO in INN1.5.1? I am not the expert on this subject, but I seemed to have problems when I did this. And others have confirmed this to me and in this news group. I myself am not completly satified that it does not, but until INND settles down, I can't test the MMAP like I want to. byoung@oru.edu Brian Young Internet Systems Admin Oral Roberts University
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