scorpio
Member
Hi,
I've split this off from the V2 sound issues thread to try and keep it all together if it turns into a worthwhile discussion:
I've noticed that when the menu starts, it appears to start a second instance of itself, which I guess is for automatic respawning. Successive instances seem to share a large portion of memory with the first one, but I'm sure it still has an impact on the efficiency of the system. This could end up being a memory leakage issue since most game startup scripts restart the menu themselves, and now any time you run one of these, you get additional menu processes running. I think gp2xmenu needs a bit of work to make it a bit more self-aware...
I know it's tempting to think about ditching Linux, especially when the hardware platform is a known quantity, but if you look at the problems people have with getting their firmware updated, I'm not sure I'd want to be writing the code for reading the SD-card, for a start, although I guess we can copy a lot of stuff from the kernel.
Maybe there's some work that can be done with the new kernel to try and minimise its performance footprint. Do you know who's looking after the kernel now? I think I saw a post somewhere which suggested that Dignisys are no longer in control of it.
I've been wondering for a couple of weeks whether it might be an idea to have a kernel module which can shut the system out to a certain extent, so that games could allocate interrupts and have control over the scheduler. After all, it's unlikely that the telnet and samba daemons would need to be scheduled particularly often while a game is running.
It might also be nice if it could provide a standard interface for allocating blocks from the upper memory region, but I'm not talking about something that provides all sorts of services, just important things like giving access to request_irq() and suchlike. I'm sure it would help battery life if games could run with a vsync-driven interrupt, instead of busy-looping for it. What do you think?
I've split this off from the V2 sound issues thread to try and keep it all together if it turns into a worthwhile discussion:
Squidge posted on Apr 30 2006 at 11:32 AM said:Rather than having versions of emu's and apps for various versions of the firmware, I'm thinking of scrapping Linux completely and jumping on the hardware. Hopefully the hardware itself is not going to change for a while, whilst the firmware seems to change things constantly.
I've noticed that when the menu starts, it appears to start a second instance of itself, which I guess is for automatic respawning. Successive instances seem to share a large portion of memory with the first one, but I'm sure it still has an impact on the efficiency of the system. This could end up being a memory leakage issue since most game startup scripts restart the menu themselves, and now any time you run one of these, you get additional menu processes running. I think gp2xmenu needs a bit of work to make it a bit more self-aware...
I know it's tempting to think about ditching Linux, especially when the hardware platform is a known quantity, but if you look at the problems people have with getting their firmware updated, I'm not sure I'd want to be writing the code for reading the SD-card, for a start, although I guess we can copy a lot of stuff from the kernel.
Maybe there's some work that can be done with the new kernel to try and minimise its performance footprint. Do you know who's looking after the kernel now? I think I saw a post somewhere which suggested that Dignisys are no longer in control of it.
I've been wondering for a couple of weeks whether it might be an idea to have a kernel module which can shut the system out to a certain extent, so that games could allocate interrupts and have control over the scheduler. After all, it's unlikely that the telnet and samba daemons would need to be scheduled particularly often while a game is running.
It might also be nice if it could provide a standard interface for allocating blocks from the upper memory region, but I'm not talking about something that provides all sorts of services, just important things like giving access to request_irq() and suchlike. I'm sure it would help battery life if games could run with a vsync-driven interrupt, instead of busy-looping for it. What do you think?
Last edited by a moderator: