Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "W Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Alpha Linux Memory size?
Date: Tue, 08 Aug 2000 19:10:08 -0500	[thread overview]
Message-ID: <3990A160.1C0BE646@paralleldata.com> (raw)
In-Reply-To: 20000808223824.609F56F5D@tes-mail.jpl.nasa.gov

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




  reply	other threads:[~2000-08-08 23:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-08 22:38 Alpha Linux Memory size? Eugene Chu
2000-08-09  0:10 ` W Bauske [this message]
2000-08-09  1:56 ` Paul Jakma
  -- strict thread matches above, loose matches on Subject: below --
2000-08-09 21:29 Eugene Chu
2000-08-10  0:50 ` Paul Jakma
2000-08-08  1:26 Eugene Chu
2000-08-08  1:49 ` Greg Lindahl
2000-08-08 17:38   ` Adam C Powell IV
2000-08-08 18:08     ` Jeff Sturm
2000-08-08 21:26     ` Ross A Knepper
2000-08-08  0:31 Eugene Chu
2000-08-08  0:45 ` Greg Lindahl
2000-08-08 14:07   ` Jay Estabrook
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox