Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gprof and iprobe
@ 2001-01-10 19:52 T. Daniel Crawford
  2001-01-10 20:43 ` W Bauske
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: T. Daniel Crawford @ 2001-01-10 19:52 UTC (permalink / raw)
  To: axp-list

Thanks to some advice from posters to this list, I have ported some
computationally intensive Fortran code to my alpha Linux system (XP-1000,
RH7.0).  While the code gives correct output, my recent benchmarks indicate
a substantial difference in the code's performance on alpha Linux vs. Tru64
systems with nearly identical hardware (both using the same optimization
flags with Compaq compilers).  I would like to profile the code using
gprof or iprobe, but neither of these seems to work:

Gprof: I can compile the code with -pg, and a gmon.out is produced,
but the subsequent execution of "gprof <binary>" gives the error: gprof:
gmon.out file is missing call-graph data.  I know from my perusal of the
archives at alphalinux.org that gprof has had serious problems in the past,
but most of the discussion appears to be out-of-date.

Iprobe: The RPMs available at the Compaq site are geared to RH6.0.  When I
run the iprobe binary, it fails and reports an ioctl error.  I also tried
to compile the source myself, but there are numerous header errors and
incompatibilities to current Linux distributions.  From past discussion of
iprobe on this list, it seems to be the method of choice, if only I could
get it to work.

If anyone has dealt with these problems and had more success than I, I
would appreciate your input.

Thanks,

-Daniel

P.S. Can anyone explain the current state of system time accounting on
alpha systems?  Part of my problem involves very large system times
relative to reasonable user times, and the elapsed time is pretty darned
close to the sum of the two, with nearly 99% utilization.  This is rather
confusing.

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-10 19:52 gprof and iprobe T. Daniel Crawford
@ 2001-01-10 20:43 ` W Bauske
  2001-01-10 21:53   ` T. Daniel Crawford
  2001-01-10 21:51 ` Jeff Sturm
  2001-01-11 11:20 ` Rolf Neugebauer
  2 siblings, 1 reply; 20+ messages in thread
From: W Bauske @ 2001-01-10 20:43 UTC (permalink / raw)
  To: axp-list

"T. Daniel Crawford" wrote:
> 
> 
> P.S. Can anyone explain the current state of system time accounting on
> alpha systems?  Part of my problem involves very large system times
> relative to reasonable user times, and the elapsed time is pretty darned
> close to the sum of the two, with nearly 99% utilization.  This is rather
> confusing.
> 

You wouldn't happen to be running into lots of page faults, in 
particular minor ones if I remember correctly? In addition, are
you using Compaq's math libs? There was a problem with this a
while back and you might have hit that same thing. Something about
memory allocation problems in the library when run on Linux.


Wes




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-10 19:52 gprof and iprobe T. Daniel Crawford
  2001-01-10 20:43 ` W Bauske
@ 2001-01-10 21:51 ` Jeff Sturm
  2001-01-11 11:20 ` Rolf Neugebauer
  2 siblings, 0 replies; 20+ messages in thread
From: Jeff Sturm @ 2001-01-10 21:51 UTC (permalink / raw)
  To: axp-list

"T. Daniel Crawford" wrote:
> P.S. Can anyone explain the current state of system time accounting on
> alpha systems?  Part of my problem involves very large system times
> relative to reasonable user times, and the elapsed time is pretty darned
> close to the sum of the two, with nearly 99% utilization.  This is rather
> confusing.

This is why you really need iprobe, IMO.  It samples kernel mode /and/ user
mode.  The results should be interesting.

Iprobe really needs to be made to work on RH7.  Unfortunately I don't have RH7
installed anywhere myself, or I'd give it a try.  Or maybe a static build would
help you?

--
Jeff Sturm
jeff.sturm@commerceone.com




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-10 20:43 ` W Bauske
@ 2001-01-10 21:53   ` T. Daniel Crawford
  2001-01-10 23:17     ` Michal Jaegermann
  2001-01-11  6:29     ` W Bauske
  0 siblings, 2 replies; 20+ messages in thread
From: T. Daniel Crawford @ 2001-01-10 21:53 UTC (permalink / raw)
  To: axp-list

On Wed, 10 Jan 2001, W Bauske wrote:

> "T. Daniel Crawford" wrote:
> >
> >
> > P.S. Can anyone explain the current state of system time accounting on
> > alpha systems?  Part of my problem involves very large system times
> > relative to reasonable user times, and the elapsed time is pretty darned
> > close to the sum of the two, with nearly 99% utilization.  This is rather
> > confusing.
> >
>
> You wouldn't happen to be running into lots of page faults, in
> particular minor ones if I remember correctly? In addition, are
> you using Compaq's math libs? There was a problem with this a
> while back and you might have hit that same thing. Something about
> memory allocation problems in the library when run on Linux.
>
>
> Wes
>

I am hitting a lot more page faults under Linux system than under DU, but
it's not clear to me what the impact of this should be on the final timings.
On the Tru64 alpha system, I get great timings for both user and system, with
very few page faults:

257.027u 3.176s 4:29.85 96.4%   0+1336k 101+18143io 94pf+0w

On the alpha Linux system, though, the user times are comparable, but
system and wall are miserable:

256.284u 209.641s 7:46.35 99.9% 0+0k 0+0io 54820pf+0w

For completeness, here's the timing on my intel Linux system (2xPIII 733),
where I still get lots of page faults, but totally reasonable system times:

692.650u 15.360s 12:11.23 96.8% 0+0k 0+0io 37477pf+0w

I am using Compaq's math library, and this code is *heavily* dependent on
the BLAS DGEMM.  Perhaps I should try to build the ATLAS project's BLAS on
this alpha?

-Daniel

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-10 21:53   ` T. Daniel Crawford
@ 2001-01-10 23:17     ` Michal Jaegermann
  2001-01-10 23:48       ` T. Daniel Crawford
  2001-01-11  6:29     ` W Bauske
  1 sibling, 1 reply; 20+ messages in thread
From: Michal Jaegermann @ 2001-01-10 23:17 UTC (permalink / raw)
  To: axp-list

> On the Tru64 alpha system, I get great timings for both user and system, with
> very few page faults:
> 
> 257.027u 3.176s 4:29.85 96.4%   0+1336k 101+18143io 94pf+0w
> 
> On the alpha Linux system, though, the user times are comparable, but
> system and wall are miserable:
> 
> 256.284u 209.641s 7:46.35 99.9% 0+0k 0+0io 54820pf+0w

