User Tag List

  1. jiztek's Avatar
    Today, my girlfriend was complaining about her iPhone software crashing left and right due to low memory issues. So I asked myself why can't we just enable swap space(screw the flash memory by the time it dies there will be a nicer phone out). Anyway the phone is running OS 3.0 jailbroken with OpenSSH, winterboard,ect. The usual things that end up on a jailbroken iphone. Basically the process is really simple, get a SFTP program like WinSCP and connect to your iphone as root. Then navigate to /System/Library/LaunchDaemons and upload com.apple.dynamic_pager.plist which can be downloaded via the link below. Next reboot the phone and enjoy having dynamic paging or swap space. The plist could be edited obviously changing the parameters for dynamic_pager for various reasons I just kept it as simple as possible. We tested by backgrounding so many applications the phone came to a crawl but we still had free memory!

    Hope this helps some people, not sure if anyone would even be interested in this. But my girl friend sure is happy, which means I'll be getting happy later lol good luck iphone modding.

    Found out I couldn't attach plist files.

    Download link for com.apple.dynamic_pager.plist
    Last edited by jiztek; 2009-08-21 at 02:08 AM.
    2009-08-21 02:05 AM
  2. sTrAnGe mOdS's Avatar
    Today, my girlfriend was complaining about her iPhone software crashing left and right due to low memory issues. So I asked myself why can't we just enable swap space(screw the flash memory by the time it dies there will be a nicer phone out). Anyway the phone is running OS 3.0 jailbroken with OpenSSH, winterboard,ect. The usual things that end up on a jailbroken iphone. Basically the process is really simple, get a SFTP program like WinSCP and connect to your iphone as root. Then navigate to /System/Library/LaunchDaemons and upload com.apple.dynamic_pager.plist which can be downloaded via the link below. Next reboot the phone and enjoy having dynamic paging or swap space. The plist could be edited obviously changing the parameters for dynamic_pager for various reasons I just kept it as simple as possible. We tested by backgrounding so many applications the phone came to a crawl but we still had free memory!

    Hope this helps some people, not sure if anyone would even be interested in this. But my girl friend sure is happy, which means I'll be getting happy later lol good luck iphone modding.

    Found out I couldn't attach plist files.

    Download link for com.apple.dynamic_pager.plist
    LOL "happy"
    btw congrats on your first post!
    2009-08-21 02:25 AM
  3. Ejb5oh's Avatar
    DUDE!!! You rock. This mod has completely fixed my low memory issue thus far. The phone slows a bit but not bad. We will see if it completely stops the springboard resets that used to occur quite frequently.

    Great posting!!!
    Last edited by Ejb5oh; 2009-08-22 at 05:12 AM.
    2009-08-21 08:29 PM
  4. boxxa's Avatar
    Why was swap space disabled by default? Save memory on the hard drive?
    2009-08-21 09:02 PM
  5. jiztek's Avatar
    I'm glad others are finding this useful. As for why this feature was originally disabled, the only thing I can think was because it does slow the phone down a bit(but not as much as randomly crashing applications). That and there is a huge arguement on the use of flash media as swap because of the large amounts of read and write operations that lower the over all life span of the flash media. But if you think like I do, the likely hood is you'll have a new model before you destroy the flash media.
    2009-08-21 09:19 PM
  6. ares07's Avatar
    i said this on the other thread: Nokia n900, their upcoming smartphone that runs Maemo (variety of Linux), is pretty much a twin of the 3gs in terms of hardware: same physical RAM, same processor and graphical chip. Well, besides physical RAM, a swap file of 1GB of virtual memory is listed on the specs. Do you think flash memory used by Nokia is much better than Appleīs? Donīt think so.
    2009-09-30 02:56 PM
  7. lolento's Avatar
    i said this on the other thread: Nokia n900, their upcoming smartphone that runs Maemo (variety of Linux), is pretty much a twin of the 3gs in terms of hardware: same physical RAM, same processor and graphical chip. Well, besides physical RAM, a swap file of 1GB of virtual memory is listed on the specs. Do you think flash memory used by Nokia is much better than Appleīs? Donīt think so.
    It really depends. SLC Flash memory has typical read/write cycles for 100,000. MLC Flash memory (used on the Iphone) only has 10% of that (10,000 cycles) typically.

    But I don't know what Nokia uses. They might be using MLC type as well to save space.
    2009-09-30 05:10 PM
  8. ares07's Avatar
    donīt forget cost issues...
    2009-09-30 05:37 PM
  9. BlackWolf's Avatar
    while I don't need it (3GS), I will tell some of my friends about this, it's pretty cool
    2009-09-30 07:08 PM
  10. stlcaddie's Avatar
    Will it hurt to do this to my 3gs or will it make it a bit better?
    2009-09-30 08:07 PM
  11. EricJD's Avatar
    Will it hurt to do this to my 3gs or will it make it a bit better?
    I highly doubt you'll see much of a difference on a 3GS.
    2009-10-01 09:29 PM
  12. WTFish's Avatar
    I have installed this but nothing happens? 40mb of RAM at startup


    | iPTBoard | My Site | ThemeDB | iCrap
    2009-10-05 06:54 PM
  13. BlackWolf's Avatar
    I have installed this but nothing happens? 40mb of RAM at startup
    I guess it won't show as free RAM as the "free ram" number only shows the physical free ram, not virtual one.
    2009-10-05 07:24 PM
  14. smlukkie's Avatar
    hey guys..
    I downloaded this, but I dont know how to use it??
    can anyone tell me ????
    2009-10-07 03:11 PM
  15. BlackWolf's Avatar
    hey guys..
    I downloaded this, but I dont know how to use it??
    can anyone tell me ????
    you don't. once you followed the instructions in the original post, it's already set up and everything. you don't need to do anything anymore.
    2009-10-07 04:36 PM
  16. stocis's Avatar
    after a week of using this, i have to say my phone in many cases has become slow, unresponsive and freezing in applications. do more have the same issue?
    Thanks is an acknowledgment
    2009-10-11 08:35 AM
  17. Dorkington's Avatar
    I'd love to hear more stories about people doing this.

    I'm considering it myself.

    after a week of using this, i have to say my phone in many cases has become slow, unresponsive and freezing in applications. do more have the same issue?
    Are you quitting out of back grounded applications or just keeping them on indefinitely?

    Does it clear up with a reboot?
    Last edited by Dorkington; 2009-12-01 at 02:49 PM. Reason: Automerged Doublepost
    2009-12-01 02:49 PM
  18. Ejb5oh's Avatar
    Had to revert back to normal iPhone settings. This mod actually slowed my phone over time and caused it to operate at a crawl, while still showing about 40 mb of Ram. In essence, all it did was change the number in the available RAM section of sbsettings while crippling my phone.
    2009-12-01 03:51 PM
  19. astearon's Avatar
    Can anyone provide the original file ? 3.1.2 is my FW version.
    2010-07-19 10:47 PM
  20. ezelthompkins's Avatar
    iPhone Swap Space
    Your Ad Here
    Today, my girlfriend was complaining about her iPhone software crashing left and right due to low memory issues. So I asked myself why can't we just enable swap space(screw the flash memory by the time it dies there will be a nicer phone out). Anyway the phone is running OS 3.0 jailbroken with OpenSSH, winterboard,ect. The usual things that end up on a jailbroken iphone. Basically the process is really simple, get a SFTP program like WinSCP and connect to your iphone as root. Then navigate to /System/Library/LaunchDaemons and upload com.apple.dynamic_pager.plist which can be downloaded via the link below. Next reboot the phone and enjoy having dynamic paging or swap space. The plist could be edited obviously changing the parameters for dynamic_pager for various reasons I just kept it as simple as possible. We tested by backgrounding so many applications the phone came to a crawl but we still had free memory!

    Hope this helps some people, not sure if anyone would even be interested in this. But my girl friend sure is happy, which means I'll be getting happy later lol good luck iphone modding.
    Where did you get the plist file from? Did you write the file? Can you explain what the various keys and settings are and if there are options for them?

    Here is the contents:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>Label</key>
    	<string>com.apple.dynamic_pager</string>
    	<key>OnDemand</key>
    	<false/>
    	<key>ProgramArguments</key>
    	<array>
    		<string>/sbin/dynamic_pager</string>
    		<string>-F</string>
    		<string>/private/var/vm/iphone_swap</string>
    	</array>
    	<key>RunAtLoad</key>
    	<true/>
    </dict>
    </plist>
    2010-07-28 10:42 PM

Tags for this Thread

LINK TO POST COPIED TO CLIPBOARD