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-30 05:00:05 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-nue1.dfn.de!news-han1.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!businessnews.de.uu.net!not-for-mail Message-ID: <3B654331.3B35B9ED@mikron.de> Date: Mon, 30 Jul 2001 13:21:21 +0200 From: Bernd Paysan X-Mailer: Mozilla 4.77 [de] (X11; U; Linux 2.4.4-4GB i686) X-Accept-Language: de, en MIME-Version: 1.0 Newsgroups: comp.arch,comp.os.vms,comp.unix.tru64 Subject: Re: IA64 volume and low-end dominance References: <9iaevf$39o$1@pyrite.mv.net> <9ibj2h$9nt$1@lisa.gemair.com> <9k1e5g$lic@web.nmti.com> <9k25j2$l65$1@pyrite.mv.net> <9k2tnd$76u$1@pyrite.mv.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: Customer of UUNET Deutschland GmbH NNTP-Posting-Host: 194.139.17.38 X-Trace: 996494403 businessnews.de.uu.net 267 194.139.17.38 X-Complaints-To: abuse@de.uu.net Xref: archiver1.google.com comp.arch:14747 comp.os.vms:38333 comp.unix.tru64:3938 Bill Todd wrote: > 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. man msync You can tightly control your write-back times, at least within sync points ("must be written before"). With log-structured writes, you typically first announce updates into the log, then write the log, and then update the in-core database pages; before starting the next log, sync the updated pages. If you use mmap without any sort of madvice or automatic prefetch, you better stick to the CPU's page size for your data base. And current pages are either too small or too large (4k vs. 4M). -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/