Which Linux kernel version is that, how much of virtual memory you
are using and what percent of a real memory is that?  All of these
can be significant.  From what you show you have really high
page fault count under Linux on your Alpha.  This is pretty costly
and your whole performance difference is in a system time.

  Michal




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-10 23:17     ` Michal Jaegermann
@ 2001-01-10 23:48       ` T. Daniel Crawford
  2001-01-11  1:15         ` Michal Jaegermann
  0 siblings, 1 reply; 20+ messages in thread
From: T. Daniel Crawford @ 2001-01-10 23:48 UTC (permalink / raw)
  To: axp-list

On Wed, 10 Jan 2001, Michal Jaegermann wrote:

> > On the Tru64 alpha system, I get great timings for both user and system, with
> > very few page faults:
> >
> > 257.027u 3.176s 4:29.85 96.4%   0+1336k 101+18143io 94pf+0w
> >
> > On the alpha Linux system, though, the user times are comparable, but
> > system and wall are miserable:
> >
> > 256.284u 209.641s 7:46.35 99.9% 0+0k 0+0io 54820pf+0w
>
> Which Linux kernel version is that, how much of virtual memory you
> are using and what percent of a real memory is that?  All of these
> can be significant.  From what you show you have really high
> page fault count under Linux on your Alpha.  This is pretty costly
> and your whole performance difference is in a system time.
>
>   Michal
>

This machine has 2 GB of real memory and I am using about 80 MB for this
calculation.  This behavior is exhibited under both 2.2.17 and 2.4.0
kernels.

I do not trust the system time at all, as the PS from my original post
indicated.  In my experience with other OS's, a high system always leads
to poor % utilization with these kinds of codes.  Another poster here has
indicated that system time is not accounted correctly on alpha linux systems.
In addition, I note that the same calculation on the Intel Linux system
(whose times I gave in the original post) also had a large number of page
faults, but the associated system time (and wall time) were reasonable.
Hence, I do not believe that the large number of page faults and the
reported system time on the alpha Linux system are necessarily linked.

-Daniel

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-10 23:48       ` T. Daniel Crawford
@ 2001-01-11  1:15         ` Michal Jaegermann
  0 siblings, 0 replies; 20+ messages in thread
From: Michal Jaegermann @ 2001-01-11  1:15 UTC (permalink / raw)
  To: axp-list

On Wed, Jan 10, 2001 at 06:48:21PM -0500, T. Daniel Crawford wrote:
> > >
> > > On the alpha Linux system, though, the user times are comparable, but
> > > system and wall are miserable:
> > >
> > > 256.284u 209.641s 7:46.35 99.9% 0+0k 0+0io 54820pf+0w
.....
> 
> This machine has 2 GB of real memory and I am using about 80 MB for this
> calculation.

Hm, so it is not like that you are fighting for memory.

> This behavior is exhibited under both 2.2.17 and 2.4.0
> kernels.

I would not be very much surprised to see memory troubles on unpatched
2.2.17, but not likely with your resources and also not with 2.4.0.

> 
> Another poster here has
> indicated that system time is not accounted correctly on alpha linux systems.

All these percentages should be taken with some grain of salt anywhere,
as often accounting methods are not even comparable, still usually they
give you some general picture.

> Hence, I do not believe that the large number of page faults and the
> reported system time on the alpha Linux system are necessarily linked.

No, but still one wonders why such high numbers at all.  Remember that
pages are quite a bit bigger on Alpha than on Intel.

  Michal




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-10 21:53   ` T. Daniel Crawford
  2001-01-10 23:17     ` Michal Jaegermann
@ 2001-01-11  6:29     ` W Bauske
  1 sibling, 0 replies; 20+ messages in thread
From: W Bauske @ 2001-01-11  6:29 UTC (permalink / raw)
  To: axp-list

"T. Daniel Crawford" wrote:
> 
> I am using Compaq's math library, and this code is *heavily* dependent on
> the BLAS DGEMM.  Perhaps I should try to build the ATLAS project's BLAS on
> this alpha?
> 

If you have the Atlas code handy, try it and see. It should
eliminate the possibility of the problem I'm talking about.


Wes




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-10 19:52 gprof and iprobe T. Daniel Crawford
  2001-01-10 20:43 ` W Bauske
  2001-01-10 21:51 ` Jeff Sturm
@ 2001-01-11 11:20 ` Rolf Neugebauer
  2001-01-15 16:00   ` T. Daniel Crawford
  2 siblings, 1 reply; 20+ messages in thread
From: Rolf Neugebauer @ 2001-01-11 11:20 UTC (permalink / raw)
  To: axp-list

"T. Daniel Crawford" <crawdad@vt.edu> writes:

> Iprobe: The RPMs available at the Compaq site are geared to RH6.0.  When I
> run the iprobe binary, it fails and reports an ioctl error.  I also tried
> to compile the source myself, but there are numerous header errors and
> incompatibilities to current Linux distributions.  From past discussion of
> iprobe on this list, it seems to be the method of choice, if only I could
> get it to work.

Are you trying to compile iprobe under 2.4.0? In that case, you at
least have to change the ipr_fops structure in
./driver/src/linux/driver_linux.c as the file_operations structure has
changed sometime between 2.2.x and 2.4.0 (the owner field has been
added to the beginning of the structure). I tried iprobe with an early
2.4.0-test kernel and changed the ipr_fops structure to:

struct file_operations ipr_fops = {
    NULL,               /* owner */
    NULL,               /* llseek */
    NULL,               /* read */
    NULL,               /* write */
    NULL,               /* readdir */
    NULL,               /* Poll */
    ipr_ioctl,          /* ioctl */
    NULL,               /* mmap */
    ipr_open,           /* just a selector for the real open */
    NULL,               /* Flush */
    ipr_close,          /* release */
    NULL,               /* fsync */
    NULL,               /* fasync */
    NULL,               /* lock */
    NULL,               /* readv */
    NULL,               /* writev */
};

(maybe the owner should be set to something more sensible)

IIRC this was the only change I made, to get iprobe working on an
upgraded RH6.1 system.

Rolf

PS.: I have already mailed this info to Phillip Ezolt at Compaq who
was named as the contact person for iprobe in September last year.




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-11 11:20 ` Rolf Neugebauer
@ 2001-01-15 16:00   ` T. Daniel Crawford
  2001-01-15 17:36     ` Michal Jaegermann
                       ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: T. Daniel Crawford @ 2001-01-15 16:00 UTC (permalink / raw)
  To: axp-list

Hi, all,

Several members of this mailing list have helped me considerably in my
efforts to compile and optimize some numerically intensive scientific
Fortran code on my new alpha Linux workstations.  I thought perhaps some
of you might be interested in the current state of this effort and some
interesting problems I have encountered with the CXML provided by Compaq.

Once I had my code up and running, I ran some benchmarks and noticed a
substantial difference in its performance under alpha Linux (AL) vs. Tru64.
Here's some output from my "time" command:

Tru64: 257.027u 3.176s 4:29.85 96.4%   0+1336k 101+18143io 94pf+0w
AL:    256.284u 209.641s 7:46.35 99.9% 0+0k 0+0io 0pf+0w

Note the gigantic difference in system and wall timings.  This calculation
requires only about 3% of the real memory on this machine.  Note also that
I am using the Compaq compilers on both systems with identical optimization
flags and the Compaq Extended Math Library (CXML).  (The tcsh time command
apparently can't report page faults, I/O or memory use yet.)

Using a hacked version of iprobe that Jeff Sturm got running on my (EV67)
system, I was able to determine that almost all the time difference between
AL and Tru64 was in the kernel's virtual memory system.  Here's some iprobe
output for a "cyclesa" event with the above benchmark:

                                                       Sample Image Total
Name                                                    Count   Pct   Pct
----                                                    -----   ---   ---
/home/users/aces2/alphaev6-unknown-linux-gnu/bin/xvcc  178362        52.3
  icopy_                                                32960  18.5   9.7
  symtr3_                                                7310   4.1   2.1
  dgemm_nn                                              28550  16.0   8.4
  dgemm_nt                                              31551  17.7   9.3
  dgemm_tn                                               7438   4.2   2.2
  dgemm_tt                                              14562   8.2   4.3
vmlinux                                                162618        47.7
  entMM                                                  7252   4.5   2.1
  schedule                                               7925   4.9   2.3
  do_anonymous_page                                     83341  51.2  24.4
  __get_free_pages                                       9329   5.7   2.7
  __invalidate_buffers                                  10335   6.4   3.0

The kernel is taking up nearly 50% of the total cycles!!  Another list
member, Wes Bauske, noted that some problems with the CXML and Linux memory
management were once discussed on this list.  So, I grabbed the University
of Tenneessee's Atlas Project code in order to have a fast replacement
for the matrix-matrix multiplication routines (part of the BLAS library)
on which my code depends quite heavily.  Here's the new timing:

Tru64: 257.027u 3.176s 4:29.85 96.4%   0+1336k 101+18143io 94pf+0w
AL:    260.141u 100.795s 6:05.01 98.8% 0+0k 0+0io 0pf+0w

There is clearly a substantial improvement in the code's performance using
the ATLAS BLAS over the CXML.  However, I'm still far from satisfied with
such a large system time.  The kernel is still taking up a lot of the total
run time, so even ATLAS is not perfect in its interaction with the VM
system.  (Note that these timings basically the same between the 2.2.17
and 2.4.0 kernels.)

The bottom line: there are definitely problems with the CXML when its BLAS
routines are used under alpha Linux, particularly with the memory management
code in the kernel.  ATLAS provides improvement over the CXML, but is still
far from optimal.  I'm now trying to see if I can play with the kernel's
paging parameters (under /proc/sys/vm) to see if the timings change at all,
but I am a real novice with the kernel, so this is all trial and error.

If anyone has any additional thoughts or experience in this arena, I would
be most appreciative of your advice.

-Daniel

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 16:00   ` T. Daniel Crawford
@ 2001-01-15 17:36     ` Michal Jaegermann
  2001-01-15 17:51       ` T. Daniel Crawford
  2001-01-15 17:53       ` Uncle George
  2001-01-15 22:13     ` W Bauske
  2001-01-22 22:37     ` RH 7.0 install on XP1000's Todd Henderson
  2 siblings, 2 replies; 20+ messages in thread
From: Michal Jaegermann @ 2001-01-15 17:36 UTC (permalink / raw)
  To: axp-list

> 
> The kernel is taking up nearly 50% of the total cycles!!

Numbers you show are pretty interesting but if you omit an ouput from
your 'uname -a' for the kernel on which they were obtained their value
is greatly diminished.

> (Note that these timings basically the same between the 2.2.17
> and 2.4.0 kernels.)

There is a number of virtual memory fixes for 2.2.17 and 2.2.18,
plus assorted Alpha specific patches.  You can find all this material
in ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/
(for those not in USofA substitute "us" above with your country code).
Virtual memory handling changes are incorporated now in 2.2.19pre
kernels and they will show up eventually in 2.2.19 when it will be
released.  It would be quite important if you could re-run your
timings but using the latests 2.2.19pre and compare results.
I think that Andrea is watching this list but just in case send what
you will get also to andrea@suse.de.  He may have some insightful
comments and advice how to tune your machine via /proc interface.

  Michal




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 17:36     ` Michal Jaegermann
@ 2001-01-15 17:51       ` T. Daniel Crawford
  2001-01-15 18:06         ` Michal Jaegermann
  2001-01-15 17:53       ` Uncle George
  1 sibling, 1 reply; 20+ messages in thread
From: T. Daniel Crawford @ 2001-01-15 17:51 UTC (permalink / raw)
  To: axp-list

On Mon, 15 Jan 2001, Michal Jaegermann wrote:

> >
> > The kernel is taking up nearly 50% of the total cycles!!
>
> Numbers you show are pretty interesting but if you omit an ouput from
> your 'uname -a' for the kernel on which they were obtained their value
> is greatly diminished.

Sorry about that.  I remembered to indicate that my Linux kernels were
2.2.17 and 2.4.0, but I did not indicate the type of Tru64 system.

Tru64: OSF1 hellmann V4.0 1229 alpha
AL1: Linux altair  2.2.17-4 #1 Mon Oct 23 15:19:13 EDT 2000 alpha
AL2: Linux arrakis 2.4.0 #7 Tue Jan 9 17:52:20 EST 2001

> > (Note that these timings basically the same between the 2.2.17
> > and 2.4.0 kernels.)
>
> There is a number of virtual memory fixes for 2.2.17 and 2.2.18,
> plus assorted Alpha specific patches.  You can find all this material
> in ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/
> (for those not in USofA substitute "us" above with your country code).
> Virtual memory handling changes are incorporated now in 2.2.19pre
> kernels and they will show up eventually in 2.2.19 when it will be
> released.  It would be quite important if you could re-run your
> timings but using the latests 2.2.19pre and compare results.
> I think that Andrea is watching this list but just in case send what
> you will get also to andrea@suse.de.  He may have some insightful
> comments and advice how to tune your machine via /proc interface.
>
>   Michal
>

Would those patches not have been included in the latest 2.4.0 kernel?

Thanks for your input!

-Daniel





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 17:36     ` Michal Jaegermann
  2001-01-15 17:51       ` T. Daniel Crawford
@ 2001-01-15 17:53       ` Uncle George
  1 sibling, 0 replies; 20+ messages in thread
