instead to changing number of threads to processor, compile the simulator
with c=3 option which signifies 3 cores. you have it well explained on
marss getting started webpage.

regards


On Mon, Aug 11, 2014 at 12:44 AM, Ahmed Shafik <[email protected]>
wrote:

> Dears,
>
> To have 3 cores, each one has different threads, so the conf file would be
>
>  ooo_core:
>     description: 3 out of order configuration
>     min_contexts: 1
>     cores: # The order in which core is defined is used to assign
>            # the cores in a machine
>       - type: ooo
>         name_prefix: ooo_
>         option:
>             threads: 3
>       - type: ooo
>         name_prefix: ooo_
>         option:
>             threads: 2
>       - type: ooo
>         name_prefix: ooo_
>         option:
>             threads: 1
>
> and the build by scons -Q dramsim=[path to dram]
>
> Is that right ?
>
> Also what is the difference between multi-threads and multi-issue found in
> ooo.cpp
>
> #ifndef MULTI_IQ
>     int reserved_iq_entries_per_thread = (int)sqrt(
>             ISSUE_QUEUE_SIZE / threadcount);
> cout <<"reserved_iq_entries_per_thread ==> "
> <<reserved_iq_entries_per_thread << "\n";
> cout << "ISSUE_QUEUE_SIZE==>"<<ISSUE_QUEUE_SIZE<<"\n";
> cout << "threadcount==>" << threadcount << "\n";
>     reserved_iq_entries = reserved_iq_entries_per_thread * \
>                           threadcount;
> cout <<"reserved_iq_entries==>" << reserved_iq_entries << "\n";
>     assert(reserved_iq_entries && reserved_iq_entries < \
>             ISSUE_QUEUE_SIZE);
>
>     foreach_issueq(set_reserved_entries(reserved_iq_entries));
> #else
>     int reserved_iq_entries_per_thread = (int)sqrt(
>             ISSUE_QUEUE_SIZE / threadcount);
>
>     for_each_cluster(cluster){
>         reserved_iq_entries[cluster] = reserved_iq_entries_per_thread * \
>                                        threadcount;
>         assert(reserved_iq_entries[cluster] && reserved_iq_entries[cluster]
> < \
>                 ISSUE_QUEUE_SIZE);
>
>
>
>
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>



-- 
Zoran Jakšić
------------------------------------------------------
Research Assistant
Computer Architecture Department
Universitat Politecnica de Catalunya
-------------------------------------------------------
Address: Campus Nord UPC C6-E208
CR. Jordi Girona, 1-3
08034 Barcelona, Spain
-------------------------------------------------------
Tel:     +34648025808
e-mail: [email protected]
           [email protected]
<[email protected]>-------------------------------------------------------
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to