Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
optimize ram usage
03-16-2013, 11:28 AM
Post: #1
optimize ram usage
can you optimize ram usage to get more fps in ppsspp ?
ppsspp just use a little of ram.
this is screenshot from my phone :
[free ram when idle]
   
[free ram when playing ppsspp]
   

thank's for your hardwork, and sorry for my english Big Grin
Find all posts by this user
Quote this message in a reply
03-16-2013, 11:46 AM (This post was last modified: 03-16-2013 11:48 AM by Masato.)
Post: #2
RE: optimize ram usage
Indeed. If optimizing the RAM usage improves the FPS, then I'm in! It just uses about 12mb of my RAM memory, so using some more wouldn't be a problem.

It would be interesting to have an option in settings like "Allow more RAM usage?" That would make users with 1GB happy and as it would optional, everyone will still play.
Find all posts by this user
Quote this message in a reply
03-16-2013, 11:56 AM
Post: #3
RE: optimize ram usage
ppsspp use lower ram than my launcher
Find all posts by this user
Quote this message in a reply
03-16-2013, 12:12 PM
Post: #4
RE: optimize ram usage
Here is the same! I think they are doing this way to be acessible to nearly any s'martphone and tab... Hope they add an option to use more RAM!
Find all posts by this user
Quote this message in a reply
03-16-2013, 02:45 PM (This post was last modified: 03-16-2013 02:55 PM by thedicemaster.)
Post: #5
RE: optimize ram usage
more ram usage doesn't automatically make it faster.
most likely ppsspp uses exactly as much as it needs.

you can see ram as space on your desk.
if it's too small you won't be able to work very well on it, but a 2x10m desk wouldn't make you work any faster than a 1x2m desk.

edit: i don't know what game you're using to test memory usage, but ppsspp's ram usage definately changes depending on how much the game needs.
i tried a few heavier games and their usage got up to 36MB, with the lightest i could find at 25.
a task killer's notification also isn't a reliable source of information(you shouldn't be using a task killer at all, the built in task management does all you'll really need)
the running apps/games list in android settings is more reliable.
Find all posts by this user
Quote this message in a reply
03-16-2013, 09:13 PM
Post: #6
RE: optimize ram usage
Well, it takes around 15 in Harvest Moon and 25 in Digimon Redigitize.I'm using the built-in running apps to check.
Find all posts by this user
Quote this message in a reply
03-17-2013, 12:21 AM
Post: #7
RE: optimize ram usage
i agree Big Grin! hope for an option like this one and see the full potential of the emulator Smile
Find all posts by this user
Quote this message in a reply
03-17-2013, 10:19 AM
Post: #8
RE: optimize ram usage
PPSSPP uses some more memory that your monitor apparently can't see, about 48MB more. (32 for the PSP RAM, 16 for the JIT buffer IIRC).

The JIT is really a good example of trading RAM for speed - by caching recompiled PSP code, we save so much time. Same with the texture cache, we use VRAM to cache converted textures. So PPSSPP really does what you're asking for already.
Find all posts by this user
Quote this message in a reply
03-17-2013, 12:45 PM
Post: #9
RE: optimize ram usage
If you, for exemple, add an option to raise those numbers, it would get even faster, right?
Find all posts by this user
Quote this message in a reply
03-17-2013, 01:11 PM (This post was last modified: 03-17-2013 01:25 PM by VIRGIN KLM.)
Post: #10
RE: optimize ram usage
Like a memory hip limit controll? Could work I guess but would be disasterous when games have RAM leaks...
Find all posts by this user
Quote this message in a reply
03-17-2013, 01:21 PM
Post: #11
RE: optimize ram usage
Exactly. It could be an separate option like Fastmem is.

I know nothing of C++ programing, does anyone could try to implement in a build?
Find all posts by this user
Quote this message in a reply
03-17-2013, 01:36 PM
Post: #12
RE: optimize ram usage
Just because you will give an option to increase the limit it doesn't mean that the code is written so the emulator/JIT will take advantage out of it. You need to do alot more than just increasing the cap. Wait and see.
Find all posts by this user
Quote this message in a reply
03-17-2013, 01:49 PM
Post: #13
RE: optimize ram usage
As I've never seen the JIT cache get full at its current size, adding more won't gain anything. As for textures, they'll already take all the memory needed and no more.
Find all posts by this user
Quote this message in a reply
03-17-2013, 01:54 PM
Post: #14
RE: optimize ram usage
I understand. Still entering in the programing world... I know only Delphi and little bit of Java. I'll study C++ to help in the future.

Also, thanks for the great job Henrik and all other Devs!

BTW, what kind of log does you devs need to make One Piece Romance Dawn working? Unknown mentioned a debug build, but I have no idea how to compile it... I wanna help at least sending logs...
Find all posts by this user
Quote this message in a reply
03-17-2013, 02:04 PM (This post was last modified: 03-17-2013 02:05 PM by xsacha.)
Post: #15
RE: optimize ram usage
There's that extra 8MB taken (kernel mem) that isn't needed. But it's really scraping it. No phone should have an issue with the amount of memory PPSSPP takes right now.

My guess is because of the leaks in VRAM and many phones using shared system RAM for VRAM.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: