chenke6950

IOKit has very large swapped size on iPhone6

Recommended Posts

 

We use OpenGL ES2.0 for our game.

On iPhone6 series, the IOKit has very large swapped size(100MB for just one resource, 0 resident size and 0 dirty size) which will lead to crash,

for the same setting, almost no swapped size on iPhone 5 and 7 series...(attached images are iphone 5,6,7 in order)

Our textures are mostly 1024x1024, 512x512, one 2048x1024

any ideas?

iphone5.JPG

iphone6.JPG

iphone7p.JPG

Edited by chenke6950

Share this post


Link to post
Share on other sites

OpenGL textures will show up under IOKit.  With that in mind, here are a few things I noticed that might help - 

The iPhone5 is the only one that maintains a zero swapped size and is also the one with the smallest screen size.  So maybe screen size is a factor?  Especially if you're doing multiple render passes.

Your iPhone6 is running iOS 9, so perhaps there was a memory management change for iOS 10 that effects what you're doing.  Metal had some changes in iOS 10 with texture-handling, but I think that was mostly to support wide-range pixel formats.  Still might be worth looking into.

Share this post


Link to post
Share on other sites
13 hours ago, missionctrl said:

OpenGL textures will show up under IOKit.  With that in mind, here are a few things I noticed that might help - 

The iPhone5 is the only one that maintains a zero swapped size and is also the one with the smallest screen size.  So maybe screen size is a factor?  Especially if you're doing multiple render passes.

Your iPhone6 is running iOS 9, so perhaps there was a memory management change for iOS 10 that effects what you're doing.  Metal had some changes in iOS 10 with texture-handling, but I think that was mostly to support wide-range pixel formats.  Still might be worth looking into.

hi, missionctrl

we tested an iPhone6 and iPhone6p on iOS 10.3.2, same problem. 

we do not use any multiple render pass, only render to the window.

I guess iPhonn5 do not have swapped size is because it exits after iPhone5s.

Edited by chenke6950

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Announcements

  • Forum Statistics

    • Total Topics
      628307
    • Total Posts
      2981971
  • Similar Content

    • By muhamad rabee
      My first mobile game made with unity

      iphone: https://itunes.apple.com/us/app/aa-countdown/id1314223584?ls=1&mt=8

      android: https://play.google.com/store/apps/details?id=com.mr.AACountDown

      I appreciate every suggestion
    • By Simplepg
      https://play.google.com/store/apps/details?id=simple.gplay.GamesInABox
    • By Simplepg
      https://play.google.com/store/apps/details?id=simple.gplay.GamesInABox
    • By ForgedInteractive


      Who We Are
      We are Forged Interactive, a small team of like-minded game developers with the sole purpose of making games we love! We're a team of artists, animators, programmers, level designers, writers, composers, producers, and other creative minds. We want to make games that you, the modern gamer want to play! We hope to build a community that enjoys our games as much as we love creating them. With your feedback and support we will be able to achieve that.

      About the Game
      GAME NAME is a fun, action-packed army builder with unique characters, challenges and engaging levels. Set forth on an adventure to protect friends, family and countrymen from new adversaries. Once defeated your enemies turn coat and join you in your adventures. Players can enjoy a range of troops and abilities based on their gameplay style which become more important as maps introduce more challenging terrain, enemies and bosses. Strong orc knights, dangerous shamans, and even a dragon are out on the prowl. Knowing when to fight and when to run, and how to manage your army is essential. Your actions alone decide the fate of this world.

      Previous Work by Team
      Although we are working towards our first game as a team, our team members themselves have past experience in the industry.
      This includes members who have worked on titles including:
      Final Fantasy Kingsglaive, FIFA, Xcom 2 and Civilization.

      Who are we looking for? 3D Modellers Concept Artists Marketing Specialists Level Designer

      What do we expect? Reference work or portfolio. Examples what have you already done and what projects you have worked on academic or otherwise. The ability to commit to the project on a regular basis. If you are going on a two-week trip, we don't mind, but it would be good if you could commit 10+ hours to the project each week. Willingness to work with a royalty based compensation model, you will be paid when the game launches. Openness to learning new tools and techniques
      What can we offer? Continuous support and availability from our side. You have the ability to give design input, and creative say in the development of the game. Shown in credits on websites, in-game and more. Insight and contacts from within the Industry.
      Contact
      If you are interested in knowing more or joining. Please email or PM us on Skype. Myself or Colin will reply to you within 48 hours.

      E-mail: Recruitment@ForgedInteractive.com
      Skype: ForgedInteractive

      Regards,
      David and Colin

      Follow us on:

      Facebook: https://www.facebook.com/ForgedInteractive/
      Twitter: @ForgedInteract
      Youtube: https://www.youtube.com/channel/UCpK..._as=subscriber
      Reddit: https://www.reddit.com/user/Forged_Interactive/
    • By Brian Paek
      Football Dash now on iOS! Over 1 million downloads on Android
      iOS:
      https://itunes.apple.com/us/app/football-dash-endless-runner/id1312590451?ls=1&mt=8
      Android:
      https://play.google.com/store/apps/details?id=com.beastattack.c1434846484727

  • Popular Now