On Mon, 06 Feb 2006 11:49:15 -0800 Tanya Metaksa wrote:

> >Ah, hell... I may as well just try it out now for myself.  I see it's
> >been upgraded, I have a more stable device in general now, plus with
> >RLock, I can lock it into the dbcache, too.
> I have read about RLock but don't understand what it does.  Could 
> someone please explain it to me.  I have a Treo 650 on Cingular.

In older Palms, there was only the main memory, and optionally external
storage on an SD card.  If your battery dies, you lose your data. Newer
Palms, like the Treo 650, have non-volatile memory (NVFS) used for
program and database storage only.  Very much like the SD card. Like
the SD card, this is slower than traditional RAM, so it is
inappropriate to use it as scratch/working space.  So, the newer Palms,
like the Treo 650, have 10 megs or so of traditional RAM.  The setup is
very much like the difference between your desktop computer's hard
drive (storage) and memory (scratch/working space).

Palm calls this working space the "dbcache".

Unlike the desktop, though, this is not cleared when a program closes,
because on a Palm, no program really ever completely closes, it's just
shifted to the side.  This leads to the dbcache filling up.  When it
runs out of room, bad stuff happens.  So it needs to be purged
periodically, when it reaches a certain threshold.

The problem is that, at least in original and unupdated Treos, the
"dbache manager" was way too aggressive and purged things that were
still in use.  However, the blame is not +entirely+ Palm's, as very few
applications were NVFS/dbcache aware, and didn't lock themselves to
prevent such purging while still in use.

RLock addresses this.

What RLock does is it sets the "locked" flag on the applications you
specify so that they will always remain in the dbcache and not get
purged when the Palm purges the cache.

Why do you want to do this?

Two reasons:  some programs you want to lock in order to maximize how
fast it loads, if it's something that you use all the time.  But the
main reason is to lock in programs that should or need to remain always
immediately accessible.  

Programs that are in that second list would include any third party
launcher, KeyGuardTime, KeyCaps, KB Lights, STOIC, AutoOff, VolumeCare,
etc.  Things that alter the way the Palm actually works or looks.

-- 
Jeffrey Kaplan                                         www.gordol.org
The from userid is killfiled             Send personal mail to gordol

DISCLAIMER: Sanitized for your protection.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/treo/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to