in reply to Re: Profiling a forking program
in thread Profiling a forking program
It's a web-based frontend to a DBM database. Thus, concurrent write access demands a single process locks the DBM file, and gives up it's lock after.
While the locking is working, performance of the software for multiple users is many many times worse than one would expect, given performance when there is no contention is excellent.
I suspect there may be some sort of lock thrashing or similar. I need to profile this main part of the program to determine what's going on.
The profilers I've seen all want to write to a single file, which is useless for the forked program, since it will be stomped by subsequent invocations.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Profiling a forking program
by robartes (Priest) on Oct 15, 2002 at 12:00 UTC | |
|
Re: Re: Re: Profiling a forking program
by kal (Hermit) on Oct 15, 2002 at 18:17 UTC | |
by Tardis (Pilgrim) on Oct 15, 2002 at 22:39 UTC | |
|
Re: Re: Re: Profiling a forking program
by graff (Chancellor) on Oct 17, 2002 at 05:29 UTC | |
by Aristotle (Chancellor) on Oct 17, 2002 at 13:31 UTC |