Article View: news.software.nntp
Article #10373Re: Probs with innfeed 0.8.5b on Solaris
From: Joe Greco
Date: Fri, 23 Aug 1996 00:00
Date: Fri, 23 Aug 1996 00:00
67 lines
3372 bytes
3372 bytes
In news.software.nntp article <4vkoso$jvq@news.demos.su>, andy@snm.demos.su (Andrew A. Vasilyev) wrote: :Joe Greco (jgreco@brasil.moneng.mei.com) wrote: :> : And did they repair FreeBSD broken mmap()? :> It's not broken, and I don't think it ever has been. It does not work : : Never say never :) When mmap() appeared in Free it never (:-)) : updated mtime of the file you've mmaped. And msync() has 2 arguments, : not 3, and now it supports only one flag, not three of SunOS/etc... Everybody's mmap() is a little different. :> the way SunOS does when expanding files, but that's because INN relies :> on a particular behavior that may or may not be a correct assumption to :> make. : : Well, and when you see a garbage between the last line of active and : next 8K bound - is it your own way to go? I don't see the garbage. Because these days I use READ, since I couldn't tell the difference when I checked to see if there was any advantage to using MMAP... if two things are essentially equal in performance, and one works well, and one may have problems due to implementation, which do you use? : Every newsadmin using FreeBSD : (and reading FAQ or active :)) set ACT_STYLE to READ, not MMAP - and : this is the way you go under Free :((( And what's the problem with that? :> :options EXTRAVNODES=1 :> Where do you see THAT??? I don't see it on 2.1.5 or 2.1.0... : : Hmm, I use 2.2-CURRENT kernel now (due to ccd absence in 2.1.5), No ccd in 2.1.5? Check again. : and probably there was no EXTRAVNODES that time too. :((( : Now we have it. : :> : By the way: our Solaris box mmaped 55,000+ files with virtual size :> : of 501M :))) :> I suppose I could too if I cranked up a few numbers in /etc/sysconfig, or :> added more RAM... : : You need NO extra RAM when you have mmap() working (in the right way :)) - Solaris drives certain values based on the amount of RAM. RAM _does_ affect the number of files you can map, as far as I am aware. Or you can tweak it in /etc/sysconfig. : all these terrible Megabytes are in fact the sum of those files you : mmaped, nothing in RAM. And the final figures I've got are 61,131 files : with 503M - IMHO enough for innfeed if we remember the start of this : thread :))) And those box has empty /etc/system. :))) But you are missing the point. The goal _IS_ to retain as much possible in RAM. Sure, mmap() is more efficient on a memory-starved system, but in reality the ideal is to read an article ONCE off the disk and keep it in core. mmap() just happens to be more efficient than reading articles into a zillion buffers :-) ... JG
Technical Details
Message-ID:
<4vktnc$qej@brasil.moneng.mei.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:
<4vc7hk$sjj@news2.cais.com> <4vkd63$n7k@news.demos.su> <4vkjqu$pt9@brasil.moneng.mei.com> <4vkoso$jvq@news.demos.su>Show Full Headers
Complete Article Headers
Message-ID: <4vktnc$qej@brasil.moneng.mei.com> Subject: Re: Probs with innfeed 0.8.5b on Solaris Date: Fri, 23 Aug 1996 00:00:00 +0000 From: jgreco@brasil.moneng.mei.com (Joe Greco) References: <4vc7hk$sjj@news2.cais.com> <4vkd63$n7k@news.demos.su> <4vkjqu$pt9@brasil.moneng.mei.com> <4vkoso$jvq@news.demos.su> 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: 176015114 Distribution: inet Organization: Marquette Electronics, Inc. - Milwaukee, WI. Newsgroups: news.software.nntp