In article <slrnkvi0dl.2...@frailea.sa.invalid>,
Jorgen Grahn <
grahn...@snipabacken.se> wrote:
> On Wed, 2013-07-31, Richard Kettlewell wrote:
> > Jaydeep Chovatia <
chovatia...@gmail.com> writes:
> >> I am working on a C++ Linux project. In this project I see some memory
> >> leaks under heavy load run only, if i execute functionality
> >> manually(w/o load) then i do not see any leakages.
> >>
> >> It looks like under load it executes some different code path which is
> >> not covered under functional testing (without load). I cannot run
> >> under valgrind as this problem occurs under load only.
> >
> > I'm not convinced that last statement necessarily follows...
>
> True: in a sense it becomes easier to trigger some "high load"
> problems when you have valgrind slowing everything down.
But if the problem only occurs after it has performed N transactions
(for large N), and the slowdown means that will take days, weeks, or
months.... There could be a feedback effect: if the users avoid using
the service because it's slowed down, that will also increase the time
to reach N. But it could also oscillate: when enough users avoid using
it, it will speed up for the rest, who tell them "try it again, they've
fixed the performance problem".
--
Barry Margolin,
bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***