From: Uncle George @ 2001-01-15 17:53 UTC (permalink / raw)
  To: axp-list

its interesting u dont mention 2.4.x . Are they not upgraded ?
/gat

Michal Jaegermann wrote:
> 
> >
> 
> There is a number of virtual memory fixes for 2.2.17 and 2.2.18,
>




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 17:51       ` T. Daniel Crawford
@ 2001-01-15 18:06         ` Michal Jaegermann
  2001-01-15 18:11           ` T. Daniel Crawford
  2001-01-15 18:18           ` Peter Rival
  0 siblings, 2 replies; 20+ messages in thread
From: Michal Jaegermann @ 2001-01-15 18:06 UTC (permalink / raw)
  To: axp-list

On Mon, Jan 15, 2001 at 12:51:04PM -0500, T. Daniel Crawford wrote:
> 
> Sorry about that.  I remembered to indicate that my Linux kernels were
> 2.2.17 and 2.4.0, but I did not indicate the type of Tru64 system.
> 
> Tru64: OSF1 hellmann V4.0 1229 alpha
> AL1: Linux altair  2.2.17-4 #1 Mon Oct 23 15:19:13 EDT 2000 alpha
                       ^^^^^
       This would be, probaly, a kernel from a Red Hat distribution
which differs, quite drastically in places, from an "official" 2.2.17.
Right?

