"Fargusson.Alan" <[EMAIL PROTECTED]> wrote:
>
> What would you do to improve Jims program?
Some versions of gcc don't do well with locality-of-reference
for functions that reference many "literals." There is a global
pool of literals which can be "far away." This approach could
easily artificially inflate the working set size.
This could be one reason why people have discovered Systems/C
has better performance than gcc... (Systems/C keeps literals
within 4K of the reference, so they are likely to already
be paged in...)
So - one simple alternative may be to recompile the program with
a different compiler.
- Dave Rivers -
--
[EMAIL PROTECTED] Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
>
> -----Original Message-----
> From: Peter Vander Woude [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 11, 2003 1:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: zSeries performance heavily dependent on working set size
>
>
> Rod,
>
> I agree with you that the best solution to the issue of an actual
> application that is doing this type of programming would be to correct
> the program. While throwing hardware may seem "easier", I'm always
> amazed by programmers reactions when I do point out that by making
> "minor" changes to a program, they can achieve big performance
> improvements (both in cpu and elapsed time).
>
>
>
> Peter I. Vander Woude
>
> Sr. Mainframe Engineer
> Harris Teeter, Inc.