Memory

General discussion about the PearPC emulator and PearPC.net. This is not a support forum.

Memory

Postby btedford » Thu May 18, 2006 7:10 pm

Will PearPC speed up if the host machine has more RAM?

Peace,
Brendan
btedford
Member
Member
 
Posts: 23
Joined: Fri Oct 14, 2005 2:23 pm

Re: Memory

Postby bot47 » Thu May 18, 2006 7:46 pm

This depends on more than this, but in general I would say yes. Of course you have to allocate the memory to pearpc.
The Goron Webserver

Your bottom smells! I got proofs.
bot47
PearPC God
PearPC God
 
Posts: 1231
Joined: Sun Mar 20, 2005 6:50 pm

Postby camouflageX » Fri May 19, 2006 4:01 am

iI think it depends on how much RAM you already have. If you have 1024 MB and you assign half of it to PearPC, then more RAM wouldn't give you _much_ of a speed boost. 512 MB for each OS should be OK (depending on what else you are doing in the OSes). A faster CPU would be more useful. But if you've got the money, RAM can never be too big. Smile
camouflageX
PearPC.net staff
PearPC.net staff
 
Posts: 391
Joined: Mon May 24, 2004 3:58 pm
Location: Germany

Postby Alex » Fri May 19, 2006 5:52 am

Yeah, the main factors are RAM and CPU speed. Of course, as camouflageX and bot47 said, you'd have to assign more RAM to PearPC to make any difference
Welcome to PearPC.net!
AlexBlog | Kiwi
User avatar
Alex
Administrator
Administrator
 
Posts: 2094
Joined: Sat Oct 23, 2004 6:23 am
Location: Leicestershire, UK

Re: Memory

Postby dfoesch » Sun Jul 02, 2006 9:52 pm

Unlike many virtualization programs available for Windows, PearPC does not lock the memory into physical RAM. Basically how this works, is that if you're using VirtualPC, that it will consume a certain amount of physical RAM, and not release it to the OS under any situation. This can generally cause your OS to perform significantly worse, as it no longer has all the memory it's used to, and must page out other memory, even if VirtualPC isn't using a specific piece of memory.

PearPC allocates Virtual Memory, rather than a specific amount of Physical Memory. That means that you can allocate more memory to PearPC than your computer even has. What this allows is for the OS to page memory in and out as it's used or not-used, thus freeing OSX from handling the paging details, and the native OS handling those details for you.

I can't speak for Windows performance, because as I've been using Windows at work, I'm amazed at the poor quality of their paging mechanisms, and how it decides to deal with the working set (the most common pages used) And it's possible that allocating a full 1GiB to PearPC when you only have 1GiB of RAM may decrease performance of PearPC and Windows, although in Linux it most certainly performs better.
Daniel Foesch
PearPC Developer
dfoesch
PearPC developer
PearPC developer
 
Posts: 574
Joined: Fri Oct 15, 2004 7:36 pm
Location: Seattle


Return to PearPC Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron