Swap problem - G1 General

I'm using 64mb as the swap and I feel it is less responsive comparing to 32mb.
Does anyone have the same problem?

Yea everyone here doesnt go past 32mb swapfile cause it runs into issues and so.

If you are using JacHero you may want to try 32/60 thats the "sweet spot" if you are using cupcake stick with the original 32/10 settings.
make sure you put the swap file in /system/sd

Related

Performance is horrible

I recently setup apps2sd on my g1 with 1.5. I also use swapper and since I setup apps2sd, performance has been horrendous with or without swap on. Has anyone else experienced this? Is there a fix? Is my card just too slow? I don't know what class it is. Thanks for the advice
if your card doesn't have a 6 on it....its too slow.
did you buy a new card other than the one the G1 came with?
My apps are a little slower to startup after apps2sd but I figure it's worth it to have 100 X's more capacity.
It's not the stock card and I'm assuming it's not a class 6. However, I went back to using stock home instead of openhome and performance increased dramatically. Apparently openhome uses too much memory and causes other apps to swap to the same card it pulls apps from.
AbsoluteDesignz said:
if your card doesn't have a 6 on it....its too slow.
Click to expand...
Click to collapse
I'm tired of repeating that SD classes are only a rating for minimum sustained write speed. Maximum speeds are usually significantly higher, and vary from card to card based on the size of the file written.
Right, but if you make one that qualifies as a class 6, you wouldn't write a 2 on it unless you're a moron and want to undervalue it.
bmk789 said:
I recently setup apps2sd on my g1 with 1.5. I also use swapper and since I setup apps2sd, performance has been horrendous with or without swap on. Has anyone else experienced this? Is there a fix? Is my card just too slow? I don't know what class it is. Thanks for the advice
Click to expand...
Click to collapse
Did you use the JF1.5 Lucid modded one? try not moving the data/cache to sd. That was the problem i was having. When i moved it over, it was verrrry sluggish.
bmk789 said:
It's not the stock card and I'm assuming it's not a class 6. However, I went back to using stock home instead of openhome and performance increased dramatically. Apparently openhome uses too much memory and causes other apps to swap to the same card it pulls apps from.
Click to expand...
Click to collapse
Try DXtop instead of openhome.
yes, im using JF but i dont think I copied over any apps or cache. performance is slightly better since I upgraded and wiped but still doesn't feel like what it should be. maybe I will buy a new card
bmk789 said:
yes, im using JF but i dont think I copied over any apps or cache. performance is slightly better since I upgraded and wiped but still doesn't feel like what it should be. maybe I will buy a new card
Click to expand...
Click to collapse
The new Dude build is pretty fast. Give it a try.

What's the big deal about EXT4?

