![]()
From: Peter C. McCluskey (pcm@rahul.net)
Date: Tue Jun 17 2003 - 17:59:48 CDT
Xueting.Kuang@Sun.COM (Xueting Kuang) writes:
>
>I'm using the same version of hypermail to archive my mails.
>On one system, it takes 7 hours while on another it
>takes about 10 minutes for the same mailbox file, hypermail
>configure files are the same.
>
>It used to run fast on both systems until something is changed.
>Where should I check?
One simple thing to check would be whether the slower machine has less
available memory, and the program is spending a lot of time swapping.
For example, you can use the "top" command and look at hypermail's size
and %mem while it is running.
If that doesn't explain the difference, it will probably be hard to
figure out. You could try looking at the file creation dates to determine
whether the slowdown is spread evenly between each file creation or whether
creating one particular file is slower. Or you might try doing a "man gprof"
for info about how to profile the execution times of a C program.
--
------------------------------------------------------------------------------
Peter McCluskey | "To announce that there must be no criticism of
http://www.rahul.net/pcm | the President, or that we are to stand by the
| President right or wrong, is not only unpatriotic
| and servile, but morally treasonable to the
| American public." - Theodore Roosevelt
![]()