Re: [Gems-users] About parameters in ruby


Date: Wed, 14 Oct 2009 07:06:40 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] About parameters in ruby
You should set Ruby's parameters (g_MEMORY_SIZE_BYTES and g_PAGE_SIZE_BYTES) to match those of the target platform ($megs_per_cpu, etc.), or you will have a very confused simulator.

Right now, your target has 2 GB, but Ruby thinks it has 4 GB.

Regards,
Dan

On Wed, Oct 14, 2009 at 5:09 AM, 안정섭 <jeong.seob.ahn@xxxxxxxxx> wrote:

Dear everyone

I have a question about related memory parameters in GEMS. In my simics, $megs_per_cpu set 128 and i consists of system with 16processors($num_cpus = 16). So, total memory is 2GB.

But, GEMS have default memory parameters like this.
// 32 bits = 4 GB address space
g_MEMORY_SIZE_BYTES: 4294967296
g_DATA_BLOCK_BYTES: 64
g_PAGE_SIZE_BYTES: 4096

Then, how many memory the simulated system have  ? 4GB or 2GB?

Also, my target architecture is serengeti and page size is 8KB in simulated system(OS Solaris10).
The g_PAGE_SIZE_BTYES and page size in simulated system is not matched.
Do i need to chage the g_PAGE_SIZE_BYTES to 8192?


Thank in advance
Jeongseob Ahn


_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.





--
http://www.cs.wisc.edu/~gibson [esc]:wq!
[← Prev in Thread] Current Thread [Next in Thread→]