[V4RB] 1.x Open() Delay in Win32

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Apr 5 20:45:51 CDT 2006


On 4/5/06 8:00 PM, "Russ Tyndall" <fitzbew at nc.rr.com> wrote:

>>> The *first* time the database is opened on XP, the db.Open(folderitem)
>>> function takes 10 seconds or so to return.
>>> 
>>> If I close the app, and re-launch the app, the Open() function takes only a
>>> split-second.  All subsequent re-launches are blazing fast.
>>> 
>>> But once I reboot, the first db.Open() is slow again.  I get the same
>>> behavior in WinMe and Win2000.
>> 
>> Sounds like you become faster because Virtual Memory cache db file into RAM.
>> 
> 
> Well, the commit charge in Task Manager does not change after the call.
> So...I'm skeptical.  But with humility.  Would you expect the Commit charge
> to increase as said db is written into VM?  It must, I believe.

Russ,

Virtual Memory can save 100-200-300MB of application and its data in the
RAM.

You cannot see this on Windows. On MacOS X it is shown as "inactive" RAM.

If next app start touch the same disk files then they are loaded from RAM.
This is what I mean.
 
>>> I assume the delay is V4RB populating the cache, which is cleared at reboot.
>>> (The cache is persistent between application sessions?)
>> 
>> Right, cache. But not Valentina cache. System cache
>> 
> 
> See above.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list