Ok can someone explain the difference between EXT4 and the regular software the I'm running..... right now I'm using roto jmi firmware version 2, my tab feels fast, quadrant score of 1006 but I hear everyone saying converting to EXT4 will make it that much faster......
......basically is it worth me doing it?
Sent from my GT-P1000 using XDA App
EXT4 is a filesystem, not software. http://en.wikipedia.org/wiki/Ext4
Its faster than the rfs filesystem the galaxy tab uses by default because of the way it manages **** writes.
So yeah, if you experience random lagging, this will fix it and should make it generally more fluid
KingofXings said:
Ok can someone explain the difference between EXT4 and the regular software the I'm running..... right now I'm using roto jmi firmware version 2, my tab feels fast, quadrant score of 1006 but I hear everyone saying converting to EXT4 will make it that much faster......
......basically is it worth me doing it?
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Personally, I think you see more performance gains going from stock to a JMI ROM, than you will going to EXT4 from RFS on a JMI ROM.
Yes, quadrant appears much faster, but in real world usage there isn't as much difference.
So my advice is, if you're happy with what you've got, leave it alone for now.
Regards,
Dave
I disagree, I ran on a JMI rom with the original file system for about 2 weeks and then upgraded to EXT4 and I definitely noticed a speed improvement. Well worth the conversion since it only took about 10 minutes and went very smoothly.
this is my point exactly, my tab runs smooths, feels fast enough so i wonder how much faster can EXT4 make it??
i suppose theres a part of me inside thats never satisfied and even knowing that there is a possibility that i could potentially make my tab faster makes me wanna switch to EXT4.....
but i have 3 questions..
1) what does quadrant scores actually mean in real life?
2) does using EXT4 over the standard RFS effect or improve battery life?
3) and will samsung revert back to RFS if i ever decided to change roms?
KingofXings said:
this is my point exactly, my tab runs smooths, feels fast enough so i wonder how much faster can EXT4 make it??
i suppose theres a part of me inside thats never satisfied and even knowing that there is a possibility that i could potentially make my tab faster makes me wanna switch to EXT4.....
but i have 3 questions..
1) what does quadrant scores actually mean in real life?
2) does using EXT4 over the standard RFS effect or improve battery life?
3) and will samsung revert back to RFS if i ever decided to change roms?
Click to expand...
Click to collapse
In my experience, converting to EXT4 (first) made a remarkable improvement even on the stock ROM, then installing the Overcome ROM was icing on the cake.
1) quadrant scores don't mean squat (IMHO)
2) possibly -- due to more efficient I/O
3) doesn't matter -- once you do change ROMs, you will never go back to any "Samsung" (oem) ROM.
gwbard said:
In my experience, converting to EXT4 (first) made a remarkable improvement even on the stock ROM, then installing the Overcome ROM was icing on the cake.
1) quadrant scores don't mean squat (IMHO)
2) possibly -- due to more efficient I/O
3) doesn't matter -- once you do change ROMs, you will never go back to any "Samsung" (oem) ROM.
Click to expand...
Click to collapse
ok ur making me wanna make the switch but does it matter that my tab is already running the roto jmi firmwire v2 b4 i make the conversion to EXT4?
plus is overcome that much more better suited to EXT4 than roto jmi?
KingofXings said:
ok ur making me wanna make the switch but does it matter that my tab is already running the roto jmi firmwire v2 b4 i make the conversion to EXT4?
plus is overcome that much more better suited to EXT4 than roto jmi?
Click to expand...
Click to collapse
I can't really answer about Roto's for sure -- I started with the stock (JJB) ROM and first applied MoDaCo's r3 kernel
(+ext4 conversion +clockwork recovery).
The MoDaCo conversion was very easy & I rebooted back to the stock ROM with no problem -- then flashed Overcome via CWM a day or so later.
The Overcome (and MoDaCo) ROMs were meant for EXT4 specifically -- not sure about Roto's, maybe someone else can answer that. If I were you I would have the Overcome zip ready to go on the sdcard, so you can easily get back to CWM and flash it if Roto's doesn't work out.
If I switch to EXT4, will this cause a compatibility problem with my PC which runs windows vista? More specifically, can my windows vista laptop read the EXT4 formatted microSD in my gtab ?
Converting to EXT4 only converts the OS partition. It does nothing to your SD cards, which I believe are in the FAT32 file system.
....So while we are talking about EXT4...Has anyone considered EXT4 on android with consideration of read/write cycles?
Some background: I've had several netbook and still have a dell mini 9. They have always run linux (specifically fedora). All have had SSDs. SSD have (and I guess newer SSDs still have) and number of read/write cycles that are finite (before you should expect failure). This is somewhat like the mean time to failure for spinny/mechnical HDs.
There was mild concern in the netbook forums that journalling filesystems would 'encourage' premature failure of SSDs. By 'premature', I mean happen sooner than expected as journalling FSs do all sorts of read/writes for the journal maintenance....For many, my self included, it was felt that this is not a huge issue as the number of read/writes was pretty big and that you would 'grow out' of the device before the time it takes to get to the number (or the device is obsoluted).
So, SSDs are flashed based. Is the android file system devices like an SSD? No idea and I think not. I bet many internal android storage devices, including SGT's, are flash based. I suspect the read/write cycles are a characteristice of flash memory and not an SSD thing.
So are journalling filesystems (specifically ext4) a concern on andorid for this reason? For me, probably not (i'll want something new in a year anyway...)
FWIW: ext4 and probably other journalling FSs have a way to turn off the journal features. The idea is that you'd get the other good stuff of ext4, but not the excessive read/writes (i.e. wear and tear on HD or SSD). Some netbookers, opted to do this while using EXT4; I never did. I wonder if the android ext4 'stuff' has this on or off?
Well, the Samsung RFS stands for Robust FAT File System, and it is basically FAT with Journaling slapped on top for protection, so I am guessing the journaling isn't too big a problem
But, this is exactly where the problems with RFS come in, it is a rather slapped together filesystem, and the drivers are none too great either. Whereas, EXT4 is a filesystem made for linux, and all the drivers etc are a heck of a lot better.
To the OP, the major benefits come in when writing files, such as installing programs etc, which is a LOT quicker. One of the main problems with the RFS setup is it takes comparatively forever to sync/write each file to the flash because of the slapped on journaling on a filesystem not really meant for it. There is a slight increase in speed/responsiveness all around because of the more efficient I/O, but yeah that is the major benefit.
Personally, I have gone to Overcome's v1.2.0 rom and kernel, ext4 filesystem etc, and will not be looking back. I also have the good fortune of being in a household with 2 tabs, the other being my father's which he does not want to even root let alone flash, so I will be doing a video comparison between stock and mine in the next few days, for all those interested in seeing the benefits compared to stock.

[Q] Swap Partition or not?

Hi ...
one question:
Is there an advantage to use a swap partition?
And there are also disadvantages?
For example, read/write-speed or lifetime of the SD-Card?
cu TM
It´s only a good thing if you have a high class sd card
Personally I don´t use Swap since my phone is fast enough and i don´t see that big advantages of this "extension".
Thanks for the information. So I thought it ...
cu TM
If you use a swap file from inside your /data it increases performance a small bit. If your using any of the Ubuntu on hd2 stuff, you definatly want a swap file, as the GUI for Ubuntu likes to hog the small amount of ram.
Sent from my HD2 using xda premium
Thanks !
(Where is the thank button ? )
cu TM

Swap File

Most Say that a swap file doesn't make Much of a Difference, From personal experience I would have to disagree
Running free in the terminal on a normal nor swap enabled day I would have 22 - 200 free, this is running no programs, and 3 email accounts
Recently I created and enabled a 512MB swap on my SD, against my better judgment of swapping on solid state..
This has had Drastic improvement in performance let alone free not showing 3916 free in mem and 14424 used on the swap, My shift is alot more fluid and responsive,
Your results may vary but i figured i would share my results
Im running scarystable comp cache 18%, vm heap 48m on CM7 nightly 238
again I don't claim to know anything more then the next guy Just sharing my results
Give me about 15 minutes and you can have these types of stats when you type free in terminal. It does help, regardless of what others have said. And scary kernel will work.
http://db.tt/6NzMLnpl
Sent from my PG06100 using xda premium
I love it, Now my only worry it the wear on my SDcard, but I figure aslong as I delete and create the Swap file once in a while it will ware evenly, I just never expected this kind of gain from it.
I will admit 512 may be overkill but it sounded nice
Thanks for your results!
The problem with swap files/partitions is they're slower then ram so you need to buy the highest class sdcard your device can handle to have anything resembling a positive effect and they'll destroy your sdcard. Plus unless you have a script or app to manage swap its a pain to have to disable and re-enable swap when attaching to your pc through usb.
With our devices having 512 ram and something like V6Supercharger with compcache disabled I've found I always have more then enough free ram for pretty much anything.
Sent from my PG06100 using XDA App
Move thread to here: New thread with instruction and patch
http://forum.xda-developers.com/showthread.php?p=18921074#post18921074
---------- Post added at 01:39 PM ---------- Previous post was at 01:38 PM ----------
Ron Overdrive said:
The problem with swap files/partitions is they're slower then ram so you need to buy the highest class sdcard your device can handle to have anything resembling a positive effect and they'll destroy your sdcard. Plus unless you have a script or app to manage swap its a pain to have to disable and re-enable swap when attaching to your pc through usb.
With our devices having 512 ram and something like V6Supercharger with compcache disabled I've found I always have more then enough free ram for pretty much anything.
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
No, swap file is slow, swap partition is not
sparksco said:
No, swap file is slow, swap partition is not
Click to expand...
Click to collapse
The data rate of a class 10 sdcard is 10MB/s. DDR-200 which is the oldest and slowest DDR ram is 1600MB/s. Swap is slow regardless whether its a file or a partition.
Sent from my PG06100 using XDA App
Ron Overdrive said:
The data rate of a class 10 sdcard is 10MB/s. DDR-200 which is the oldest and slowest DDR ram is 1600MB/s. Swap is slow regardless whether its a file or a partition.
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
There is a difference between swap file and swap partition
blahbl4hblah said:
There is a difference between swap file and swap partition
Click to expand...
Click to collapse
Yes, but a swap partition can -not- increase the physical read/write speed of the sdcard which is the point I'm making. Is swap file slower then a partition? Yes I never argued that. My argument is swap in general is slow.
Sent from my PG06100 using XDA App
Ron Overdrive said:
Yes, but a swap partition can -not- increase the physical read/write speed of the sdcard which is the point I'm making. Is swap file slower then a partition? Yes I never argued that. My argument is swap in general is slow.
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
If your here to use, test swap, provide your results ect fine. If your here to bash swap, then please stfu and go away. We don't need negativity in these forums. do you even know what swappiness is or how to set it?
Swap
Swap is not meant nor does it truly need to be fast, From my understanding it takes whats not being used from ram and "swaps" it to disk to free up ram for programs that require the speed, It is not a replacement for direct ram.
None the less I thank sparksco for his Post and will be trying it out later in much anticipation
JaceAlvejetti said:
Swap is not meant nor does it truly need to be fast, From my understanding it takes whats not being used from ram and "swaps" it to disk to free up ram for programs that require the speed, It is not a replacement for direct ram.
None the less I thank sparksco for his Post and will be trying it out later in much anticipation
Click to expand...
Click to collapse
Your trolling skills amaze me...
Sent from my PG06100 using xda premium
JaceAlvejetti said:
Swap is not meant nor does it truly need to be fast, From my understanding it takes whats not being used from ram and "swaps" it to disk to free up ram for programs that require the speed, It is not a replacement for direct ram.
None the less I thank sparksco for his Post and will be trying it out later in much anticipation
Click to expand...
Click to collapse
Nice
10char
JaceAlvejetti said:
Most Say that a swap file doesn't make Much of a Difference, From personal experience I would have to disagree
Running free in the terminal on a normal nor swap enabled day I would have 22 - 200 free, this is running no programs, and 3 email accounts
Recently I created and enabled a 512MB swap on my SD, against my better judgment of swapping on solid state..
This has had Drastic improvement in performance let alone free not showing 3916 free in mem and 14424 used on the swap, My shift is alot more fluid and responsive,
Your results may vary but i figured i would share my results
Im running scarystable comp cache 18%, vm heap 48m on CM7 nightly 238
again I don't claim to know anything more then the next guy Just sharing my results
Click to expand...
Click to collapse
Swap file is useless and slows your phone down. Just like a pagefile on windows.
"disk" is ALWAYS slower than "RAM"
Post your linpack and antutu scores.

Is it good to Use Swap?

How good or bad is it to Use a swap partition, pros & con's ?
mevricksam said:
How good or bad is it to Use a swap partition, pros & con's ?
Click to expand...
Click to collapse
I guess its okay to use swap. Swap increases your ram and so you can preform better multitasks.
I think the con is that the phone gets slow if your SD card is not good. But i am really not sure on this one
mevricksam said:
How good or bad is it to Use a swap partition, pros & con's ?
Click to expand...
Click to collapse
SWAP expands your RAM, so when you have it, you can open more apps than than you could without it.
If You're not trying to run many RAM-eating apps at the same time, you're only wasting your SD space.
I close every app i don't need, so SWAP i useless for me. Also i'm using Dorimanx ROM, which when SWAP is enabled has no built in task manager. If it wasnt like that, i would probably have it, just in case.
About slowing phone down: SWAP will never work as fast as RAM, since it has slower access time than native RAM. It's just to keep everything going even if you ran out of RAM, maybe a little slower, but still.

Categories

Resources