Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
i got really weird test result of memory barrier on Cortex A9
Jump...
Cancel
Locked
Locked
Replies
8 replies
Subscribers
118 subscribers
Views
4888 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
i got really weird test result of memory barrier on Cortex A9
yitian bu
over 12 years ago
Parents
Peter Harris
over 12 years ago
Note: This was originally posted on 28th November 2011 at
http://forums.arm.com
[color=#222222][size=2]> how to get the result that in scenario 2 the cpu0("read thread") are blocked less time than in scenario 1 ?[/size][/color]
[color=#222222][size=2]
[/size][/color]
[color=#222222][size=2]I'm not sure it necessarily is "less time" - it's just "different" and different enough that you hit the race condition more often. It's really hard to say what is actually happening inside the core as the internal micro-architecture is relatively complex (and I'm a software guy).[/size][/color]
[color=#222222][size=2]
[/size][/color]
[size=2]The software without barriers is broken, so not worth spending too long explaining why it breaks a particular way, right ... =)[/size]
[color=#222222][size=2]
[/size][/color]
[color=#222222][size=2]Cheers, [/size][/color]
[color=#222222][size=2]Iso [/size][/color]
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Harris
over 12 years ago
Note: This was originally posted on 28th November 2011 at
http://forums.arm.com
[color=#222222][size=2]> how to get the result that in scenario 2 the cpu0("read thread") are blocked less time than in scenario 1 ?[/size][/color]
[color=#222222][size=2]
[/size][/color]
[color=#222222][size=2]I'm not sure it necessarily is "less time" - it's just "different" and different enough that you hit the race condition more often. It's really hard to say what is actually happening inside the core as the internal micro-architecture is relatively complex (and I'm a software guy).[/size][/color]
[color=#222222][size=2]
[/size][/color]
[size=2]The software without barriers is broken, so not worth spending too long explaining why it breaks a particular way, right ... =)[/size]
[color=#222222][size=2]
[/size][/color]
[color=#222222][size=2]Cheers, [/size][/color]
[color=#222222][size=2]Iso [/size][/color]
Cancel
Vote up
0
Vote down
Cancel
Children
No data