The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > General iPhone Chat
Reply
 
LinkBack (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1  
Old 08-20-2009, 08:05 PM
What's Jailbreak?
 
Join Date: Aug 2009
Device + Firmware: iPhone OS 3.0 Jailbroken
Operating System: Windows XP SP3
Posts: 2
Thanks: 0
Thanked 7 Times in 2 Posts
iPhone Swap Space

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; 08-20-2009 at 08:08 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 6 Users Say Thank You to jiztek For This Useful Post:
96hondaex (10-02-2009), bigbadmoshe (09-30-2009), dsg (10-14-2009), Ejb5oh (08-21-2009), MadPriest (10-02-2009), stocis (10-01-2009)
  #2  
Old 08-20-2009, 08:25 PM
sTrAnGe mOdS's Avatar
iPhone? More like MyPhone
 
Join Date: Dec 2008
Device + Firmware: White iPhone 3G - 16GB + 3.0.1 Jailbroken
Operating System: Dell Dimension B110 + Windows XP Professional
Location: Tennessee
Posts: 184
Thanks: 19
Thanked 16 Times in 16 Posts
Send a message via AIM to sTrAnGe mOdS Send a message via Yahoo to sTrAnGe mOdS

Quote:
Originally Posted by jiztek View Post
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!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 08-21-2009, 02:29 PM
Ejb5oh's Avatar
What's Jailbreak?
 
Join Date: Aug 2009
Posts: 5
Thanks: 4
Thanked 0 Times in 0 Posts

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; 08-21-2009 at 11:12 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 08-21-2009, 03:02 PM
My iPhone is a Part of Me
 
Join Date: Aug 2008
Device + Firmware: 16GB White iPhone 3G + 3.0b4
Operating System: Windows 7 / Ubuntu 8.10 dual boot
Location: New York
Posts: 678
Thanks: 1
Thanked 45 Times in 35 Posts

Why was swap space disabled by default? Save memory on the hard drive?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 08-21-2009, 03:19 PM
What's Jailbreak?
 
Join Date: Aug 2009
Device + Firmware: iPhone OS 3.0 Jailbroken
Operating System: Windows XP SP3
Posts: 2
Thanks: 0
Thanked 7 Times in 2 Posts

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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to jiztek For This Useful Post:
Ejb5oh (08-21-2009)
  #6  
Old 09-30-2009, 08:56 AM
iPhone? More like MyPhone
 
Join Date: Feb 2009
Device + Firmware: iPhone 3G 2.2.1
Posts: 185
Thanks: 0
Thanked 10 Times in 10 Posts

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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 09-30-2009, 11:10 AM
Green Apple
 
Join Date: Aug 2008
Device + Firmware: iphone 2.0
Operating System: vista
Posts: 68
Thanks: 6
Thanked 6 Times in 6 Posts

Quote:
Originally Posted by ares07 View Post
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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 09-30-2009, 11:37 AM
iPhone? More like MyPhone
 
Join Date: Feb 2009
Device + Firmware: iPhone 3G 2.2.1
Posts: 185
Thanks: 0
Thanked 10 Times in 10 Posts

don´t forget cost issues...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 09-30-2009, 01:08 PM
Livin the iPhone Life
 
Join Date: Dec 2007
Posts: 1,436
Thanks: 15
Thanked 182 Times in 173 Posts

while I don't need it (3GS), I will tell some of my friends about this, it's pretty cool
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 09-30-2009, 02:07 PM
Moderator
 
Join Date: Jul 2007
Device + Firmware: Iphone 3G
Operating System: Windows XP
Location: Saint Louis, MO
Posts: 765
Thanks: 61
Thanked 62 Times in 59 Posts

Will it hurt to do this to my 3gs or will it make it a bit better?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 10-01-2009, 03:29 PM
Green Apple
 
Join Date: Jul 2008
Device + Firmware: 8GB iPhone 3G, 3.1 jailbroken
Operating System: Mac OS X 10.6.1
Posts: 47
Thanks: 0
Thanked 4 Times in 4 Posts

Quote:
Originally Posted by stlcaddie View Post
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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 10-05-2009, 12:54 PM
WTFish's Avatar
What's Jailbreak?
 
Join Date: Feb 2009
Device + Firmware: iPod Touch 2g Jailbroken
Operating System: 7
Posts: 20
Thanks: 0
Thanked 3 Times in 2 Posts

I have installed this but nothing happens? 40mb of RAM at startup
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 10-05-2009, 01:24 PM
Livin the iPhone Life
 
Join Date: Dec 2007
Posts: 1,436
Thanks: 15
Thanked 182 Times in 173 Posts

Quote:
Originally Posted by WTFish View Post
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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 10-07-2009, 09:11 AM
What's Jailbreak?
 
Join Date: Jul 2009
Device + Firmware: 3G Firmware 3.0 jailbroken ultrasn0w
Operating System: XP
Location: LA
Posts: 15
Thanks: 2
Thanked 1 Time in 1 Post
how to use?

hey guys..
I downloaded this, but I dont know how to use it??
can anyone tell me ????
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 10-07-2009, 10:36 AM
Livin the iPhone Life
 
Join Date: Dec 2007
Posts: 1,436
Thanks: 15
Thanked 182 Times in 173 Posts

Quote:
Originally Posted by smlukkie View Post
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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > General iPhone Chat

Tags
iphone, jailbrake, mod, swap

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://modmyi.com/forums/general-iphone-chat/681840-iphone-swap-space.html
Posted By For Type Date
[iphone¤Ú¥´]¦³ÉN¤Ú¥´¶}¥ªµêÀÀ¤º¦s - ­»´ä°ªµn°Q½×°Ï This thread Refback 10-06-2009 02:10 PM
ôåøåí äãéåï ùì ä-ôøé÷ - äâãìú äæëøåï äåéøèåàìé ùì ä3G - îãäéí åòåáã. This thread Refback 09-30-2009 11:45 AM


Go to Top
ModMyI

All times are GMT -6. The time now is 10:54 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top