Re: [gem5-users] Link error building gem5.fast

2017-05-24 Thread Gabe Black
My workstation doesn't have a version of gcc on it that hits the error, so
it's going to be difficult for me to do very much debugging. The major
difference I see between m5.opt and m5.fast, particularly on gcc of
approximately the right versions, is that LTO is turned on.

Gabe

On Wed, May 24, 2017 at 7:04 PM, Gabe Black  wrote:

> I think this has to do with the interaction between partial linking and
> link time optimization. I'll keep looking into it.
>
> Gabe
>
> On Wed, May 24, 2017 at 2:00 PM, Jason Lowe-Power 
> wrote:
>
>> Hi everyone,
>>
>> So I've been able to reproduce the problem. I would bet it's due to the
>> new partial linking code (https://gem5.googlesource.com
>> /public/gem5/+/6bdd897f04f4efdf90d0761c6d31d3f960f4eacf). I'm not sure
>> what the solution is, yet, or if I'll have time to look at it in the next
>> few day. Gabe might have an idea, though, if that is the problem.
>>
>> Here's a matrix of what compilers are working and which aren't (gcc-4.8
>> is working, too, though not tested on travis).
>> https://travis-ci.org/powerjg/gem5-ci-test/builds/235779432
>>
>> Jason
>>
>> On Tue, May 23, 2017 at 4:33 PM Moussa, Ayman <
>> ayman.mouss...@imperial.ac.uk> wrote:
>>
>>> How can I check which compiler scons uses? These are the compilers on my
>>> system
>>>
>>>
>>> gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
>>> g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
>>> Linux 4.4.0-75-generic #96-Ubuntu SMP
>>>
>>> --
>>> *From:* gem5-users  on behalf of Jason
>>> Lowe-Power 
>>> *Sent:* 23 May 2017 22:27:34
>>>
>>> *To:* gem5 users mailing list
>>> *Subject:* Re: [gem5-users] Link error building gem5.fast
>>>
>>> I just tried again and still cannot reproduce the error. What compiler
>>> are you using?
>>>
>>> Jason
>>>
>>> On Tue, May 23, 2017 at 3:41 PM Moussa, Ayman <
>>> ayman.mouss...@imperial.ac.uk> wrote:
>>>
 Hey


 I've encountered this exact problem with x86 and it only seems to be
 for gem5.fast (gem5.opt works fine). I still have problems with a clean
 build as Jason suggested so I reverted back to some random commit on the
 gem5 repository and it works but it's not what I was looking for though.
 Hope this gets fixed soon.



 --
 *From:* gem5-users  on behalf of Alec
 Roelke 
 *Sent:* 23 May 2017 21:14:10
 *To:* gem5 users mailing list
 *Subject:* [gem5-users] Link error building gem5.fast

 Hi Everyone,

 When I try to build gem5.fast using any ISA, I get a lot of multiple
 definition errors during the final linking stage.  For example, with x86:

  [LINK]  -> X86/gem5.fast.unstripped
 build/X86/arch/x86/bios/lib.fo.partial: In function
 `Drainable::drainResume()':
 (.text+0x5b00): multiple definition of `Drainable::drainResume()'
 build/X86/dev/x86/lib.fo.partial:(.text+0x0): first defined here

 There are way too many of these to list them all, but they're all
 multiple definitions of symbols.  Has anyone else encountered this?

 Thanks,
 Alec Roelke
 ___
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>> ___
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>>
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] How to run DVFS on ALPHA ISA?

2017-05-24 Thread ChangLin Li
Hi, Gem5 user,

I am working with the released version of DVFS on Gem5, and want to run
gem5 dvfs on ALPHA architecture.

Is there any way to run a DVFS on ALPHA arch?

Can anyone show me a sample execution code?

Regards,




++
이창림, Changlin Li
Mobile Electronics System Laboratory
College of Information & Communication Engineering
SungKyunKwan University, Suwon, South Korea
Phone :  010-9281-3882, Office : 031-299-4659
++
ᐧ
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Removal of L3 cache parameters

2017-05-24 Thread Moussa, Ayman
I've been using gem5 for about 6 months but I don't know how long it has been 
since the L3 cache implementation was removed from gem5 but the command line 
parameters/options are still there. Is there any specific reason for keeping 
them in se.py? If they are not doing anything I think they should be removed. 
Of course users can implement their own L3 cache but I think it's confusing for 
beginners using gem5.


Just my thoughts

Ayman

___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Link error building gem5.fast

2017-05-24 Thread Jason Lowe-Power
Hi everyone,

So I've been able to reproduce the problem. I would bet it's due to the new
partial linking code (
https://gem5.googlesource.com/public/gem5/+/6bdd897f04f4efdf90d0761c6d31d3f960f4eacf).
I'm not sure what the solution is, yet, or if I'll have time to look at it
in the next few day. Gabe might have an idea, though, if that is the
problem.

Here's a matrix of what compilers are working and which aren't (gcc-4.8 is
working, too, though not tested on travis).
https://travis-ci.org/powerjg/gem5-ci-test/builds/235779432

Jason

On Tue, May 23, 2017 at 4:33 PM Moussa, Ayman 
wrote:

> How can I check which compiler scons uses? These are the compilers on my
> system
>
>
> gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
> g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
> Linux 4.4.0-75-generic #96-Ubuntu SMP
>
> --
> *From:* gem5-users  on behalf of Jason
> Lowe-Power 
> *Sent:* 23 May 2017 22:27:34
>
> *To:* gem5 users mailing list
> *Subject:* Re: [gem5-users] Link error building gem5.fast
>
> I just tried again and still cannot reproduce the error. What compiler are
> you using?
>
> Jason
>
> On Tue, May 23, 2017 at 3:41 PM Moussa, Ayman <
> ayman.mouss...@imperial.ac.uk> wrote:
>
>> Hey
>>
>>
>> I've encountered this exact problem with x86 and it only seems to be for
>> gem5.fast (gem5.opt works fine). I still have problems with a clean build
>> as Jason suggested so I reverted back to some random commit on the gem5
>> repository and it works but it's not what I was looking for though. Hope
>> this gets fixed soon.
>>
>>
>>
>> --
>> *From:* gem5-users  on behalf of Alec
>> Roelke 
>> *Sent:* 23 May 2017 21:14:10
>> *To:* gem5 users mailing list
>> *Subject:* [gem5-users] Link error building gem5.fast
>>
>> Hi Everyone,
>>
>> When I try to build gem5.fast using any ISA, I get a lot of multiple
>> definition errors during the final linking stage.  For example, with x86:
>>
>>  [LINK]  -> X86/gem5.fast.unstripped
>> build/X86/arch/x86/bios/lib.fo.partial: In function
>> `Drainable::drainResume()':
>> (.text+0x5b00): multiple definition of `Drainable::drainResume()'
>> build/X86/dev/x86/lib.fo.partial:(.text+0x0): first defined here
>>
>> There are way too many of these to list them all, but they're all
>> multiple definitions of symbols.  Has anyone else encountered this?
>>
>> Thanks,
>> Alec Roelke
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] AttributeError: Can't resolve proxy 'tag_latency' of type 'Cycles' from 'system.iocache.tags'

2017-05-24 Thread Jason Lowe-Power
Hello Kavya,

hit_latency = 50,

should be changed to

tag_latency = 50,
data_latency = 50,

There may be a couple of other places where that mistake is made.

You can open an issue or a pull request on github for me to fix it, if
you'd like (https://github.com/powerjg/learning_gem5).

Cheers,
Jason

On Wed, May 24, 2017 at 2:42 PM Kavya Lakshminarayanan <
kav...@seas.upenn.edu> wrote:

> Trying to run sample x86 fs simulation, following the steps outlined here
> .
>
> There was an initial issue with the SimpleOpts part of the caches.py
> script, but I don't need command line configurability for cache sizes, so I
> commented that out.
>
> The latest issue is the following:
>
> Error in unproxying param 'tag_latency' of system.iocache.tags
>
> Traceback (most recent call last):
>
>   File "", line 1, in 
>
>   File "/mnt/io1/home/kavyal/install/gem5/src/python/m5/main.py", line
> 433, in main
>
> exec filecode in scope
>
>   File "configs/run.py", line 58, in 
>
> m5.instantiate()
>
>   File "/mnt/io1/home/kavyal/install/gem5/src/python/m5/simulate.py", line
> 90, in instantiate
>
> for obj in root.descendants(): obj.unproxyParams()
>
>   File "/mnt/io1/home/kavyal/install/gem5/src/python/m5/SimObject.py",
> line 1330, in unproxyParams
>
> value = value.unproxy(self)
>
>   File "/mnt/io1/home/kavyal/install/gem5/src/python/m5/proxy.py", line
> 101, in unproxy
>
> (self.path(), self._pdesc.ptype_str, base.path())
>
> AttributeError: Can't resolve proxy 'tag_latency' of type 'Cycles' from
> 'system.iocache.tags'
>
> I can't seem to figure out how to fix this, or even what the issue is. I'm
> working off of the latest version that's in git.
>
> Thank you!
> Best,
> Kavya
> --
> Kavya Lakshminarayanan
> MSE/CIS
> SEAS
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] AttributeError: Can't resolve proxy 'tag_latency' of type 'Cycles' from 'system.iocache.tags'

2017-05-24 Thread Kavya Lakshminarayanan
Trying to run sample x86 fs simulation, following the steps outlined here
.

There was an initial issue with the SimpleOpts part of the caches.py
script, but I don't need command line configurability for cache sizes, so I
commented that out.

The latest issue is the following:

Error in unproxying param 'tag_latency' of system.iocache.tags

Traceback (most recent call last):

  File "", line 1, in 

  File "/mnt/io1/home/kavyal/install/gem5/src/python/m5/main.py", line 433,
in main

exec filecode in scope

  File "configs/run.py", line 58, in 

m5.instantiate()

  File "/mnt/io1/home/kavyal/install/gem5/src/python/m5/simulate.py", line
90, in instantiate

for obj in root.descendants(): obj.unproxyParams()

  File "/mnt/io1/home/kavyal/install/gem5/src/python/m5/SimObject.py", line
1330, in unproxyParams

value = value.unproxy(self)

  File "/mnt/io1/home/kavyal/install/gem5/src/python/m5/proxy.py", line
101, in unproxy

(self.path(), self._pdesc.ptype_str, base.path())

AttributeError: Can't resolve proxy 'tag_latency' of type 'Cycles' from
'system.iocache.tags'

I can't seem to figure out how to fix this, or even what the issue is. I'm
working off of the latest version that's in git.

Thank you!
Best,
Kavya
-- 
Kavya Lakshminarayanan
MSE/CIS
SEAS
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] KVM support for ARM - Can I use KVM cpu model on a cavium thunderX ARM processor?

2017-05-24 Thread Mohammad Alian
Hi All,

Is KVM cpu model enabled if I run gem5 on this server?

http://b2b.gigabyte.com/Rack-Server/R120-T32-rev-110#ov

Thank you,
Mohammad Alian
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Garnet 2.0: Average Network Latency is missing!!!

2017-05-24 Thread Krishna, Tushar
Average Network Latency has just been renamed to Average Network Flit Latency 
since Garnet2.0 also reports the Average Network Packet Latency.


Please take a look at the gem5 wiki for a detailed description of garnet1.0 vs 
2.0.
http://www.gem5.org/Garnet
http://www.gem5.org/Garnet2.0

I’m not sure what validating one against the other means.

Garnet2.0 uses a 1-cycle router by default so the network latency is not 
expected to match that from the original garnet1.0 paper which assumed a 
4-cycle router as the default.
You can mimic a 4-cycle router in garnet2.0 by setting --router-latency=4 (look 
at configs/network/Network.py) but it will not match exactly.

Cheers,
Tushar



On May 24, 2017, at 6:11 AM, F. A. Faisal 
> wrote:

Dear All,

I wanted to validate the garnet 2.0 with garnet 1.0.
Hence, I like to get the average network latency or the average latency. 
However, this parameter is missing from the stats.txt file in garnet 2.0.
And even I compare the average packet latency of garnet 2.0 (21.487374) with 
the garnet 1.0 average latency (40.403994) for 8x8 mesh with same configuration 
as referenced paper of garnet, which is completely different.

Please let me know how to validate garnet 2.0 as of garnet 1.0.

Thanks in advance.

Best regards,

F. A. Faisal
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] TIming information in splash2 output

2017-05-24 Thread SHARJEEL KHILJI
Hi,
I am running splash2 on ARM NoC and I get following timing information on
output while running radix kernel.

 TIMING INFORMATION
Start time:   2180011630
Initialization finish time:   2180013105
Overall finish time   :   2180014293
Total time with initialization: 2663
Total time without initialization : 1188
Overall transpose time:   57
Overall transpose fraction:  0.04798
I want to know that total time with initialization is reported in tick or
seconds (msec)? Kindly, if any suggestions.

best regards
sharjeel
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Simulation error with se.py

2017-05-24 Thread Samon Shivastar
Hello everyone:

I am new to gem5 and trying to run se.py script. I found out it gives some
error with
--mem-type=HMC_2500_1x32

Error looks like this

AttributeError: Values instance has no attribute 'ser_ranges'

Is this a bug in the config file? If so, how to fix it or please tell me a
way to simulate HMC model.

Thanks in advance

Sam
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Problem running hmctest.py

2017-05-24 Thread Muzamil Rafique
Hi All,

I am trying to run hmctest.py but it doesn't work right out of the box:

Command Line => $ build/X86/gem5.opt configs/example/hmctest.py

 and gives the following error:

AttributeError: '_m5.param_SubSystem.SubSystemParams' object has no
attribute 'enable_buff_div'

I tried to hide this parameter but another error (regarding another
parameter) pops up. Most of the parameter options in HMC.py are not
recognizable anymore. Anyone has any idea why this error pops up which was
not there a month ago? May be someone pushed change that is causing all
these simulation errors...

Any suggestions to fix this problem would be appreciated :)

Muzamil
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Garnet 2.0: Average Network Latency is missing!!!

2017-05-24 Thread F. A. Faisal
Dear All,

I wanted to validate the garnet 2.0 with garnet 1.0.
Hence, I like to get the average network latency or the average latency.
However, this parameter is missing from the stats.txt file in garnet 2.0.
And even I compare the average packet latency of garnet 2.0 (21.487374)
with the garnet 1.0 average latency (40.403994) for 8x8 mesh with same
configuration as referenced paper of garnet, which is completely different.

Please let me know how to validate garnet 2.0 as of garnet 1.0.

Thanks in advance.

Best regards,

F. A. Faisal
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users