Set browser cache to RAM only or move to RAMdrive? - Nook Color General

On my EeePC 900 with its slow "SSD" drives (very poor write speed), browsing performance is dramatically improved by having the web browser put its cache files into a RAMdrive. On Windows is this involves a RAMdrive driver that creates a fake HDD running in RAM, along with changing the browser configuration to point to that drive letter.
On Linux this can be done with some fstab tweaking, by creating a tmpfs filesystem.
Is something like that possible on the Nook Color? A RAMdrive of around 50MB in size should be enough. I imagine that the flash chip in the Nook Color has the same poor write speed as my EeePC (it certainly feels similar).
This also has the side bonus of reducing flash writes.

Related

Memory allocation

from the HTC specification we have in our Diamond's 198 RAM, but available is only ~115 MB. I assume that 64 MB is used by graphic card and another few MB is used bu gps, gsensor, phone, etc
My question is why is needed 64 MB allocated all the time for graphic card? Why its not used dinamically allocation? And what the hell is doing the graphic card with 64 MB? My laptop with extended screen and with 1040x1050 resolution is using only 16 MB of RAM (shared memory)
Why not allocate by default 16 MB to graphic card and free some RAM to be used in application? - especially that there are no application to use the HW acceleration? This is mine only dissapointed - all the time i don't have enough RAM (IGO 8 + Opera and RAM its 100% used)- and that-s why i bought it -to have it enough
Has it occured to you that your premise of the graphic's card using 64MB RAM could be wrong? In which case, the rest of your question makes no sense.
I'm not saying it does/doesn't but it sounds like you've just guessed and then posed a question based on a potentially flawed fact!
Mathew
maybe soon will be program with you can be able to change that.

MKV files bigger than 4Gb? How to split them to copy into FAT32 4Gb size-limit SDcard

I don't know if it's already been posted or not.
You know that our SD cards (internal and/or external) is FAT32 formatted, so the FileSystem size limit is 4Gb.
This means that if you want to copy on your phone one file .Mkv bigger than 4Gb you can't
Some users have tried to split the Mkvs in several files less than 4Gb using tools like MkvMerge, but the Phone doesn't recognize the files outputted.
But if you split the file on a Linux OS (Ubuntu i.e.) the files generated works perfectly on the phone.
I have tested it on Ubuntu using MKVMerge, starting from a 4,8 Gb Mkv file splitted in 3 files (2Gb-2Gb-800Mb), files copied on the phone and played perfectly with the default Video Player.
There's a much easier way as well, though I've only tried this once:
If you connect the phone in Kies mode (in the usb settings) and it connects properly you will get a "GT-I9000" Device show up in my computer instead of the standard lettered drive under "Devices with removable storage". It seems that you need to have Kies running in the background (with the icon in your system tray) but not fully open for this to work (not entirely sure on this as Kies is finicky). When you double click on the GT-I900 device in my computer you will get options for the internal or external sd card (assuming you have one installed).
If you copy and paste a file onto either of the sd cards using this method, it uses the Kies background service to check the file. If it detects a media file that might not be supported it will give you a warning which you can choose to ignore and copy the file anyways. I've found that if you copy a larger than 4gb mkv it uses the Kies service to split the file and put it on the sd card automatically. This takes a while as it has to split/convert the file and then write a fair amount of data to the sd card over usb.
You may be confused when it finishes as it only shows 1 file, it is smart enough to hid the others. The size of the file seems to be the amount that the original one was over 4gb (ex a 4.7gb movie will show as 700mb), however if you check the space avail on the sd card you will see that it contains the full movie. I transfered a 4.7gb 720p rip of "Tropic Thunder" this way to my phone and it played just fine on the samsung video player.
Let me know if that works out for you, I havn't seen anyone else try this.
how about formatting the SD card as Linux EXT3 or 4
the use smb mount, so when it does the mass storage mount to windows you can simply drag and drop, without having to cut any video into 4 GB chunks due the FAT32 limitation?
Nirvana388 said:
There's a much easier way as well, though I've only tried this once:
If you connect the phone in Kies mode (in the usb settings) and it connects properly you will get a "GT-I9000" Device show up in my computer instead of the standard lettered drive under "Devices with removable storage". It seems that you need to have Kies running in the background (with the icon in your system tray) but not fully open for this to work (not entirely sure on this as Kies is finicky). When you double click on the GT-I900 device in my computer you will get options for the internal or external sd card (assuming you have one installed).
If you copy and paste a file onto either of the sd cards using this method, it uses the Kies background service to check the file. If it detects a media file that might not be supported it will give you a warning which you can choose to ignore and copy the file anyways. I've found that if you copy a larger than 4gb mkv it uses the Kies service to split the file and put it on the sd card automatically. This takes a while as it has to split/convert the file and then write a fair amount of data to the sd card over usb.
You may be confused when it finishes as it only shows 1 file, it is smart enough to hid the others. The size of the file seems to be the amount that the original one was over 4gb (ex a 4.7gb movie will show as 700mb), however if you check the space avail on the sd card you will see that it contains the full movie. I transfered a 4.7gb 720p rip of "Tropic Thunder" this way to my phone and it played just fine on the samsung video player.
Let me know if that works out for you, I havn't seen anyone else try this.
Click to expand...
Click to collapse
Wow if this is true it is some pretty slick thinking ahead by Samsung both on the phone and PC side.. I think I will try this just for kicks, have a 6 GB MKV right here.
EDIT: Could not wait any longer... thing was maxing my CPU for 1/2 hour. I am pretty sure this is doing some kind of trans-coding.
AllGamer said:
how about formatting the SD card as Linux EXT3 or 4
the use smb mount, so when it does the mass storage mount to windows you can simply drag and drop, without having to cut any video into 4 GB chunks due the FAT32 limitation?
Click to expand...
Click to collapse
This is exactly the test i would like to do, do you have already tested this way?
But, atm, i haven't any SD card to use and (most important) i would like to know if after having formatted in i.e. ext4 i will be able to re-format in Fat32.
And however, do i need a particular Memory Card Reader to read one ext? SD formatted card?
Nirvana388 said:
There's a much easier way as well, though I've only tried this once:
Click to expand...
Click to collapse
Good trick!
I will try it asap to give you a Roger on that!
brunes said:
Wow if this is true it is some pretty slick thinking ahead by Samsung both on the phone and PC side.. I think I will try this just for kicks, have a 6 GB MKV right here.
Click to expand...
Click to collapse
Yea just make sure that it's 720p and not too high of a quality level.. I know it doesn't do quite all MKVs as the format is not yet entirely standardized. It seems to handle 4~5gb 720p mkvs just fine though, they just take FOREVER to transfer.
AllGamer said:
how about formatting the SD card as Linux EXT3 or 4
the use smb mount, so when it does the mass storage mount to windows you can simply drag and drop, without having to cut any video into 4 GB chunks due the FAT32 limitation?
Click to expand...
Click to collapse
I don't know that the phone would accept a file system other than fat32? Would be easy to find out though.
i have some videos that are larger than 4G
i'll definitely give it a shot to test the Linux partition theory.
I'm almost positive it'll work, as the "Lag Fixes" solution all uses the EXT3 and EXT4 partitions anyway.
but in our case we want to use it natively for video playback, and be able to mount it when we want to use it with Windows
re: question about formatting back to FAT32 after EXT3
Yes, it's possible and safe to do so.
As soon as i have more time in my hands, i'll give this a go, unless some one beats me to it (some one with more time on their hand)
brunes said:
Wow if this is true it is some pretty slick thinking ahead by Samsung both on the phone and PC side.. I think I will try this just for kicks, have a 6 GB MKV right here.
EDIT: Could not wait any longer... thing was maxing my CPU for 1/2 hour. I am pretty sure this is doing some kind of trans-coding.
Click to expand...
Click to collapse
Haha yea it's software encoding, I think having Samsung encode it so it could run on your GPU would be a bit too much to ask lol. A 4.5gb movie took my quad core about 25 minutes to encode and then transfer.
AllGamer said:
i have some videos that are larger than 4G
i'll definitely give it a shot to test the Linux partition theory.
I'm almost positive it'll work, as the "Lag Fixes" solution all uses the EXT3 and EXT4 partitions anyway.
but in our case we want to use it natively for video playback, and be able to mount it when we want to use it with Windows
re: question about formatting back to FAT32 after EXT3
Yes, it's possible and safe to do so.
As soon as i have more time in my hands, i'll give this a go, unless some one beats me to it (some one with more time on their hand)
Click to expand...
Click to collapse
Looking forward to your experiment!
AllGamer said:
i have some videos that are larger than 4G
i'll definitely give it a shot to test the Linux partition theory.
I'm almost positive it'll work, as the "Lag Fixes" solution all uses the EXT3 and EXT4 partitions anyway.
but in our case we want to use it natively for video playback, and be able to mount it when we want to use it with Windows
re: question about formatting back to FAT32 after EXT3
Yes, it's possible and safe to do so.
As soon as i have more time in my hands, i'll give this a go, unless some one beats me to it (some one with more time on their hand)
Click to expand...
Click to collapse
Have you tried this yet? I've googled all over. Cant find solution how to format and use external SD like this. Found this thread and posted in it as well http://forum.xda-developers.com/showthread.php?t=975803
u can download mkv smaller than 4gb..and graphic will be still great =)
Its not just movies I want to be able to place on sd card. I can't split those files. And I don't want to convert existing mkv files to a lower resolution, spend time on that.... its not a quick process to compress the resolution. I much rather be able to copy what i have now to my phone, instead of having to modify. ...
Sent from my SGH-T959D using XDA App
http://www.bunkus.org/videotools/mkvtoolnix/
I use http://www.bunkus.org/videotools/mkvtoolnix/
You can set the file size and even remove unwanted subs and/or audios.
I have mkvtoolnix and have used it. Thats not the question, but thank you
Anyone knows?
not losing hope. It will be useful for others, I am sure.
compressing the file would help
as in making DVD sources with less channel or less quality can drastically reduce the file size without too much sacrify to HD quality
say for example choose 720 instead of 1080
2 channels instead of 6 channels
or even if you keep it 6 channels make it 160 instead 320, or maybe drop it lower to even 128 kbps
use 44 instead of 48
use 25 fps instead of 30fps
etc...
bmvik said:
Its not just movies I want to be able to place on sd card. I can't split those files. And I don't want to convert existing mkv files to a lower resolution, spend time on that.... its not a quick process to compress the resolution. I much rather be able to copy what i have now to my phone, instead of having to modify. ...
Sent from my SGH-T959D using XDA App
Click to expand...
Click to collapse
so there is no way? We're just stuck having to use a workaround?
That size of file requires card to be formatted as exfat .
Try it see if phone reads exfat .
jje
Deleted! Wrong place

