From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10807170711r3a7f4483s59f40f46a9cbd902@mail.gmail.com> Date: Thu, 17 Jul 2008 07:11:46 -0700 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13426df10807170555s746fa829p130970922058f692@mail.gmail.com> Subject: Re: [9fans] 8 cores Topicbox-Message-UUID: ea968d88-ead3-11e9-9d60-3106f5b1d025 On Thu, Jul 17, 2008 at 6:45 AM, erik quanstrom wrote: > i haven't found this to be the case. it's not always the case. > > in a former life, one i'd rather forget, i did > full text search. > > in order to return the full text, we had to go > get the document. due to the very crappy > nature of ext2, it was not feasable to store > the documents individually. they had to > be bundled up in chunks of about 1gb. > > being young and easily distracted by shiny > bits, i decided to use mmap. A very bad mistake for streaming data. > as to using mmap for memory management, > that confuses me. it's like saying the os should > provide linked lists, because developers can't do > it. isn't part of the argument here that applications > know better how to manage buffers? > In certain cases, the OS memory management for pages can be exploited and it can do a good job for you. Not in all cases of course. ron