|
From: Ayodele T. <em...@st...> - 2004-01-07 17:48:43
|
I tried running the same skin twice on the same executable (with no changes), and even that gave different results for the data memory addresses. I will have to figure out another way to reduce my memory requirements - maybe dumping state to a file occasionally and then only reading it back when needed. Ayo > > On Wed, 7 Jan 2004, Ayodele Thomas wrote: > > > My initial step is designed to identify data addresses that are read only > > so that they can be excluded from the main analysis performed by the > > second step. Therefore, the second step is the critical step and must be > > performed in Valgrind. I can't think of a way that both steps can be > > performed at the same time because the goal is to determine which data can > > be ignored - but that cannot be determined until the entire application > > has run because I am locating dependencies. > > So you can't tell which addresses are read only until the program has > finished? Ok, I think I understand. > > > The initial step is designed to reduce the memory requirements because I must > > keep track of a tremendous amount of state in the main pass and have > > issues running out of memory and crashing, even with the 2GB of memory on > > my machine. > > What about if you put both passes into the same skin, and then switch > between the pre-processing and main processing with a command-line arg? > That way, you will hopefully get the same memory addresses for both runs. > However, even if it does work, it sounds fragile. > > N > -- --------------------------------------------------------------- Ayodele Bolaji Thomas "Joy in the Morning" Ph.D. Candidate Electrical Engineering Computer Systems Laboratory Stanford University Ayo...@st... Support our troops. Support our country. Pray for Peace. \o/ "We succeed, not because of Affirmative Action, but in spite of the conditions that make it necessary" (ABE '98) "War may sometimes be a necessary evil. But no matter how necessary, it is always an evil, never a good. We will not learn to live together in peace by killing each other's children." Jimmy Carter '02 --------------------------------------------------------------- |