From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 3888F2F047 for ; Tue, 8 Aug 2000 19:42:56 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id TAA12319 for axp-list@listman.redhat.com; Tue, 8 Aug 2000 19:42:56 -0400 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA12315 for ; Tue, 8 Aug 2000 19:42:53 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Tue, 08 Aug 2000 18:50:28 -0500 Received: by paralleldata.com from paralleldata.com (24.15.240.182::mail daemon; unverified,SLMail V2.5); Tue, 08 Aug 2000 18:50:26 -0500 Message-ID: <3990A160.1C0BE646@paralleldata.com> Date: Tue, 08 Aug 2000 19:10:08 -0500 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Alpha Linux Memory size? References: <20000808223824.609F56F5D@tes-mail.jpl.nasa.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Eugene Chu wrote: > > To alleviate the problem of insufficient physical memory, we are > attempting to do our own memory management using large files. Since we > know exactly how our program uses its data, we can use separate threads > to perform write-behinds or read-aheads to keep data not currently used > on disk. But the bugger here is that file I/O uses file system cache, > and CPU cycles to copy between user space and file system cache. So, > we're looking into using raw partitions as our disk buffers. At least > on Solaris, I/O to raw disk partitions seems to require no system > buffering whatsoever, so no memory is being used, and no CPU cycles are > wasted in copying between user space and system cache. > > thanks again for all the inputs, and further comments are welcome. > I regularly run programs using 8-10GB of temp file space on 1GB physical memory systems without trouble using normal ext2 FS I/O. I'd suggest you run some tests with standard I/O before deciding if you need something exotic. Nothing like really running the code to decide if it needs fixing. The only real trick is making your I/O as regular as possible so the system caching works for you, not against you. I do leave a couple hundred MB of memory for I/O caching. The amount would depend on what your algorithm does to the file. Wes