I have to check whether AIX fills physical memory pages by zeros when they are freed from an address space (or may be when they are given for a new process).
In other words when a process gets a new memory page, this one must be cleaned. And I have to check it.
I've solved this task for Solaris using DTrace.
I found out that in Solaris memory pages are cleaned by pagezero routine.
So using entry and return probes of fbt provider in DTrace and getting input and output of the functions which are used in pagezero implementation I achieved my goal.
And now I have to solve the same task in AIX.
As I understand the source code of AIX are closed and that way which was used in Solaris aren't fit.
So could you be so kind to advise me the way of solving my task in AIX.
Ok. You didn't answer.
Could you tell me how can i translate the virtual address which was gotten from malloc to the physical address.
I think it's possible to do using kdb. But i haven't found out how?
I'm not an expert of it, but it's a quite nice tool that may be able to do what you want. Note, I think probevue is for AIX 6.1 only. I don't know of any similar tool for AIX 5.
Tags
Use the search field to
find all types of content in My developerWorks with that tag.
Use the slider bar to see more or fewer tags.
Popular tags shows the top tags for this particular type of content or application that you're viewing.
My tags shows your tags for this particular type of content or application that
you're viewing.