This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: frysk-sys/frysk/sys ChangeLog StressMapRead.ja ...
- From: Mark Wielaard <mark at klomp dot org>
- To: frysk at sourceware dot org
- Cc: Adam Jocksch <ajocksch at redhat dot com>
- Date: Fri, 04 Aug 2006 15:04:27 +0200
- Subject: Re: frysk-sys/frysk/sys ChangeLog StressMapRead.ja ...
- References: <20060802182624.29409.qmail@sourceware.org>
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