Memory Split Does What? Increase or leave alone?
-
@gaavoid 128MB for 256MB ram machines, and 256MB for others.
-
@buzz Thanks. I must have changed it a long time ago to deal with emulation station at the time, then blanked it from my mind. I'll change it back to 256 when I'm back home.
Would me having it set to 400 cause any emulation issues? I've noticed some music stutter/low frame rate on a few FBA roms but put it down to hardware capabilities. Perhaps changing the memory split back to default will change this. I'll report back in a couple of days. -
@gaavoid Probably not but I don't think 400MB will benefit anything now. Used to be needed for some ES themes before.
-
Thank you for the information, I don't want to interfere with any of my emulators so I'm going to leave it alone and bring my background image down from 1080p to 720p and see if that helps. It's only slow on the carousel transition between systems, seems to stutter a little bit. I'm using lilbud's Modern TV theme (I think it's lilbud's at least).
I do not have screen capture set up and I'm leaving for a trip to New York tonight for the week but I will try and get a video when I can. If you don't mind watching a YouTube clip from my phone I'd be happy to upload that.
-
@thewinterdojer that works for me, if you're under the impression your background images are 1080p, I'd certainly start there.
Safe trip.
-
@thewinterdojer how do i do this??
-
Here is my take..
As far as needing any kind of graphical power not much is needed. Old MAME games (1979-1995) and other 8 and 16-bit emulators don't really use the GPU at all. Retroarch does use it for shaders and filterers and some rendering so you want more GPU for that. But normally the more RAM the CPU has the better.
However...as you get into the more 3-D gaming you need more GPU it is much more demanding to render the objects. Some PSX and ALL of the N64 and Sega Saturn and Sega Dreamcast are GPU hungry.
Problem is they are also more CPU and RAM intensive. There is more [numbers/code] for the computer to crunch and process. So while you might give more RAM to the GPU for rendering you take more from the CPU..and visa versa.
it boils down to the GPU on the PI can only use up to one Gigabyte of RAM max. Now if they could give us two gigs (one for the GPU and one for the CPU) that would be wonderful..but it would also make the PI more expensive. Although a use off DDR3 ram compared to the Rasp PI's DDR1 ram would help performance even if it is still the same amount (one gigabyte)...but then cost again.
When you want better performance with an emulator use a lower resolution. Everybody s about 1080p and HD and all that. Remember though that most of these ran at less than 720p. Yeah it may look like crap but..that is what they looked like lol
When I use the scraper and have it convert the videos down for the pi. It converts 640x480@60fps down to 320x240@30fps they run much smoother and there are no "hiccups" (or at least very few) then with high resolutions video snaps in emulation station.
-
@akafox you can measure the GPU ram usage in realtime: https://www.raspberrypi.org/forums/viewtopic.php?t=23185
even with n64 and dreamcast, the emulators in retropie don't use much (~50MB).
ddr3 would definitely help, though!
-
Even with faster memory wouldn't you still only be as fast as the memory controller (SoC?) allows. You can't push data faster than the CPU/GPU can handle. You can run slower but not faster. It seems like you still would be throttled by the CPU/GPU in some way or the SoC which integrates all the components. I have trouble separating components and what they can do like you do with a PC.
This helped muddy the waters on GPU usage. It sounds like problem B (saturated 3D CPU) could be the real cause of problem A (slow vector units). Everything seems so tightly integrated when using...well a SoC!
I suppose all the integration is about a low cost cheap solution but still pretty amazing. With RAM it definitely seems to be a rob Peter to pay Paul situation. What the GPU leaves the CPU is allocated. I agree most games used very little RAM back in the day but "emulation overhead" whether pertaining to the system (ES), the emulator itself , pre/post processing effects, etc. it really all becomes part of the base requirements to run the game as you can't really separate the resource usage.
I don't know but if you can't utilize 100% of the RAM in some game, etc. the memory split doesn't seem like it would matter? I mean if you did a 512 split down the middle and neither the CPU or GPU is hitting 100% then it seems irrelevant. I know when it comes to virtualization we shoot for as close to 100% as possible barring issues like I/O due spindle count or memory/CPU spikes anything less (which happens all the time) is wasted clock cycles or underutilized.
sudo vcdbg hist
gnuplot task.gptwill show you how busy the GPU is. (Usually not very...)
It would be difficult to get an overall GPU level of usage. It consists of dozens of HW blocks, 2 vector CPU's, a number of 3D CPU's etc. If one of those becomes saturated, then the GPU is running as fast as it can, but (for example) the vector units may NOT being running at full tilt, so you cannot just add up all the performance from each block. One measure could be overall memory bandwidth, which can sometimes be a limitation, but even that's not much use as you can max out some of the blocks without hitting a memory bandwidth issue. So as you can see, it's not like a CPU graph where you CAN say specifically how much CPU time is being used.
-
@riverstorm said in Memory Split Does What? Increase or leave alone?:
Even with faster memory wouldn't you still only be as fast as the memory controller (SoC?) allows.
oh sure, but i would hope they would also upgrade the bus before slapping in faster memory, otherwise it would just have to be downclocked :)
I agree most games used very little RAM back in the day but "emulation overhead" whether pertaining to the system (ES), the emulator itself , pre/post processing effects, etc. it really all becomes part of the base requirements to run the game as you can't really separate the resource usage.
you can measure accurately VRAM in real time (so, including the emulation overhead) via vcgencmd, so you can at least measure that, and it's very low. but yeah i wouldn't bother measuring GPU load or anything else - at that point you are better off using GL profilers.
I don't know but if you can't utilize 100% of the RAM in some game, etc. the memory split doesn't seem like it would matter? I mean if you did a 512 split down the middle and neither the CPU or GPU is hitting 100% then it seems irrelevant.
yeah for sure! for emulation on a pi3/2, at the default split (256: GPU, rest: system RAM), you won't max that out.. BUT when doing large compiles you can easily max out the system ram, and then it uses slower, SD card-killing swap. this is why people shouldn't raise the GPU split. helpful for nothing.. unhelpful for something!
-
@dankcushions said in Memory Split Does What? Increase or leave alone?:
oh sure, but i would hope they would also upgrade the bus before slapping in faster memory, otherwise it would just have to be downclocked :)
It was more of a compatibility thought when I read that DDR3 would definitely help or maybe it was just a quick wishful thinking of faster memory and a better gaming experience! :)
Is the memory DDR3 (LPDDR3?) compatible with the ARM8 and they used slower memory to keep a price point. Basically is it possible to upgrade the RAM architecture only.
I would assume if the ARM8 supports faster memory (DDR3) and it was a pricing decision then no "bus" modifications would be needed or even downclocking the RAM as the CPU is able to waste clock cycles (idle time) waiting for slower RAM or another way to look at it is the CPU will dictate the clock speed it receives data regardless of RAM clock speed be it faster or slower but not the other way around.
My thought keeps going back to the SoC also. It seems like it's the "traffic cop" (component communication) and would dictate speed/type or at least need to sync the speed between components. Maybe it's just a bridge and works at backplane speeds (thinking like a switch here) leaving clock speeds to the components themselves.
Some CPU's can use both memory types (DDR3 or DDR4) but it's the chipset (i.e.-motherboard) that forces you to use one or the other.
You don't see memory overclocked as frequently it seems. In most cases but not all the returns are minimal vs. saying a quick tweak to the FSB multiplier but some squeeze every percent they can out of their PC and that includes memory.
When you buy a new mobo most times you're also buying a new CPU & memory due to the socket type and memory architecture differences. Your basically forklifting your PC. Possibly reusing the power supply and few peripherals like the CR-ROM & maybe your case, fans, possibly the graphics card, etc. I build all mine from scratch.
BUT when doing large compiles you can easily max out the system ram, and then it uses slower, SD card-killing swap. this is why people shouldn't raise the GPU split. helpful for nothing.. unhelpful for something!
Good point! That seems like a very solid reason for keeping the default allocation split as it will be helpful in certain compiles of some of the emulators or most? I know some apps will leverage every single byte you give it.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.