PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Titan (http://forum.ppcgeeks.com/forumdisplay.php?f=44)
-   -   MiniSD card into RAM? (http://forum.ppcgeeks.com/showthread.php?t=30995)

snake0721 07-03-2008 12:20 PM

MiniSD card into RAM?
 
I've always wondered if this was possible, the idea sort of caked my head when a buddy of mine said something about mobile devices that utilize the SD slot for some added RAM.

Thought it was worth the question.

tenthirty2 07-03-2008 01:20 PM

Re: MiniSD card into RAM?
 
Your head isn't the only one that question has caked, I've heard it addressed several times in this forum, but don't think anyone has really figured it out yet. Sorry I couldn't be more help to you, but if you find out the answer let us all know & you could be Wideawake's new best friend.

tantrum829 07-03-2008 01:40 PM

Re: MiniSD card into RAM?
 
I posted this same question a few months
ago. And I only got one response and
was told it couldnt be done.

But I hope that someone may have
figured out how to do it and
share it with us.

snake0721 07-03-2008 01:45 PM

Re: MiniSD card into RAM?
 
Well, It seems like it should be totally pheasible.

Sadly, I have NO experience in trying to implement something like this, but I suppose it would be worth the look-see sometime when I am feeling adventerous.

mromblad 07-03-2008 01:47 PM

Re: MiniSD card into RAM?
 
the problem is that flash rom for one is not anything comparable in speed to RAM, plus i heard something about a write limit on flash memory that would prevent it from being useful.

pflatlyne 07-03-2008 02:25 PM

Re: MiniSD card into RAM?
 
Quote:

Originally Posted by mromblad (Post 335677)
the problem is that flash rom for one is not anything comparable in speed to RAM, plus i heard something about a write limit on flash memory that would prevent it from being useful.

People keep saying its not possible,but from what I have looked at,they are way off. The fact is,an sd card is much faster than a hard disk. In fact,the sandisk microSD cards work well with Vistas ReadyBoost. The reason windows can use hard disk space as ram is becuase it pages out pages that are not being used. In fact,windows mobile does the same thing,but with some signifigant differences.

Windows mobile manages memory by deciding which pages to release and which pages to "page out". The problem is,since you dont have hard disk space,you cant page out to a hard disk,and flash would wear out. Therefore WM manages its memory by releasing pages that it does not immediatly need. Some pages contain things like data structures that are not in the rom,but instead created at runtime. Others contain program code that is loaded from ROM. The former are never released unless the program is terminated (which WM will do under certain circumstances) and the latter are released more readily becuase they can be easily reloaded from the ROM.

To "use the flash card as RAM" would really entail creating a copy of the pages that cannot be released on the flash card. Now,when that program is not being used,rather than having the choice of killing the program to release the memory,or leaving the program running,you could release those pages,being able to reload them rapidly from the sdcard.

There is of course a performance hit here. Vista for instance works similarly,pages are swapped out to disk. And ones that are "not immediatly needed" are released. A program that needs that data,generates a page miss,and the page has to be reloaded. So long as this does not happen to often,things are ok. You will notice that in a system that has too little memory the disk is accessed constantly and things get very slow.

Vista can use a flash drive to speed up the process. A copy of the pages is also kept on the flash device. (in addition to the hard disk) Rather than read it from the disk,it reads it from the flash drive which has much better random seek times than a hard disk. (the disk is kept in case the flash drive is unplugged,which otherwise could lead to very bad things happening)

Readyboost trys to avoid constant writing to the same area of the card to avoid wearing out the flash card. Something similar should be possible with the a WM device as well. In short,it should be possible to use the flash drive to free more RAM. (some ram is already freed by releasing things that are stored in rom,as stated earlier) Its not exactly "adding more ram" but as far as the end user is concerned its has a similar effect.

snake0721 07-03-2008 02:27 PM

Re: MiniSD card into RAM?
 
well, bored at work, I decided to do more research on this topic, and the xda site pretty much dissected the whole.

From what I can understand, everyone has concluded just as you've said.

the memory card is not as fast.

But why is this a problem? we are talking more RAM, not paging file. I think someone already has a hack of sorts to set a page file for the ROM anyway.

We are talking readyboost (readyspeed? whatever MS calls it) type RAM. if a freaking vista computer can do that with a USB flash drive... Whats so bad about a mobile phone's card reader?

But I'll try not to compare 2 complewtely different systems of operation.

Besides, If cards actually wear down and such after so many deletes... I think, so be it. I'll shell out 5 bucks every few months to have an extra 64mb of RAM on my phone. that's another 900MB of storage.

Shavkat 07-04-2008 12:47 AM

Re: MiniSD card into RAM?
 
RAM's speed is 1000x more faster than PC's HDDs!
Now try to calculate how many times faster then your MicroSD :)

snake0721 07-04-2008 09:09 AM

Re: MiniSD card into RAM?
 
If only I knew math... and the speed of these... :violent2:

GoodThings2Life 07-04-2008 10:02 AM

Re: MiniSD card into RAM?
 
I agree with most of the comments here... those of us interested in the matter are already well aware of the performance hit but are willing to take a small, temporary hit until better devices come along (like the Diamond and Raphael).

For those commenting on the number of writes, I pose the question-- if implemented properly, what's the difference between doing this and let's say, flashing a new ROM every other day because you don't like the one you're on (or jack it up), or taking tons of pictures, or other daily high-use activity, etc etc etc?


All times are GMT -4. The time now is 01:11 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0