> AL2: Linux arrakis 2.4.0 #7 Tue Jan 9 17:52:20 EST 2001
> 
> > There is a number of virtual memory fixes for 2.2.17 and 2.2.18,
....
> 
> Would those patches not have been included in the latest 2.4.0 kernel?

Nope!  In some aspects development of 2.2.x kernels is ahead of those
from 2.4 series.  Linus is pretty conservative in what he accepts.
Virtual memory system was redesigned quite substantially between 2.2
and 2.4 kernels and things do not translate directly in this area.
Various things will be carried over, eventually, from 2.2 to 2.4 -
especially in drivers - but not now.

OTOH a similar VM behaviour you observe with 2.2 and 2.4 kernels,
despite different virtual memory systems, may indicate that something
deeper is going on here.  In that light numbers with VM patches, or from
the latest 2.2.19pre, could be even more telling.  It is really hard
to guess what will happen without measurements.

  Michal




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 18:06         ` Michal Jaegermann
@ 2001-01-15 18:11           ` T. Daniel Crawford
  2001-01-15 18:18           ` Peter Rival
  1 sibling, 0 replies; 20+ messages in thread
From: T. Daniel Crawford @ 2001-01-15 18:11 UTC (permalink / raw)
  To: axp-list

On Mon, 15 Jan 2001, Michal Jaegermann wrote:

> On Mon, Jan 15, 2001 at 12:51:04PM -0500, T. Daniel Crawford wrote:
> >
> > Sorry about that.  I remembered to indicate that my Linux kernels were
> > 2.2.17 and 2.4.0, but I did not indicate the type of Tru64 system.
> >
> > Tru64: OSF1 hellmann V4.0 1229 alpha
> > AL1: Linux altair  2.2.17-4 #1 Mon Oct 23 15:19:13 EDT 2000 alpha
>                        ^^^^^
>        This would be, probaly, a kernel from a Red Hat distribution
> which differs, quite drastically in places, from an "official" 2.2.17.
> Right?

This is the RH7.0 default kernel.  I didn't worry about this, though,
because I am guily of assuming that the 2.4.0 kernel held the current
version of the Linux "truth".  This is apparently not the case, so I'll
grab the 2.2.19pre7 kernel at kernel.org and give it a shot.

-Daniel

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 18:06         ` Michal Jaegermann
  2001-01-15 18:11           ` T. Daniel Crawford
@ 2001-01-15 18:18           ` Peter Rival
  2001-01-15 18:22             ` T. Daniel Crawford
  1 sibling, 1 reply; 20+ messages in thread
From: Peter Rival @ 2001-01-15 18:18 UTC (permalink / raw)
  To: axp-list

Michal Jaegermann wrote:

> On Mon, Jan 15, 2001 at 12:51:04PM -0500, T. Daniel Crawford wrote:

<snip>

> OTOH a similar VM behaviour you observe with 2.2 and 2.4 kernels,
> despite different virtual memory systems, may indicate that something
> deeper is going on here.  In that light numbers with VM patches, or from
> the latest 2.2.19pre, could be even more telling.  It is really hard
> to guess what will happen without measurements.

Hey, anything is possible.  What I'm wondering about now is the lack of page
coloring and if that's causing problems.  I know there are patches out there
from both Dave Miller and Joe Martin for page coloring, but I don't think
either of them is in the current kernel.  If you're up for an adventure...
:)

What are the chances that I could get a copy of the codes you're working
on?  I've got some internal tools that aren't quite available outside Compaq
yet that might find something Iprobe doesn't.  This was on an XP1000 with 2
GB of memory, right?  Hrmm...XP1000 has what, 2 MB or 4 MB of cache?  (Just
trying to map it to a system I have access to.)

 - Pete




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 18:18           ` Peter Rival
@ 2001-01-15 18:22             ` T. Daniel Crawford
  2001-01-18  1:01               ` Peter Rival
  0 siblings, 1 reply; 20+ messages in thread
From: T. Daniel Crawford @ 2001-01-15 18:22 UTC (permalink / raw)
  To: axp-list

On Mon, 15 Jan 2001, Peter Rival wrote:
>
> Hey, anything is possible.  What I'm wondering about now is the lack of page
> coloring and if that's causing problems.  I know there are patches out there
> from both Dave Miller and Joe Martin for page coloring, but I don't think
> either of them is in the current kernel.  If you're up for an adventure...
>:)
>
> What are the chances that I could get a copy of the codes you're working
> on?  I've got some internal tools that aren't quite available outside Compaq
> yet that might find something Iprobe doesn't.  This was on an XP1000 with 2
> GB of memory, right?  Hrmm...XP1000 has what, 2 MB or 4 MB of cache?  (Just
> trying to map it to a system I have access to.)
>

I'm up for adventure --- within limits. :)

I can either get you a copy of the codes (depending on how much adventure
YOU'RE up for) or I can get you access to my systems.  My XP1000 has 2 GB
of main memory as you noted and 4 MB of L2 cache.

I love to try to track down these problems in a more systematic manner, if
possible, so any help you can provide is most appreciated.

-Daniel




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 16:00   ` T. Daniel Crawford
  2001-01-15 17:36     ` Michal Jaegermann
@ 2001-01-15 22:13     ` W Bauske
  2001-01-22 22:37     ` RH 7.0 install on XP1000's Todd Henderson
  2 siblings, 0 replies; 20+ messages in thread
From: W Bauske @ 2001-01-15 22:13 UTC (permalink / raw)
  To: axp-list

"T. Daniel Crawford" wrote:
> 
> 
> If anyone has any additional thoughts or experience in this arena, I would
> be most appreciative of your advice.
> 

Externalize the temporary memory array to allow the application to 
allocate it and save/destroy it as needed. Other high performance 
libraries I've used do this. That way it's the app-writer's problem 
to figure out whether to malloc() it on each call or malloc() it 
once and use it repeatedly. Just need to document how much memory
is required based on the input sizes.


Wes




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: gprof and iprobe
  2001-01-15 18:22             ` T. Daniel Crawford
@ 2001-01-18  1:01               ` Peter Rival
  0 siblings, 0 replies; 20+ messages in thread
From: Peter Rival @ 2001-01-18  1:01 UTC (permalink / raw)
  To: axp-list

"T. Daniel Crawford" wrote:
> 
> On Mon, 15 Jan 2001, Peter Rival wrote:
> >
> > Hey, anything is possible.  What I'm wondering about now is the lack of page
> > coloring and if that's causing problems.  I know there are patches out there
> > from both Dave Miller and Joe Martin for page coloring, but I don't think
> > either of them is in the current kernel.  If you're up for an adventure...
> >:)
> >
> > What are the chances that I could get a copy of the codes you're working
> > on?  I've got some internal tools that aren't quite available outside Compaq
> > yet that might find something Iprobe doesn't.  This was on an XP1000 with 2
> > GB of memory, right?  Hrmm...XP1000 has what, 2 MB or 4 MB of cache?  (Just
> > trying to map it to a system I have access to.)
> >
> 
> I'm up for adventure --- within limits. :)
> 
> I can either get you a copy of the codes (depending on how much adventure
> YOU'RE up for) or I can get you access to my systems.  My XP1000 has 2 GB
> of main memory as you noted and 4 MB of L2 cache.

It would probably be best if you sent me a copy of the codes - some of
the tools I have aren't approved for public consumption yet. ;)  All I
need to know is how to build them (preferably as painlessly as possible
:).

> I love to try to track down these problems in a more systematic manner, if
> possible, so any help you can provide is most appreciated.

Well, if just plain smarts (?) ;) and these tools don't help us figure
it out, we'll be in a bit of trouble.  First things first, we'll see
what they show us, and then I'll look into getting the page coloring
patches updated if they look to be promising.  Sound good?

 - Pete




