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: 102b75,2e34ec8a2eb4f8b1 X-Google-Attributes: gid102b75,public X-Google-Thread: fa528,2e34ec8a2eb4f8b1 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-07-30 06:59:25 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!newsfeed1.telenordia.se!algonet!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.uninet.ee!news.ut.ee!not-for-mail From: Sander Vesik Newsgroups: comp.arch,comp.os.vms,comp.unix.tru64 Subject: Re: IA64 volume and low-end dominance Date: Mon, 30 Jul 2001 13:58:33 +0000 (UTC) Message-ID: <996501519.413409@haldjas.folklore.ee> 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: haldjas.folklore.ee X-Trace: kadri.ut.ee 996501513 20454 193.40.6.121 (30 Jul 2001 13:58:33 GMT) X-Complaints-To: usenet@kadri.ut.ee NNTP-Posting-Date: Mon, 30 Jul 2001 13:58:33 +0000 (UTC) User-Agent: tin/pre-1.4-19990413 ("Endemoniada") (UNIX) (FreeBSD/4.3-RELEASE (i386)) Cache-Post-Path: haldjas.folklore.ee!unknown@localhost X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.arch:14755 comp.os.vms:38347 comp.unix.tru64:3942 In comp.arch Bill Todd wrote: > "George Coulouris" wrote in message > news:slrn9m93gf.64f.glc+spam@adams.patriot.net... >> On 29 Jul 2001 16:38:08 GMT, Peter da Silva wrote: >> [snip] >> > >> >In the 64-bit arena, it's large sparse address spaces for high-end > databases. >> > >> >> I'd go so far as to generalize this to dense address spaces as well. It's >> handy to use mmap() to pull in data. > Handy, possibly. Inefficient, usually, since mmap doesn't know the size of > the chunk of data you need and unless the system's page-fetch algorithm just > happens to correspond with that size you'll either perform multiple fetches > from disk for a single chunk or fetch more than you need. And when it comes > time to write the data, you almost always need fine control over when, and > how much, hits the disk. Or you cpould possibly use mmap together with madvise and not have the problem... > 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. Well, I doubt databases mmap their data 8-) > - bill -- Sander +++ Out of cheese error +++