View Full Version : Paging file for the palm?
A virtual paging file for the palm TX
Is it possible? O.o
Correct me if im wrong but wouldn't that get rid of (or at least help) with the memory issues people have with the palm TX?
alt236
09-08-2007, 05:25 PM
UDMH does it more or less :)
I got UMDH the day I got my palm TX
UMDH can only do so much though, Its not realy unlimited
.
Wasnt dmitry working on somthing to increase the Db Cache to sizes like 40 to 60mb?
EM_ I think said somthing along the lines that dmitry already made it, but hasnt made a shell/UI for it
alt236
09-08-2007, 05:32 PM
I don't think that there is another similar app...
What is your memory problem in specific?
You might have misunderstood the app, PalmSole. By increase i mean add 64-128 M to it :-)
http://www.1src.com/forums/showthread.php?t=127689&page=2&pp=15&highlight=increase
got it from there, apperently there is :D
This is not UMDH he is talking about
.
alt236
09-08-2007, 05:38 PM
Well, there is another way to increase DBCache and that would be creating a minimal custom rom.
Since the rom is loaded to memory at boot, everything you remove from it would leave more space to the dbcache (but not the heap :( ).
I haven't heard any news for this app apart from that conversation...
We can always hope :rolleyes:
Still is it possible for palms to use paging files?
alt236
09-08-2007, 06:15 PM
In the traditional sense, a page file is a way to expand a system's ram by using (the much slower) storage space for things in ram that havenn't been used for a while.
UDMH is doing mostly that by increasing a palm's heap ram by using storage "ram" (effectively Flash ROM) in nvfs devices.
Your problem comes from the fact that NVFS palms have permanently split their actual ram into dbcache and heap. Heap is used as traditional ram, storing dynamic data of the running programs, while dbcache is used to keep a copy of the currently and recently used apps and records. Since the Flash Rom type that is used for the NVFS cannot execute programs in place, they first need to be copied to the dbcache.
The main reason there is the annoying delay on nvfs devices is that they run out of dbcache space and the OS is writing the cached databases back into the storage space. Since Flash is conciderably slower than dynamic ram and since palm's design is not well though/implemented you get the delay.
I can't think of a fast way of implementing it for dbcache since you are at that point killing the concept behind it. Maybe dmitry has something to say?
alt236
09-08-2007, 06:18 PM
Judging by my spelling mistakes and syntax I think its time to retire for the night:)
I just hope I haven't written anything stupid in my explanations/reasoning...
I'll have a look tomorrow :).
dmitrygr
09-08-2007, 06:33 PM
the other app by me, that has yet to be released does indeed use a pagefile on the sd card :-)
alt236
09-08-2007, 07:04 PM
And of course yes this proves it.
I NEED sleep.
I forgot that palms have SD cards for god's sake!
the other app by me, that has yet to be released does indeed use a pagefile on the sd card :-)
Jesus christ I just bought a 4g sd card
now I have to buy another SD card that is fast.. >.< damit
.....
@dmitry
Would you be able to use page file in the internal memory?
dmccunney
09-09-2007, 10:20 PM
Jesus christ I just bought a 4g sd card
now I have to buy another SD card that is fast.. >.< damit.....There's the joke about the sign in the programmer's office:
Software created here.
Small, Fast, Cheap
Pick any two.
For SD cards, that becomes
Fast, Cheap
Pick one.
As in all else, you get what you pay for, and trying to pinch pennies up front tends to lead to higher costs down the road.
______
Dennis
dmitrygr
09-09-2007, 10:27 PM
No, for SDs is is
Large, Fast, Cheap
the key word is tends
Im hopeful that I can use my internal memory rather than the 4gb card.
I have 40mb still left and I guess I could use 10 or 15.
dmitry will your app be able to use internal storage for the page file?
dmccunney
09-09-2007, 10:50 PM
No, for SDs is is Large, Fast, CheapNot for the intended purpose. The really cheap ones tend to have snail slow write speeds. That won't do as the location for a paging file.
Incidentally, I'd heard a rumor you did a quick and dirty port of Minimo to Palm OS. If so, any chance of that seeing the light of day?
______
Dennis
dmitrygr
09-10-2007, 12:24 AM
well, not quite
for sds u can have one of the following:
large and cheap
small and fast and good priced
large and expensive but still slow
vBulletin v3.0.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.