Re: Application Object Replacement

From: Google Mike (googlemike_at_hotpop.com)
Date: 07/30/04


Date: 30 Jul 2004 14:51:26 -0700

Colin McKinnon <colin.deletethis@andthis.mms3.com> wrote in message
> Google Mike wrote:
> >
> > Anyway, does anyone have any ideas on how to use a different technique
> > like environment variables; a socket service that caches the array to
> > RAM after reading it from a database every 15 minutes; or other
> > technique?
> >
> > I could store the entries in a file, but the point is that I don't
> > want disk access here -- I want it in RAM.
> >
> > My Linux server has 1GB of RAM. I calculated the shared memory stuff
> > I'm storing there and it's no more than 20MB.
> >
>
> Linux, indeed most forms of *nix are phenomonally good at cacheing file i/o
> therefore if you store the stuff in files it will most likely be available
> from 'RAM'. Indeed this is likely to be even faster than running a DBMS off
> a ramdisk. The only time I would even consider using shm is when I need
> manage near concurrent access to data which is rapidly changing - and I
> guess that is not the situation here.
>
> Try it.
>
> You can virtually eliminate file i/o by switching off atime on the relevant
> filesystem.
>
> Or of course you could put the files in a ramdisk, but there's not a lot of
> a performance gain there.
>
> HTH
>
> C.

Hmm. Didn't think of that. Sounds like you're on to something.

What about creating another filesystem with a portion of my Linux's
existing (ext3) file system? Is that possible? If so, could I then
apply the switch on that second file system to turn off anything that
might slow it down? Can I make it a faster file system instead of
ext3? If so, then I could do reads from this second, super-fast
filesystem and perhaps get the kind of speed I need? What do you
think?



Relevant Pages

  • SUMMARY: how do I REALLY delete a file?
    ... leaving the rest of the file system intact. ... Wipedrive doesn't seem to be available for Solaris, but might be of interest to ... run this on each filesystem where the files from ... >Solaris' UFS] do not satisfy this assumption." ...
    (SunManagers)
  • Summary: df -k : discrepancy in the % displayed
    ... The standard file system reserves about 10% of the kbytes for efficiency; ... is unavailable to anyone except root. ... If you created your filesystem with default options, ... This 5% or so reservation is probably not worth bothering with on a 1-2GB ...
    (SunManagers)
  • Re: Saving Objectstore to a WinCE OS device
    ... ANY filesystem can be used. ... It should indicate that this particular registry key is deprecated, ... the registry and mount it as the root and you'll be 80% of the way ... I thought when you mentioned File system that you was refering to ...
    (microsoft.public.windowsce.embedded)
  • Re: Booting - Enterprise Volume Management System
    ... nothing to do with LVM and everything to do with file systems. ... bother with LVM on a single disk if you can just make one big partition? ... Runaway processes can't fill the filesystem, ... windows machine when exchange fills the file system. ...
    (Ubuntu)
  • Re: error concerning filesystem [Virus checked]
    ... IBM AIX Discussion List ... error concerning filesystem ... UNABLE TO ALLOCATE SPACE IN FILE SYSTEM ... If you wish to confirm the origin or content of this communication, ...
    (AIX-L)