Great Chefs please consider adding RAMDISK to your custom ROM - Touch HD Windows Mobile ROM Development

since blackstone has sufficient ram, it would be highly efficient to install a ramdisk and relocation all tmp file to the ramdisk. At least it will make web browsing and other related applications to start a lot faster. We can also use it to store some tmp files. A 8M ramdisk is good enough for general use and I believe a lot of program can make benefit from it. Thanks.

Uhm, Since the device uses ALL flash memory, wouldn't using a RAMdisk be pointless?

snootch said:
Uhm, Since the device uses ALL flash memory, wouldn't using a RAMdisk be pointless?
Click to expand...
Click to collapse
No, the RAM is a lot faster than the flash memory ...
I had the same idea a while ago, but figured out that it is quite useless. Using a ramdisk for browsers will make it faster on the one hand, but on the other hand you loose the possibility to cache content, so you'll have to download all data again and again, which means that you have to pay for it again and again .
Beside the browsers I don't see any usefull application, which uses temporary files (and the temporary files are slowing down the application).
So, what exactly do you have in mind?

johnpatcher said:
No, the RAM is a lot faster than the flash memory ...
I had the same idea a while ago, but figured out that it is quite useless. Using a ramdisk for browsers will make it faster on the one hand, but on the other hand you loose the possibility to cache content, so you'll have to download all data again and again, which means that you have to pay for it again and again .
Beside the browsers I don't see any usefull application, which uses temporary files (and the temporary files are slowing down the application).
So, what exactly do you have in mind?
Click to expand...
Click to collapse
I think a ramdisk can be used for a lot more than just browsers. It can be used as a cache for any program that needs to cache commonly used data (such as the theme files in G-Alarm) If it could be used as a cache for the .NET CF VM, that would be even better as it takes ~5-10 seconds for the VM to start up when you start an application built using .NET CF. P.S.: Were you thinking of having the chefs include this program? http://www.amv007.narod.ru/en/index.html

for the best performances, i would suggest to put the swapfile onto the ramdisk....do you agree?

This is something i was first asking when i joined. onoklog early roms for blackstone did have it but now ha stopped. it is good for dump tempory files and does have a feature in it that supports caching files so certain dumps are not lost on reset. Would be happy to see this intergrated into new roms.

install it by yourself.not veryone need it

mcdull said:
since blackstone has sufficient ram, it would be highly efficient to install a ramdisk and relocation all tmp file to the ramdisk. At least it will make web browsing and other related applications to start a lot faster. We can also use it to store some tmp files. A 8M ramdisk is good enough for general use and I believe a lot of program can make benefit from it. Thanks.
Click to expand...
Click to collapse
is there really that much difference in the access time between main storage and memory ?
for disks its milli seconds vs nano seconds so ram disks make sense

I can't tell how fast the RAM is .. but the nand is extremely slow...

web browsing does benefit noticably when u have opera, etc. cache writing to RAMdisk instead of "main" (nand) memory. also works great as a place for temp. storage (ie. all those files that usually get written to "Volatile" folder). that's about it though...
I don't think it needs to be cooked in either - self-installation is easy enough anyways

Related

POLL: move PowerPoint/Word/Excel .exe to EXTROM installer?

