From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2e34ec8a2eb4f8b1 X-Google-Attributes: gidf7344,public X-Google-Thread: fa528,2e34ec8a2eb4f8b1 X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,2e34ec8a2eb4f8b1 X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-29 23:09:53 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!bstnma1-snf1.gtei.net!news.gtei.net!news.mv.net!not-for-mail From: "Bill Todd" Newsgroups: comp.arch,comp.os.vms,comp.unix.tru64 Subject: Re: IA64 volume and low-end dominance Date: Mon, 30 Jul 2001 02:09:12 -0400 Organization: Why won't Outlook let me leave this blank? Message-ID: <9k2tnd$76u$1@pyrite.mv.net> References: <9iaevf$39o$1@pyrite.mv.net> <9ibj2h$9nt$1@lisa.gemair.com> <9k1e5g$lic@web.nmti.com> <9k25j2$l65$1@pyrite.mv.net> NNTP-Posting-Host: bnh-1-31.mv.com X-Trace: pyrite.mv.net 996473389 7390 199.125.99.31 (30 Jul 2001 06:09:49 GMT) X-Complaints-To: abuse@mv.com NNTP-Posting-Date: 30 Jul 2001 06:09:49 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.arch:14734 comp.os.vms:38297 comp.unix.tru64:3927 "George Coulouris" wrote in message news:slrn9m9iqm.fe1.glc+spam@adams.patriot.net... > On Sun, 29 Jul 2001 19:17:18 -0400, Bill Todd wrote: ... > >Such use of mmap is a Unixism, and Unix has typically lagged a decade or > >three behind when it comes to high-performance disk access (extent-based > >file systems, which date at least back to the early 1970s and likely far > >earlier, are still the exception rather than the rule). I doubt that > >high-end databases can throw away performance to that degree and remain > >competitive. Low-end databases may be able to, but then low-end databases > >far less frequently need the larger address space. > > I use MapViewOfFile() as a drop-in replacement for mmap() under w2k. > Does pretty well. The question is, pretty well at what? There are certainly applications that can use this effectively (as well as applications where it's a really bad idea), but typically databases (the area that was being discussed) have a pretty well-defined means of accessing data: it resides in structured pages of one or a few fixed sizes, these pages are often accessed randomly, and when written back to the database they're written in a tightly-controlled manner (and usually in page units) w.r.t. log file writes. Mapped access as typically implemented in Unix (and in Windows) doesn't meet these requirements well; neither do 'single-level store' approaches such as those used in System/38 and its descendants unless the normal access methods are supplemented with mechanisms to control such activity more finely. - bill