[plist] Increase RAM with Dynamic_Pager (Virtual Memory) (iOS 4.1 Compatible!)

Discussion in 'iPod touch' started by matt912836, Oct 24, 2010.

  1. dduttonnc New Member

    Member Since:
    Nov 23, 2010
    Message Count:
    68
    Device:
    iPad w/ 3G
    This is just scare tactics. The 2G DID have some VERY limited read/write cycles, but the newer gen devices are made to last 10 YEARS under normal use, and virtual memory will only shave a few yrs off that.

    I took my old 3G and put a swap file on it to test this "burn out" theory. I used backdrounder to launch enough apps to make 1GB of swap files, plugged in the phone and let them just all run keeping the CPU at 100% usage, and pretty much read/writing the storage almost continually. The device still worked fine after 3 months.
  2. tinyman392 Super Moderator

    Member Since:
    Jul 10, 2008
    Message Count:
    13,541
    Device:
    5G iPod touch
    Could you please stop saying it will not kill your FLASH. IT DOES...

    Every flash chip has a set number of reads/writes. The chips Apple uses have a relatively low number of these too. Once you're out, you can't use the device. You are really misinforming people. It also causes stability problems, even on large scale with desktop OSes. The speed problems occur because you are using your FLASH as RAM, not because Apple did it wrong or you have the right way. After a while, you will notice a major decrease in speed and fluidity, it doesn't matter which one you use. You don't need the second file. When the current swap is filled, it creates another swap file.

    If they don't do anything in the background, then they don't write that much to the swap. And I highly doubt you had 16 swap files in your VM folder. If you did, they were half empty. This is a mobile OS, it's really difficult to even fill 512MB of RAM (that's why Apple didn't do that for the iPod Touch).

    It's not a scare tactic, it's informing people and giving them option to make decisions on their own. If you hold back information and tell people to follow you blindly and put names on all the negative information/things, it sounds like you lack the resources to prove what you state.
  3. dduttonnc New Member

    Member Since:
    Nov 23, 2010
    Message Count:
    68
    Device:
    iPad w/ 3G
    I know it does. HELLO. I WORK FOR APPLE! I know exactly what is in all the idevices and ALL their tech specs and what they are capable of.

    Of COURSE it has limited read/writes (it's mostly the writes that limit it)

    but the newer idevices have so many write capabilities that using VM is virtually impossible to kill it.

    So far there has been NO official documentation or proof that an idevice has burnt out its storage due to VM use in less than 5 yrs. Now if you loaded it up and just GRINDED the storage 24hrs a day... THAT could burn it out rather quickly.

    Set up properly, the VM on a 256 or 512MB idevice will NOT be used enough to significantly reduce the life.

    PLEASE site some EXPERTS who have actually TESTED running an idevice with VM and had the storage burn out (with in a reasonable amount of time)
  4. dduttonnc New Member

    Member Since:
    Nov 23, 2010
    Message Count:
    68
    Device:
    iPad w/ 3G
    Again, wrong. I can fill up 512MB and use an additional 512MB on an iphone 4 in less than 2 mins.

    1) open safari, load about 5 pages in tabs, keep it running with backgrounder
    2) load about 4-5 other apps and have backgrounder keep them running
    ... presto.. I've just used more than 512MB of ram, and the swap file is needed.

    Like I said in another post. I took a 3G with 128MB of ram, jailbroken with backgrounder. I loaded enough apps to make 1GB worth of swap files (they varied in size from 64-256MB totalling 1GB). I then let the phone run NON STOP for 3 months. It still works fine. And this test was done AFTER the device was TWO YEARS OLD. So no. using VM does NOT kill the device.

    Lastly, this isn't really a mobile OS. A palm treo runing palm OS or Windows 5 or 6 mobile is a mobile OS. Newer iphones and ipads are basically mobile/handheld computers, and some of them just happen to have a phone. The OS that runs the idevices is a FULLY functional computer operating system. Apple just limits a lot of what it can do.
  5. tinyman392 Super Moderator

    Member Since:
    Jul 10, 2008
    Message Count:
    13,541
    Device:
    5G iPod touch
    I've seen 5-10 people saying that it fried their iPhones/iPods online. That caused a huge post about warning people about it. I've known of 3-5 devices (outside the 5-10 online) of my own (1) and my friends devices (2-4 different people) who have had their devices run slow.

    Just because you work for Apple doesn't mean they hand over the exact specs of the model of NAND chip that they use. Only the engineers (hardware) know how many it has exactly because they select the chips. The only other people that know are the engineers at Samsung and Toshiba (depending on what device you have). Affiliation with Apple means nothing.

    Also, when swaps are created, they are all the same size. That is the nature of the swap file. So saying you had files between 64MB-256MB in your swap folder is a lie. They are all the same size when used. You can have 16 64MB swap files, or 4 265MB swap files to make 1GB, but you cannot have a mix of them. That cannot exist with the way iPhone swap files work.
  6. dduttonnc New Member

    Member Since:
    Nov 23, 2010
    Message Count:
    68
    Device:
    iPad w/ 3G
    Wow. I'm about to prove you wrong. You really need to learn facts before typing. I'll just take a screenshot of my swap files. They do NOT have to be the same size. If you do not specify a size in the plist the pager will create 64,128, or 256mb swap files on the fly. BRB while screenshot this for you.

    I've been a hardware engineer all my life and a programmer. I know exactly what the NAND chips are capable of.

    Now if there are a FEW people that had storage burn out, then that is from DEFECTIVE storage. It's just like a hard drive or ram stick. They should last YEARS. Yet sometimes a HD or ram stick dies in a matter of days or months
  7. tinyman392 Super Moderator

    Member Since:
    Jul 10, 2008
    Message Count:
    13,541
    Device:
    5G iPod touch
    You're an Apple engineer?

    And I having this can't be defective. It happened under the same circumstances. All the iPods/iPhones that had VM installed had this problem. I've had a total of three iPods, the only one that died was the one with VM. Same with my friends... Wierd... Control group = no VM, test group = VM. Results: VM = dead iPod... All jailbroken (obviously) and using backgrounder. Some were newer devices, some were older.

    But do show me some pics, I'm curious now. And do enjoy learning. By the way, if you restart your device, clear out the VM folder before you do it...
  8. dduttonnc New Member

    Member Since:
    Nov 23, 2010
    Message Count:
    68
    Device:
    iPad w/ 3G
    I rest my case:

    My ipad just a bit ago showing a bunch of apps running

    [IMG]

    I then went to ifile to the vm folder and screenshotted it.

    [IMG]

    You clearly have no idea how the dynamic pager works.
  9. dduttonnc New Member

    Member Since:
    Nov 23, 2010
    Message Count:
    68
    Device:
    iPad w/ 3G
    No need to clear the vm files... but I can.. the dynamic pager cleans out all page files on restart. If I rebooted my ipad rightr now, and fired up ifile, only 1 64Mb swapfile0 would show up. I use my ipad about 8-10hrs a day, and have 256+MB of active swap files at all times. This ipad 3g was one of the first ones. Using VM has never slown it down, nor has it caused problems.
  10. tinyman392 Super Moderator

    Member Since:
    Jul 10, 2008
    Message Count:
    13,541
    Device:
    5G iPod touch
    OK, I stand corrected on that statement.

    OK... But still, my little experiment after my first iPod shows that VM has a link to causing devices to "malfunction". 6-10 devices devices: 3-4 with VM, rest don't have VM. They are all different models of different generations. The ones with VM died. It has a link. May not be direct cause, but has a huge link.

    If you are advertising this tweak, give both the advantages and disadvantages of it. Keep people informed. Especially with something as serious as a link to making devices "malfunction". Let the end user make the final decision.