Re: [gem5-users] Map threads onto cores

2015-02-10 Thread Fernando Endo via gem5-users
Hello, You can check: 1) How many cores there are in the config.ini (or equivalent) file 2) How many cores the kernel detects during boot time (system.terminal file: [0.060288] Brought up 2 CPUs) Regards, 2015-01-31 10:53 GMT+01:00, Tayebe Sadeghi via gem5-users : > HiExcuse me,i have a pro

[gem5-users] Map threads onto cores but gem5 uses one cpu

2015-02-05 Thread Tayebe Sadeghi via gem5-users
Hi All I have a multi thread program and use pthread_setaffinity_np.  I want map each thread onto specific core. I want thread0 run on cpu0, thread1 run cpu1 , . .    I run it on my linux and it is correct. When i run gem5 but gem5's linux map all threads on cpu0(bootup cpu). why all theads

[gem5-users] Map threads onto cores

2015-01-31 Thread Tayebe Sadeghi via gem5-users
HiExcuse me,i have a problem.At first i use chroot into mounted disk image then compile a sample  attached code with g++. In sample code i have a command that return number of  existing processor and mapping thread on existing cpu. I don't edit fs.py.I use this command  in running gem5 but gem5

Re: [gem5-users] Map threads onto cores and manage memory

2015-01-13 Thread Amirali Boroumand via gem5-users
Tayebe Sadeghi via gem5-users > Reply-To: Tayebe Sadeghi , gem5 users mailing > list > Date: Tuesday, 13 January 2015 06:52 > To: "gem5-users@gem5.org" > Subject: Re: [gem5-users] Map threads onto cores and manage memory > > I want to run my program in full system

Re: [gem5-users] Map threads onto cores and manage memory

2015-01-13 Thread Andreas Hansson via gem5-users
ailing list mailto:gem5-users@gem5.org>> Date: Tuesday, 13 January 2015 06:52 To: "gem5-users@gem5.org<mailto:gem5-users@gem5.org>" mailto:gem5-users@gem5.org>> Subject: Re: [gem5-users] Map threads onto cores and manage memory I want to run my program in full system mo

Re: [gem5-users] Map threads onto cores and manage memory

2015-01-12 Thread Tayebe Sadeghi via gem5-users
I want to run my program in full system mode. How can i manage threads and memory in gem5?Thanks. On Tuesday, January 13, 2015 9:30 AM, Tayebe Sadeghi wrote: Hi AllI want to write a multi thread program in c++ and run it on multi core in gem5. I want to map threads onto cores for e

[gem5-users] Map threads onto cores and manage memory

2015-01-12 Thread Tayebe Sadeghi via gem5-users
Hi AllI want to write a multi thread program in c++ and run it on multi core in gem5. I want to map threads onto cores for example thread 1 on core1 , …  and also manage memory while mapping threads to the cores . I want to read and write specific values in memory and manage L1,L2  cache.Best re