How to count program unaligned address accesses on Sun OS and AIX. Or how to measure time to system handling this exception on Sun OS and AIX ?
Asked
Active
Viewed 129 times
2
-
I believe that would be different on different hardware. What architecture? – Nikolai Fetissov Dec 22 '09 at 18:21
-
Sun Os 5.10 on ultraspark T1 IBM AIX 6.1 on IBM processor – deniska Dec 22 '09 at 18:26
-
1far too "real world" to be homework. – Hassan Syed Dec 22 '09 at 18:36
1 Answers
1
Not really an answer but here's a useful link to Developing and Tuning Applications on UltraSPARC T1 Chip Multithreading Systems.
I was kind of hoping there was a dedicated performance counter for such stuff.
There is also dtrace that might help here. All of this is for Solaris though, I have no idea if it's applicable to SunOS. No comment on AIX.
Here's also a blog entry of a guy measuring aligned vs. unaligned Sparc memory access.

phant0m
- 16,595
- 5
- 50
- 82

Nikolai Fetissov
- 82,306
- 11
- 110
- 171