[Q] VM heap size

ROM: CM6 from 08.12.2010
Overclocking: Interactive governor : 1000mhz : vsel 62
Launcher: Launcher Pro
Note: I disabled "keep home in memory"
I was using 800mhz with 52 vsel and vm heap size 32 and I wanted to test an app "TV Flash"
It's an app that plays tv through flash and I was keep getting app crashes everytime I played my favorite channel.
I overclocked as mentioned above (1000mhz ....) and I set the vm heap size to 50m.
I believe this is the amount of ram that can be alocated to an app. Am i right?
Now my favorite channel plays flawless.
My question is:
Is there a problem of keeping the vm heap size to 50m, 64m?
Thanks guys!
Nope, no problems. Just that you'll run out of memory very quickly if you do something intensive.
Lollipop_Lawlipop said:
Nope, no problems. Just that you'll run out of memory very quickly if you do something intensive.
Click to expand...
Click to collapse
Well then...It seems that I missunderstood what vm heap size is!
Can you please explain and recommend a way so I wont run out of ram when watching live streams?
And do you think that the release of froyo will fix this issue?
There's nothing you can really do about it. You'll just have home reloaded and other applications closed. The only solution is to buy a phone with 512mb of memory.
Froyo isn't a magical upgrade. The most we will probably see from the firmware is feature parity with the Milestone 2 (minus Milestone 2 specific features and BLUR). All performance related stuff is mostly in our hands already (think JIT).
[EDIT] JIT actually takes up a bit more of your RAM. The difference is quite noticeable if you multitask a lot.
Is there a optimal heap size we should use? What effects does it have if you set the heap size smaller or greater?
Just tried increasing the heap size on my phone. Set it to 48MB and angry birds, my text editors, etc, all finally run consistently smooth. Launcher reloads more often now, but that's not a big deal given the much improved in app experience for me.
Sworkhard said:
Just tried increasing the heap size on my phone. Set it to 48MB and angry birds, my text editors, etc, all finally run consistently smooth. Launcher reloads more often now, but that's not a big deal given the much improved in app experience for me.
Click to expand...
Click to collapse
Yes...Apps seem to not crash because they are being allocated more memory..
I was wondering:
A friend of mine said something like this "Android doesnt need more than 256mb of ram to run smoothly...but due to poor coding app developers dont seem to align or match their apps with the specifications of the android system"
Example: Dolphin HD crashes a lot when playing or viewing flash content and it seems to eat (when selecting heap size 64m) all of those 64mb that can be alocated to a process(app)...
What do you think guys?
yes, Dolphin HD really crashes more than the stock browser on my machine, with heap size set to default 32M
Dolphin HD crashes when I read some forums with very long passages, but the stock browser can display without problem.
Dolphin also occupies a lot of space for caching.

No ntfs can you have filesizes bigger than 4gb?

