This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: frysk-sys/frysk/sys ChangeLog StressMapRead.ja ...


Hi Adam,

On Wed, 2006-08-02 at 18:26 +0000, ajocksch@sourceware.org wrote:
> 	2006-08-02  Adam Jocksch  <ajocksch@redhat.com>
> 	
> 	* StressMapRead.java: Renamed from TestMapRead since the test
> 	is very cpu-intensive, also enabled test.

It is a very thorough test. But it really takes ages to run. On my
machine it tries to get every single byte in a couple of process maps
with addresses like:

Lowest : 2aaaaaac9000
Highest: 2aaaade98000

There are multiple maps like that. And getting all these through ptrace
is just incredibly slow (around 0x10000 bytes per second). I let it run
for half an hour but then just gave up.

Is there any way to test the functionality you are after without having
to push such an enormous amount of memory through ptrace?

Thanks,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]