EDIT: Duh, forgive me, I have put the wrong KB sizes above. correct values are below.
PRO: if you don't use, have never used and will never use one or more of these apps the ROMs can pack more add-on software which won't have to be installed or take up storage space.
CON: If you use them it gets a little bit less convenient, as you have to install it after a hard reset.
NOTE: I don't know how much the system needs those dlls, but I guess they are not deeply embedded in it and might not even need to be installed, unless ActiveSync desperately needs them to convert files back and forth. Which does not make sense to me, at least images, when there is any conversion process, are processed in the PC, as it is much more powerful...
Footprint:
Office dlls:
office.dll: +63KB
officeres.96.dll: +95 KB
officeres.dll: +96 KB
Pocket PowerPoint:
ppt.exe: +2.277 KB
Pocket Excel:
pxl.exe: +852 KB
pxlfile.dll: +34KB
pxl2xls.dll: +47KB
xls2pxl.dll: +78KB
SubTotal: 1.011 KB
Pocket Word:
pwod.exe:+227 KB
Total: 3.769 KB
There could be more Office-related dlls scattered around, but I don't know how to identify them...
I say pack all those files into a self installer CAB and it can be up to the user to include it or not. In theory if we could ever agree on a nice stable base rom to build an online ROM kitchen like the XDA had/has and make everything else optional.
An online ROM kitchen would be sweet!
theloon said:
An online ROM kitchen would be sweet!
Click to expand...
Click to collapse
we'll see on the next couple of days... maybe we'll post it on the forum... BA WM5 rom kitchen... I sure Black6spdZ, xplode, thingonaspring, Midget and others will make it better :wink:
I just need to arange and fix a few stuff, since most people more prefer bepe's ways, for me it just gettin a little complicated to manage it work with bepe's way...lol...
I voted to keep it in the ROM, but only because I'm 99.99% sure that moving them will cause all sorts of problems. Any app launcher or today plugin that integrates with the office apps will break. They'll have hardcoded the path to the /windows directory, I'd put money on that. You might be able to replace the /windows exes with small launchers that point to the storage card I suppose.
I think the compression of the apps holds a lot of potential. Is there a compression tool that decompresses to the RAMdisk and runs from there? That would be the best of both worlds; the file is compressed in the ROM but only needs to be decompressed once on each RAM reset.
fraser said:
I voted to keep it in the ROM, but only because I'm 99.99% sure that moving them will cause all sorts of problems. Any app launcher or today plugin that integrates with the office apps will break. They'll have hardcoded the path to the /windows directory, I'd put money on that. You might be able to replace the /windows exes with small launchers that point to the storage card I suppose.
I think the compression of the apps holds a lot of potential. Is there a compression tool that decompresses to the RAMdisk and runs from there? That would be the best of both worlds; the file is compressed in the ROM but only needs to be decompressed once on each RAM reset.
Click to expand...
Click to collapse
We already have UPXed version of Office apps and dlls working, I believe Helmi will integrate them in the next version.
The 3.769 KB file footprint for the files above becomes around 1.450 KB, that's around 2.2MB of space saving.
For those who don't know:
UPX is a compression method meant to have extremely fast decompression speeds and very low resource comsumption. If I understood correctly, the ARM assembler-optimized UPX decompressor which is added to our dlls and exes is 224 bytes.
From the website, a memcpy on a Pentium 233 (dunno the OS) happened at 60MB/s, while the UPX decompression of the same data was 13MB/s.
fraser said:
I voted to keep it in the ROM, but only because I'm 99.99% sure that moving them will cause all sorts of problems.
Click to expand...
Click to collapse
This is VERY true. Accessing the files would require a launcher as fraser says, and/or accessing any UPX'd resources in the DLL, or EXE without loading it in will cause cataclysmic failures in the calling application. The dangers are VERY high.
Brazilian Joe said:
I think the compression of the apps holds a lot of potential. Is there a compression tool that decompresses to the RAMdisk and runs from there? That would be the best of both worlds; the file is compressed in the ROM but only needs to be decompressed once on each RAM reset.
Click to expand...
Click to collapse
In theory you could do this with the RamDisk now, and use a RAR/ZIP/7Zip style archive on a SD Card (or in ROM). Simply run (on boot) an unarchive of the contents to RAM, and away you go. But in theory this isn't any better (and in reality is worse than) just installing the applications to the RAMDisk in the first place, and/or keeping a second "SD Card" just for the hard-reset cases when you want to re-install everything.
Brazilian Joe said:
We already have UPXed version of Office apps and dlls working, I believe Helmi will integrate them in the next version.
Click to expand...
Click to collapse
Just take care of PIM Managers, and other applications which may make direct usage of these applications. Also, a UPX'd DLL will require longer/slower load times due to decompression overhead as well as the IMGFS decompression requirements itself (even though the IMGFS portion will be 1:1 - i.e. uncompressed).
Brazilian Joe said:
The 3.769 KB file footprint for the files above becomes around 1.450 KB, that's around 2.2MB of space saving.
Click to expand...
Click to collapse
It will unfortunately be MUCH less than that. Try building the ROM with the UPX'd applications and check the free sectors, and then compare that to a ROM with them replaced. The difference in free sectors * 512 bytes per sector is the REAL compression ratio achieved.
My guess is that UPX is about 40-60% better than the IMGFS, so this would mean a gain of around 1.1Mb in the ROM, and not 2.2Mb. But 1.1Mb of useful space is DEFINATELY nothing to be sneezed at! ;-)
Keep in ROM ...
Oh yeah, and I voted to keep the MS Apps in ROM.
Powerpoint could/should be compressed, and possibly Word/Excel if they're still 100% safe (they were in my testing in TuMa v1.3). Compressing any of the core OS though - ICK. I'm not in favour of that.
Save as much as we can, without going crazy ... and keep the Core OS, the Core OS. All the features we want to add should be exactly that - features!

Announcement: Wizard "Squeezer" Program

Hi All,
Welcome to the Rom-Packer "Squeezer" module!
This was originally included with my Wizard Rom-Packer kitchen, but as the technology is applicable to most programs installed in the Wizard (or actually most devices), in either storage memory or SD card, I have decided to release it to the wider community of non-cookers.
This program uses the open source program UPX to compress .exe files. The compression is quite remarkable. Generally the files end up less than half their original size. I have tested the process on all the main Office programs, and they work fine. The loading speed of the programs is actually improved, because the storage memory is so much slower than ram memory, so the time gained by transferring a smaller amount of data from the storage memory to ram when you run the program is more than enough to make up for the time spent uncompressing in ram.
The larger programs really seem to "pop" in comparison. Besides the Office programs, I have tested it on apps such as: eWallet, iSilo, ListPro, and Skype and found it works well, speeding load times with a smaller storage and SD card footprint.
The process "may" work with some .dll files as well, but I haven't tested them as extensively. A few programs will not work well in this mode, or refuse to load, so keep the original copies as backups. You will also find a few programs (adobe reader, pocketXpdf) which have already been compressed with this technology!
So, here's what you do:
1) Make sure the original program is installed correctly.
2) Locate the .exe file which was installed in Program Files in your PDA or the SD card.
3) Save a copy of this file somewhere in case it doesn't work.
4) Copy all the .exe files you want to compress into the SqueezeRoom directory.
5) Run Squeezem.bat
6) Take the compressed files out of the SqueezeRoom directory and replace the originals with those.
7) Run the program in the usual way. If all is well, Great! you're done!
8) If there's a problem, you can try a soft-reset before undoing the experiment.
9) If that doesn't help, copy the copy you made in step 3 back to the original location, overwriting the compressed copy.
Of course, I strongly recommend that you run a good backup utility, such as SPB backup, before beginning, just in case you make a big mistake somewhere.
Rapidshare Link: http://rapidshare.com/files/33717970/Rom-Packer_Squeezer.rar
Have fun!
Have you tried compressing dll files before?? I read the readme file...but since you wrote it, have you tested them.
Re: dll files
freeyayo50 said:
Have you tried compressing dll files before?? I read the readme file...but since you wrote it, have you tested them.
Click to expand...
Click to collapse
I tried one, but it didn't work. According to the UPX documentation it sometimes works on .dll files, so if you find a large one it works with, let us know!
Regards,
This program is amazing!!! I can see a notable increase in performance on my device. I compressed about almost all my apps (about 25-30 exe's) and about 5-8 dll's. So far the dll's that I have compressed have been working.
You can see a huge increase in performance the bigger the exe file is. Apps like Wisbar/WAD start up about 3-4 sec faster,
Opera about 3 sec (4MB compressed down to 1.7MB)
AIM 2 sec faster
Camera.exe maybe 1 sec (I couldn't really tell the difference)
Verichat 2 sec
FoxitReader 2-3 sec
IM+ 3-4 sec
SPB Imageer 2-3 sec
Resco Radio 2 sec
Total Commander 1-2 sec
Midlet Manager(jmm.exe) 2 sec faster
and calculator.exe seems to pop open .
When it comes to games, which usually are 2-4MB in size, they open 4-7 sec faster than normal. One of my games was 4MB than shrunk down to about 1.4MB after compressed.
This program also saves a crazy amount of space as well. My main memory free space before was 6.5MB, than after compression, increased to 11.8MB
It also seems like there is more free RAM than normal, but I'm still veiwing that. Posted some SS of compressed file sizes.
I just discovered that .cpl(Control Panel Extension) files can also be compressed. I just compressed SoftKeyAppletEx.cpl and ThemeManager.cpl for those who know what they are. They still work after compression. There not that big but I get about 50-60% compression from them.
Great finds!
Wow, freeyayo50!
Great finds, and thanks for reporting them. It's great to see this little bugger being useful!
BTW, You're packing a lot into your machine! Do you use an sd card?
Best wishes,
edhaas said:
Wow, freeyayo50!
Great finds, and thanks for reporting them. It's great to see this little bugger being useful!
BTW, You're packing a lot into your machine! Do you use an sd card?
Best wishes,
Click to expand...
Click to collapse
Thanx, just tryin to help out the community .
And yes, I am using a 1GB Mini SD card. I use it to hold most of my apps and all my music.
I dont understand why developers dont use this. So far everything that I have compressed has been working perfectly fine. I just luv how much space this thing saves.
as of now i'am building an rom with all dll and exe and cpl upx-ed. Just finished packing and now Build os is building. then i will try if it will run
Now it's flashing to my mda
It was to much. The rom wont load. stops at second boot screenthe 3th wont load.
A noble experiment!
ivanwinkel said:
It was to much. The rom wont load. stops at second boot screenthe 3th wont load.
Click to expand...
Click to collapse
Oh well, you went all out and I applaud you for it! Valiant effort!
Regards,
Email App?
Anybody know which app controls the email accounts?
I use the blackberry client and it takes forever to load up..even when in the background! Creating new mail also takes it's own sweet time!
Would love to squeeeeze a bit more performance out of my wizard!
Andy Phillips said:
Anybody know which app controls the email accounts?
I use the blackberry client and it takes forever to load up..even when in the background! Creating new mail also takes it's own sweet time!
Would love to squeeeeze a bit more performance out of my wizard!
Click to expand...
Click to collapse
I believe you may be talking about the tmail.exe in the \Windows folder.
main OS dlls and exe SOULD NOT be compressed with upx.....this was tested ages ago by rom cookers it will cause problems....true some files can be upx you should leave the OS files alone.
faria said:
main OS dlls and exe SOULD NOT be compressed with upx.....this was tested ages ago by rom cookers it will cause problems....true some files can be upx you should leave the OS files alone.
Click to expand...
Click to collapse
Thanks for the tip, faria!
(Translation: Avoid messing with the sys\os subdirectory, and be careful with the others. Most of these apps are small, so you wouldn't be gaining much anyway.)
wow nice program thanks!
doesnt work with tomtom btw crashes when I start it
kadooosh said:
wow nice program thanks!
doesnt work with tomtom btw crashes when I start it
Click to expand...
Click to collapse
Hi, It worked with my TomTom!? I'm pretty sure I compressed it. Just the main .exe, not any of the supporting stuff. I'll double check it when I get home tonight, (or tomorrow to be honest, I have a big project for school right now)
Tested and working with opera.dll from Opera 8.60u2. It's a huge 5 MB file that once compressed is less than 2 MB . There seems to be no side effects, besides saving over 3 MB of storage. Great program!
igalan said:
Tested and working with opera.dll from Opera 8.60u2. It's a huge 5 MB file that once compressed is less than 2 MB . There seems to be no side effects, besides saving over 3 MB of storage. Great program!
Click to expand...
Click to collapse
Where did you find this opera.dll at??
edhaas said:
Hi, It worked with my TomTom!? I'm pretty sure I compressed it. Just the main .exe, not any of the supporting stuff. I'll double check it when I get home tonight, (or tomorrow to be honest, I have a big project for school right now)
Click to expand...
Click to collapse
oh I just noticed my old exe didnt work either.. must be cause I installed wm6
moprhgear doesnt work either(emulator)

Cooked ROM = More Memory?

I know the WM6.1 ROM footprint on my HTC is 128MB. But if I download and install a 'minimalistic' cooked ROM (without all the OEM junk), will that amount of memory be returned to the system for program use? IOW, if I find a cooked ROM that's 100MB, will that give me 28MB more RAM for program use? Or are all ROMs going to consume 128MB no matter what they do (or don't) include?
BillTheCat said:
if I find a cooked ROM that's 100MB, will that give me 28MB more RAM for program use?
Click to expand...
Click to collapse
It would give you more ROM, not RAM. That is, storage available for files and/or installed programs. The amount used by the ROM indeed depends on the software it already includes.
Ah. So the game is that the ROM footprint consumes 128MB, no matter what's in it? Is it safe to presume that WM is still using RAM for both storage and program execution?
For some reason, I remember on my HX4700 there was much dissatisfaction when WM went to v.5, because we always had the ability to move the system memory between storage space and runtime space. I guess the hardware on the Kaiser is operating differently then.
Please help me make sure I'm understanding this right.
What I need to do is to learn how to cook my own ROM based on a minimalistic starter, so I can pack in what I want to run, getting it out of RAM and off into ROM, right? IOW, I need to figure out how to move TomTom, MobileShell and other such applications that install resident to the device into ROM, freeing up the amount of storage/RAM that I have to work with. Correct?
If so, then one last question. What happens when I build in programs to ROM and then there are updates?
as of wm5 storage is rom
and application memory is ram
BillTheCat said:
Ah. So the game is that the ROM footprint consumes 128MB, no matter what's in it?
Click to expand...
Click to collapse
No. The Kaiser has 256MB of Flash memory. Part of it will be used as ROM, the exact amount depending on how much software is included in there. Usually 100-150MB, and those are write-protected. The rest is available as read-write storage.
BillTheCat said:
Is it safe to presume that WM is still using RAM for both storage and program execution?
Click to expand...
Click to collapse
No. From WM5 on (like 3 years ago), file storage isn't done in RAM anymore but in the flash memory as described above. This allowed to prevent the problem where you'd lose all your stuff if your battery went down. Now you can remove the battery indefinitely without losing anything.
RAM is therefore only used for program execution. The Kaiser will have around 50-70MB RAM free after booting depending on your start-up apps, which is WAY enough not to have to worry about it.
Rudegar said:
as of wm5 storage is rom
and application memory is ram
Click to expand...
Click to collapse
Yeah, that's what I thought. So, then I'm right in that the thing to do is to maximize RAM by moving resident applications into the ROM to free up RAM, yes?
You can't do that. Read my post above for more detail, might have missed it as we posted pretty much simultaneously.
kilrah said:
The Kaiser will have around 50-70MB RAM free after booting depending on your start-up apps, which is WAY enough not to have to worry about it.
Click to expand...
Click to collapse
Then if I'm reading you right, your feeling seems to suggest that investing a lot of effort in cooking my own ROM isn't necessary; that if I get a 'minimalistic' cooked ROM and install my own applications, it's effectively the same thing? IOW, a smaller footprint ROM will increase room for storage of programs and documents by eliminating some OEM stuff that's perhaps unnecessary, yes?
I guess the things that I could do without are these below:
- Getting Started (A bit late for this now!)
- Windows Live (Do you really need this?)
- Voice Speed Dial (MS Voice Command instead?)
- File Explorer & Zip (Both these are handled by Virtual Explorer)
- Windows Update (If it worked, would we be here?)
However as I don't know how big these things are, I may find that it's a lot of extra effort for not a lot of gain.
Your thoughts?
Exact. Everything you install will end in Flash memory, whether it's cooked in the ROM or installed later. The only difference is that if cooked it will be in the write-protected part and will still be there when you hard reset, unlike the apps you install later.
Here are some numbers, if you're interested.. This is going from a hard reset Tilt stock rom (Although I soft-reset before it installed AT&Ts crap so these numbers are BETTER than the typical stock AT&T Tilt) vs ROMeOS v4.1.
Code:
AT&T Stock ROM (hard reset, no AT&T customization)
Storage: 124.91 Program: 101.38
In Use : 10.17 In use : 27.20
Free : 114.74 Free : 74.20
ROMeOS 4.1
Storage: 150.59 Program: 85.32
In use : 3.90 In Use : 29.00
Free : 146.70 Free : 56.32
As for the program ram being down 20M, I think this is because the ROMeOS ROM has dynamic page pool so it adjusts itself as necessary, but I'm not sure. I've personally never had an issue with getting low on program ram. It's certainly nice having 30M more of storage space (not to mention the whole thing being snappier and the interface responds quicker, but enough advertisement for the ROM )
kilrah said:
Exact. Everything you install will end in Flash memory, whether it's cooked in the ROM or installed later. The only difference is that if cooked it will be in the write-protected part and will still be there when you hard reset, unlike the apps you install later.
Click to expand...
Click to collapse
A completely unnecessary concern, when you have SPB backup.
I've got my head around this now. Thanks so much, you've been very helpful and I appreciate your effort.
khaytsus said:
As for the program ram being down 20M, I think this is because the ROMeOS ROM has dynamic page pool so it adjusts itself as necessary, but I'm not sure... It's certainly nice having 30M more of storage space (not to mention the whole thing being snappier and the interface responds quicker, but enough advertisement for the ROM )
Click to expand...
Click to collapse
Yes, I understand there is an advantage to a 'cooked' ROM. Does anyone know offhand if the HTC OEM 6.1 ROM has some of the performance 'tweaks' you suggest above, or should I just back up and experiment?
What I'm getting at is that if reflashing is only going to deliver a nominal performance benefit over the HTC ROM, it's not really worth the effort for me.
BillTheCat said:
What I'm getting at is that if reflashing is only going to deliver a nominal performance benefit over the HTC ROM, it's not really worth the effort for me.
Click to expand...
Click to collapse
Yes and no. Remember, It also adds more storage for you too! This might not be as important to you as it is to me though. The only application i prefer to be installed to my SD card is TomTom, and thats because all of the maps have to be there anyway. I use several MicroSD cards Daily ( have 3 4gb cards ) ( one for videos, one for tomtom, and one for photos/backup cabs/ect ). Being able to have enough ROM open for me to install all of my apps is important to me. Its not just a speed factor, but ive actually run out of ROM space before..... not a fun thing to hunt down whats taking up all your space. Cooked ROMS open up more space by removing all that Garbage from manufacturers ( We call it Bloatware) and makes more room for my stuff to go
Also, I dont think any OEM HTC ROMS have Kaisertweek or any other registry modifications. Granted, you could just download a registry editor and a tweek program, having the goodies already there and the junk removed makes for a faster / easier start if you flash as much as some of us do lol.
Just my opinion.

Rom With Ramdisk Preconfigured

Ram disk is a very nice addition to the hd, with the amount of spare ram it has. just the program is a pain to set up everytime you hard reset. would be a lovely additiomn to wm6.1 preconfigured to store temp files, cache storage,temp internet files, system files, bluetooth etc. Will have a go tomorrow in the kitchen, limited on skillz in the reg area, may need help.
ps. why are there no roms with ram disk???
Hardqs said:
ps. why are there no roms with ram disk???
Click to expand...
Click to collapse
I don't know, I have also thought about it, but since my device isn't here yet, I can't do anything . What do you mean by "system files" or "bluetooth"? The other ones are quite clear.
well there is a bluetooth app which redirects the dir, so recieved bt files will go there,should spped things up in terms of the pda should reveives at the same speed but writes faster.
systems files, would be good if the feature of being able to use the feature of ramdisk, to have programs preloaded in a folder into the ram and is not deleted but written to cahce before shutdown and reloaded on start up. could keep favorite programs you wish to run faster in there. maybe startup system files but no sure about that??? to much space??? to complicated..
bluetooth dir - http://forum.xda-developers.com/showthread.php?t=277187
ram disk - http://forum.xda-developers.com/showthread.php?t=382944
I don't think that putting received files in a ram disk is very bright, because you will have to move them, before making a soft-reset, else they will dissappear.
Putting cache files into a ram disk will really improve the speed of the browser, but on the other hand you will loose your cache with each soft-reset. On static sites, where a browser can make heavy use of caching functionalities this will also be an advert effect, which will cost money, because you have to download the same content again and again.

Ramdisk for WinMo? useful?

Hi all, been lurking for a while now. Fantastic community here, lots of useful advice, files etc
I've been playing with ramdisks on my desktop lately and was wandering if there is such a thing that works well on xperia, and if its a worthwhile thing to do. I've seen a few cabs about the net, but most seem to be rather old and under-developed.
Is there a ramdisk utility that has been test with xperia? this thing has plenty of ram and i would expect dedicating 32mb or so to caches / temp files would be useful, reduce checkerboard effect on browser, help with buffering vid's etc.
thanks all.
What good is it if the software isn't looking/optimized for it?
X1 has 256MB, far more than most WinMo phones. How is putting a virtual drive in RAM going to make things faster? You'd just be lowering system RAM. The whole idea seems pointless...even on desktops nowadays.
This is actually a good way to improve Opera's performance if you tell it to use the RAM disk as cache.
JKingDev said:
This is actually a good way to improve Opera's performance if you tell it to use the RAM disk as cache.
Click to expand...
Click to collapse
...as opposed to?
WhyBe said:
...as opposed to?
Click to expand...
Click to collapse
He didn't insinuate a comparison, why do you ask for one? Jking just said it's a good way to deal with Opera loading, nothing else. Smartass.
Angelusz said:
He didn't insinuate a comparison, why do you ask for one? Jking just said it's a good way to deal with Opera loading, nothing else. Smartass.
Click to expand...
Click to collapse
lol thanks. Opera uses storage memory (which is flash memory) as cache when loading webpages. Therefore uing a RAMdisk is faster than regular storage.
Angelusz said:
He didn't insinuate a comparison, why do you ask for one? Jking just said it's a good way to deal with Opera loading, nothing else. Smartass.
Click to expand...
Click to collapse
Yes he did, because he is talking about using RAM disk technique which isn't currently used by Opera. The comparison was implied...dumbass!
JKingDev said:
lol thanks. Opera uses storage memory (which is flash memory) as cache when loading webpages. Therefore uing a RAMdisk is faster than regular storage.
Click to expand...
Click to collapse
Do you think internal RAM would be that much faster in this case? I think the data connection is the bottleneck when it comes to web browsing, not RAM speed. Besides, you're going to sacrifice system RAM in order to have the RAM disk. So would you even be getting a net gain in speed?
WhyBe said:
Yes he did, because he is talking about using RAM disk technique which isn't currently used by Opera. The comparison was implied...dumbass!
Do you think internal RAM would be that much faster in this case? I think the data connection is the bottleneck when it comes to web browsing, not RAM speed. Besides, you're going to sacrifice system RAM in order to have the RAM disk. So would you even be getting a net gain in speed?
Click to expand...
Click to collapse
I've been using ramdisk on my rom since half year ago (v2.x). And both IE and Opera could take advantage of it after some tweak. RAM is definitely a lot faster if you did some benchmark on both. And if you really understand how caching works, it won't help in your first visit where data connection is the bottleneck. But it does help if you reload/revisit the same page since caching from ram is faster from flash memory.
And there are side benefit like security (all content/cookie are gone after reset), and prolong yr flash memory life (flash memory is not as good for I/O wearing but may not be a big deal since most of us change phone so often).
After all, X1 has 256mb of ram which is a lot for mobile device and I selfdom running out of it. Then why not making good use of them? Maybe seeing big chunk of free memory (and slow everything down) make you feel happy? Unlike desktop, the main component contribut to speed is CPU where free memory only contribute for how many program/process you can open concurrently. Seeing lot of free memory without utilize them is simply stupid.
BTW, I use 3Gig ramdisk on my 8Gig Vista64 and it HELPS a GREAT DEAL in rom cooking since rom cooking involved lots of read/write over thousands (TF3D alone is ~ 2000) of small files. A cooking process that takes 3 mins with HD reduces to 1 mins with ramdisk in my experience. The same reason I listed above holds true for desktop + using ramdisk for /Temp helps a lot for IE and winrar since they use /TEMP to process the files.
^^^ OK, I understand what you are saying. But if RAM disk were really an advantage in mobiles, why wouldn't mobile browser developers utilize their own RAMDisk routines in their browsers (since speed seems to be the main comparison between browsers)?
for me totally none use!
WhyBe said:
^^^ OK, I understand what you are saying. But if RAM disk were really an advantage in mobiles, why wouldn't mobile browser developers utilize their own RAMDisk routines in their browsers (since speed seems to be the main comparison between browsers)?
Click to expand...
Click to collapse
It could be they are developing a "generic" browsers that serve PDAs with different size of RAM. And many of the older devices still have 64mb physical memory and 20-30mb left after boot (e.g. My P525 and x51v) . Those machines simple don't have any ram left for that.
And they can simply use malloc (C programming) to allocate a chunk of memory and don't have to use external driver like ramdisk to accomplish this. But if the browser itself don't support this feature and we know we have enough ram to spend, we can take advantage of it if needed.
Developers always have priorities in features and there are other means to speed things up to more users (e.g. server side compression like Opera 9.7)

Categories

Resources