^ permalink raw reply	[flat|nested] 20+ messages in thread

* RH 7.0 install on XP1000's
  2001-01-15 16:00   ` T. Daniel Crawford
  2001-01-15 17:36     ` Michal Jaegermann
  2001-01-15 22:13     ` W Bauske
@ 2001-01-22 22:37     ` Todd Henderson
  2 siblings, 0 replies; 20+ messages in thread
From: Todd Henderson @ 2001-01-22 22:37 UTC (permalink / raw)
  To: axp-list

I've just downloaded the 2 CD's for the RH 7.0 and was starting the
installation over 6.0 and went looking for Compaq's installation guide.
However, all I could find was a guide for 6.2.  Are they close enough to not
matter, or is there a version floating around for 7.0?

Also, from what I remember, CD's created on a MS Win system could not be booted
from and you had to create two floppies to get the install going, is that still
the case?

Thanks,
Todd




^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2001-01-22 22:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-10 19:52 gprof and iprobe T. Daniel Crawford
2001-01-10 20:43 ` W Bauske
2001-01-10 21:53   ` T. Daniel Crawford
2001-01-10 23:17     ` Michal Jaegermann
2001-01-10 23:48       ` T. Daniel Crawford
2001-01-11  1:15         ` Michal Jaegermann
2001-01-11  6:29     ` W Bauske
2001-01-10 21:51 ` Jeff Sturm
2001-01-11 11:20 ` Rolf Neugebauer
2001-01-15 16:00   ` T. Daniel Crawford
2001-01-15 17:36     ` Michal Jaegermann
2001-01-15 17:51       ` T. Daniel Crawford
2001-01-15 18:06         ` Michal Jaegermann
2001-01-15 18:11           ` T. Daniel Crawford
2001-01-15 18:18           ` Peter Rival
2001-01-15 18:22             ` T. Daniel Crawford
2001-01-18  1:01               ` Peter Rival
2001-01-15 17:53       ` Uncle George
2001-01-15 22:13     ` W Bauske
2001-01-22 22:37     ` RH 7.0 install on XP1000's Todd Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox