🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13331

Re: MMAP question

#13331
From: Joe Shamblin
Date: Tue, 17 Dec 1996 00:00
45 lines
2557 bytes
Naeem Bari <naeem@rusty.wustl.edu> writes:

> I am installing INN on a Sol 2.5.1 box with 256MB RAM, and was trying to
> decide whether to configure it to use memory mapping (INN has an option
> which allows it to use mem mapping or go through the standard read/write
> interface). So my questions are:

This is really a question for the news.software.nntp people, but I think 
that you would insane to not use the MMAP function when today's newsfeeds 
are up over 4 gig/day. At this rate every read/write counts! It also 
decreases the response times.

>  - Could someone please direct me to some detailed info on mem mapping?

There is not much info, well besides the source code. ;^)

>  - Exactly what performance tradeoffs, if any, am I looking at by going
>    one way or the other?

The big plus is avoiding the extra reads/writes.

>  - What happens when the system gets low on memory? Is mem mapping
>    costlier than the read/write interface then?

I have not had a problem with this at all. I have no hard stats, but
perhaps one of the news.software.nntp readers will have.

> p.s: on a totally unrelated note, for those who constantly compare
> pentiums and ultras, i rendered a 640x480 image yesterday on an Ultra 1
> 140 (the lowliest Ultra) and a Pentium 166MHz. It took 1 minute 30 secs to
> render on the Ultra, and 8 mins 30 secs on the pentium. just thought you'd
> like to know...

This may or may be a factor of the CPU. We have about 35 PPro 200s
installed, and my experiences have been just the opposite. Compiles
of routine things like gcc, perl, etc... are faster on the PC.

Joe

-- 
Joe Shamblin		Electron Clearing House		wjs@electron.net
Have socket will travel					www.electron.net

Technical Details
Message-ID: <x7iv61lm7y.fsf@quanta.electron.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.admin.mbox.zip!not-for-mail
References: <Pine.SV4.3.94.961216155111.760D-100000@rusty.wustl.edu>

Show Full Headers
Complete Article Headers
Message-ID: <x7iv61lm7y.fsf@quanta.electron.net>
Subject: Re: MMAP question
Date: Tue, 17 Dec 1996 00:00:00 +0000
From: Joe Shamblin <wjs@quanta.electron.net>
References: <Pine.SV4.3.94.961216155111.760D-100000@rusty.wustl.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.admin.mbox.zip!not-for-mail
X-Deja-AN: 204521072
Distribution: inet
Sender: wjs@quanta
Content-type: text/plain; charset=US-ASCII
Organization: Duke University Department of Computer Science
Mime-version: 1.0 (generated by tm-edit 7.94)
Newsgroups: comp.unix.solaris,comp.sys.sun.admin,news.software.nntp