I formatted my sdcard to ntfs to see if it would recognise, but phone won't read the card. Is there a way to copy file sizes bigger than 4GB onto the note?
I can confirm, I couldn't transfer a 4.7 GB .mkv file to my phone (was trying to use it as a temporary hard drive to transfer a file from one computer to another). I had to break it up into 7 smaller pieces using win-rar and recombine it.
I would love to know why?
Just so can play 3d mkvs off my phone
NTFS can only be used hard drives for Windows NT/WinXP or later.
FAT32 is used on most everything else besides Windows, but unfortunately it has a limit of 4GB for a single file.
Wiki article:
http://en.wikipedia.org/wiki/Fat32#FAT32
Someone correct me if I'm wrong here... I remember hearing that kies has built in functionality to cope with the fat32 4gb file limit. If you transfer 4+gb files using kies you shouldn't run into any issues as kies splits up the large files seamlessly and transparently to the end user. Once the file is transferred it appears as 1 logical file on your sd card.
Can someone confirm or deny this?
Does the note support exFAT? If so, that is the solution as it support greater than 4GB file sizes.
Actually, just looked this up and it doesn't seem to support it natively.. Looks like there are mods to add support though, so this will probably be the solution in the future..
Riley
Thanks guys ill try the kies thing, see if it works. Stupid in this day and age it can't support ntfs.

F7 [mustang] multi-tasking and swap

Hi there,
I have a rooted 2019 F7 (Mustang) - stock rom - to be honest it's not a great performer but the form factor is spot on. I need a fix or workaround for playing music + browsing at the same time.
I'm struggling to get the F7 to do simple multi tasking for example, playing music via Spotify, or a Radio app whle browsing the web.
I've tried the usual "tricks" to keep Android memory manager at bay, and stop it closing my music in the background e.g:
- a 4gb swap partition in /data/ via apps2sd;
- using termux to create a swap file, both in /data/ and /cache/;
- Using Swapper (root) to create a swap file; and
- various swappiness settings using teh above.
Swap seems to work superficially, as the partitions are shown as free memory whenI run
Code:
free -m
in terminal, however, the amount of memory used suggests the system is not utilising them beyond a few MB over ZRAM.
In any event - is there some clever workaround I can use to either keep my apps music alive / listen adn browse in the same browser etc?
thephatmaster said:
Hi there,
I have a rooted 2019 F7 (Mustang) - stock rom - to be honest it's not a great performer but the form factor is spot on. I need a fix or workaround for playing music + browsing at the same time.
I'm struggling to get the F7 to do simple multi tasking for example, playing music via Spotify, or a Radio app whle browsing the web.
I've tried the usual "tricks" to keep Android memory manager at bay, and stop it closing my music in the background e.g:
- a 4gb swap partition in /data/ via apps2sd;
- using termux to create a swap file, both in /data/ and /cache/;
- Using Swapper (root) to create a swap file; and
- various swappiness settings using teh above.
Swap seems to work superficially, as the partitions are shown as free memory whenI run in terminal, however, the amount of memory used suggests the system is not utilising them beyond a few MB over ZRAM.
In any event - is there some clever workaround I can use to either keep my apps music alive / listen adn browse in the same browser etc?
Click to expand...
Click to collapse
Best solution IME is a 192MB (or so) swap file in the /cache partition with priorities set to favor the exiting 64MB ZRAM based swap. Set swappiness to ~10 and call it a day. Spinning up a huge static swap partition in /data won't help (will likely have the opposite effect) as the low-end eMMC overtaxes the annemic processor on large comprssion/decompression tasks. The small static swap gives the ROM some 'breathing room' which reduces most lags/stalls on boot and wake from sleep. Better but not great.
Browsing is particularly taxing on this device (albeit typical behavior on a low RAM gizmo). Might try a browser that renders in the cloud like Opera Mini or Opera w/data saver enabled. Stick to a tab or two and use the integrated ad blocker (I prefer VPN based blockers but that's OT). Even with those measures browsing will be a painful experience if the tab is doing anything else that actively utilizes limited resources. Good luck.
I'll give that a go. Two things:
My system reports 256mb Zram - is that compressed into 64mb or something?
Opera mini doesn't work on the Fire 7, nearest I found is puffin - which is heavy slow and buggy
thephatmaster said:
I'll give that a go. Two things:
My system reports 256mb Zram - is that compressed into 64mb or something?
Click to expand...
Click to collapse
My error; forgot Mustang defaults to 256MB ZRAM on FireOS v6. That could part of the problem when fully utilized as it reduces available uncompressed RAM which is much faster given the low end processor which must handle compression/decompression. Note ZRAM only consumes as much RAM as needed. A tool like DiskInfo will give a graphical readout of utilization.
thephatmaster said:
Opera mini doesn't work on the Fire 7, nearest I found is puffin - which is heavy slow and buggy
Click to expand...
Click to collapse
Try the full version of Opera with 'data saver' enabled. In that mode it operates much like Opera Mini from a workload and memory footprint perspective. Mini works fine on the hardware; FireOS v6 is the bad boy (likely missing libraries).

Categories

Resources